Ch 5 linux hw

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?/dev/sda1 / ext4 defaults 1 1none /dev/pts devpts gid=5,mode=620 1 0none /proc proc defaults 0 1none /dev/shm tmpfs defaults 1 0/dev/sdc2 swap swap defaults 0 1/dev/dvd /media/dvd iso9660 noauto,ro 0 0

/, /proc, and swap

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?

/dev/sdc1

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

True

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

Unmount the filesystem.

Which command can be used to repair an XFS filesystem?

xfs_repair /dev/sdb1

Jim 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.

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?

False

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

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

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.

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?

Unmount the device from the directory.

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.) ls /sys/block

cat /etc/mtab df -T

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

df

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

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

What does the command dumpe2fs -h do?

displays the number of used and available inodes for an ext2/ext3/ext4 filesystem

What does the du -s /var command do?

displays the total size of the /var directory

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

e2mkfs -t ext4 device

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

gdisk

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

mount -a


Kaugnay na mga set ng pag-aaral

Cumulative Exam English 12 part B (68%)

View Set

NR 302 Chapter 17 - Cardiovascular System

View Set

Joints and Synovial Joint Movements: Exercise 11

View Set

Chapter 23: Caring for the Child With a Respiratory Condition

View Set