CH5 Review Questions

¡Supera tus tareas y exámenes ahora con Quizwiz!

Given the following output from /etc/fstab, which filesystems will be automatically checked on boot by the fsck command?

2. /, /dev/pts and /dev/shm

What does the command dumpe2fs -h do?

2. displays the number of inodes used and available in an ext2 filesystem

A device file _______________________. (Choose all that apply.)

2. has no data section 4. displays a major and minor number in place of a file size

Which command mounts all existing filesystems in /etc/fstab?

2. mount -a

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 this user do?

3. Unmount the device from the directory.

A user runs the fsck command with the -a option on a filesystem that is showing signs of corruption. How would that user locate any files the system was unable to repair?

3. Mount the filesystem and check the lost+found directory underneath the mount point.

The first floppy drive on the system is not responding. You enter the file /dev/fd0 command and receive the following output. What is the problem?

3. The device file has become corrupt.

Which of the following statements are true? (Choose all that apply.)

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

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

3. Unmount the filesystem.

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? (Choose all that apply.)

3. Use the fdisk command to create one or more partitions on each of the hard disk drives. 5. Mount any partitions created on the two hard drives such that they are accessible by the operating system. 6. Format any partitions created with a valid filesystem recognized by Linux.

Which of the following statements regarding LVM structure is correct?

3. VGs are comprised of one or more PVs

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

3. cat /etc/mtab

Which command is used to format a partition on a hard disk drive with the ext4 filesystem?

3. e2mkfs -t ext4 device

You plug a USB flash memory drive into a system that has two SATA hard disks. What will the partition on this USB flash memory drive be recognized as to the Linux system?

4. /dev/sdc1

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

4. df

What does the du /var command do?

4. displays the amount of free space in the /var directory

Which of the following commands can be used to create partitions on either a MBR or GPT hard disk?

4. parted

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. True or False?

False

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

False

The lvextend command can be used to add additional unused space within a volume group to an existing logical volume. True or False?

True


Conjuntos de estudio relacionados

Business Management Final Exam Study Guide

View Set

MIS Chapter 2, MIS Chapter 4, MIS Chapter 6, MIS Chapter 8

View Set

ESL Supplemental Practice Test 2

View Set

Chapter 12 and 13 - Benefit Process and Options

View Set

Professional Responsibility-SULC- Exam 4

View Set

Microbiology Chapter 5, Microbiology Chapter 6/7

View Set

Chapter 17 Financial Statement Analysis

View Set