Linux Chapter 5 - Linux Filesystem Administration

Ace your homework & exams now with Quizwiz!

State 3 facts about quotas and limits:

- Quotas can limit both user space and the number of files a user can own. - Hard limits can never be exceeded. - Soft limits allow a user to exceed them for a certain period of time.

Given the following output from /etc/fstab, which filesystem will be automatically checked on boot by the fsck cmd? [BEGIN CODE] LABEL=/ / ext3 defaults 1 1 none /dev/pts devpts gid=5,mode=6201 0 none /proc proc defaults 0 1 none / dev/shm tmpfs defaults 1 0 /dev/hdc2 swap swap defaults 0 1 /dev/cdrom /mnt/cdrom iso9660 noauto,owner 0 0 /dev/fd0 /mnt/floppy auto noauto, owner 0 0 [END CODE]

/, /dev/pts and /dev/shm

You plug a USB flash drive into a system that has two SATA hard disks. How will the partition on this USB flash memory drive by identified by Linux?

/dev/sdc1

Jim has just purchased two new SCSI hard disk drives and a controller card for them. He properly installs the hardware in his machine. Before he can use them for data storage and retrieval, what must he do?

1. Use the fdisk cmd to create one or more partions on each of the hard disk drives. 2. Mount any partitions created on the two hard drives so that they are accessible by the OS 3. Format any partitions created with a valid filesystem recognized by Linux.

What does the cmd dumpe2fs -h do?

Displays the number of inodes used and available in an ext2 filesystem

True or False: After a partition on a hard disk drive is formatted with a filesystem, all partitions on that hard disk drive must use the same filesystem

False

True or False: Character devices typically transfer data more quickly than block devices.

False

A device file _______________________.

Has no data section Displays a major and minor number in place of file size

What does the du/var cmd do?

Shows the sizes of all directories within the /var directory

The first floppy drive on the system is not responding. You enter the file/dev/fd0 cmd and receive the following output. What is the problem? [root@server1 root] # file/dev/fd0 /dev/fd0: ASCII text [root@server1 root] #

The device file has become corrupt

A user mounts a device to a mount point directory and realizes afterward there are files previously found within the mount point directory that are needed. What should the user do?

Unmount the device from the directory

You find that a device file in the /dev directory has become corrupted. You know that this device is /dev/tty3 and that it is a character device file. What should you do?

Use the /dev/MAKEDEV cmd to re-recreate the file

Which of the following statements regarding LVM structure are correct?

VG's are composed of one or more PV's

You want to see the filesystems that are presently in use on the system. What cmd could you use?

cat/etc/mtab

Which cmd is used to display the amount of free space that exists on a filesystem?

df (disk free)

What must you do to successfully run the fsck cmd on a filesystem?

unmount the filesystem


Related study sets

Ch. 12 Southeast Asians and Pacific Islanders

View Set

7th Grade World History| 11.01: Romantic Art in an Age of Revolution

View Set

Chapter 38: Assessment: Gastrointestinal System

View Set

Nursing Informatics midterm Chap 1

View Set

Chapter 31 Patients with Hypertension, MedSurg Chapter 31, Patho Test 1 - ATI questions

View Set

MRKT 3011 ch 1, 2, 3, & 4 quizzes

View Set

Aging and the Family: Final Exam

View Set