Lesson 5

Réussis tes devoirs et examens dès maintenant avec Quizwiz!

NOT displays a major and minor number in place of a file size

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

NOT all of them, as fsck is run automatically at boot for all filesystems

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

Unmount the device from the directory.

A user mounts a device to a mount point directory and realizes afterward she needs files previously found within the mount point directory. What should this user do?

NOT View the contents of the directory /lost+found.

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

False

After a partition on a hard disk 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?

True

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

NOT dumps an ext2 filesystem

What does the command dumpe2fs -h do?

displays the total size of the /var directory

What does the du -s /var command do?

Unmount the filesystem.

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

NOT fsck -t xfs /dev/sdb1

Which command can be used to repair an XFS filesystem?

df

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

e2mkfs -t ext4 device

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

mount -a

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

gdisk

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

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.

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

VGs are comprised of one or more PVs

Which of the following statements regarding LVM structure is correct?

NOT /dev/sdb1

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

df -T cat /etc/mtab

You want to see the filesystems that are in use on the system. What command could you use? (Choose all that apply.)


Ensembles d'études connexes

IFM Final Exam - Terms & Concepts

View Set

PN Pediatric Dehydration Case Study Test

View Set

Python Summary Test 2 (Chapter 4-5)

View Set

Jonathan Edwards's "Sinners in the Hands of an Angry God"

View Set

Chapter 6 - Taxable Income from Business Operations

View Set

PrepU: Chapter 27 - Fundamentals

View Set

Imperialism in Africa, Imperialism in Asia, Unit 4: Imperialism

View Set