ch5

Pataasin ang iyong marka sa homework at exams ngayon gamit ang Quizwiz!

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

/, /boot, and /home

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

/dev/sdc1

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

df

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

gdisk

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

mkfs.ext4 device

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

mount -a

Which command can be used to repair an XFS filesystem?

xfs_repair /dev/sdb1

Jaime has just installed two new SAS SSDs in his system. 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.)

Create one or more partitions on each of the SSDs. Format any partitions created on the SSDs with a valid filesystem recognized by Linux. Mount any partitions created on the two SSDs such that they are accessible by the operating system.

What does the command df -i do?

Displays the number of used and available inodes on each mounted filesystem.

What does the du -hs /var command do?

Displays the total size of the /var directory.

After a partition on a storage device is formatted with a filesystem, all partitions on that storage device must use the same filesystem.

False

Character devices typically transfer data more quickly than block devices.

False

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

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

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

Unmount the filesystem.

Which of the following statements regarding LVM structure is correct?

VGs are comprised of one or more PVs.

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

cat /etc/fstab df -hT cat /etc/mtab

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?

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

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

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.

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

True

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

Unmount the device from the directory.


Kaugnay na mga set ng pag-aaral

ILTS Physical Education Content Exam (144)

View Set

CHAPTER 15 DISTRIBUTION DECISIONS

View Set

chapter 9 heath insurance basics

View Set

AP Psychology Chapter 1 Thinking Critically With Psychological Science

View Set