Module 5 Flashcards
What is the most common cause for a disk failure?
- Bugs in the disk controller module
- Poor manufacturing process
- Improper shutdown
- Not running defrag tool
Improper shutdown
Reorder the steps to install a new disk drive on a Linux workstation.
- Install a device driver if not present
- Mount the device
- Create a partition
- Install a filesystem
- Attach a physical device
- Create a mount point if it doesn’t exist
5, 1, 3, 6, 2, 4
Which statement describes a device file? (Select three)
- mknod command will create it
- Does not have an associated data block
- Exists under /boot directory
- A file through which OS can read/write to the device through a device driver
mknod command will create it
Does not have an associated data block
A file through which OS can read/write to the device through a device driver
You can mount/unmount a device even if a user process is using the mount point.
True
False
False
Which statements are true regarding the output below? (Select two)
sda2 is a block device
sda2 uses a device file identified by the major number 8
How do you find out which filesystem the root partition uses? (Select two)
- df -T
- ls -l /
- cat /etc/fstab
- fstype
df -T
cat /etc/fstab
Which one is NOT a component of LVM?
- Physical Volume
- Group Volume
- Volume Group
- Logical Volume
Group Volume
What will fsck do if it cannot repair the bad blocks? (Select two)
- Delete them
- Flag them
- Move them to “lost+Found” directory under the root directory
- Move them to “lost+Found” directory under the mount point
Flag them
Move them to “lost+Found” directory under the mount point
Find the match.
- sdc1
- sda1
- sdc2
- sdb2
sdc1 1st primary partition on the 3rd SATA SSD:
sda1 1st primary partition on the 1st SATA SSD:
sdc2 2nd primary partition on the 3rd SATA SSD:
sdb2 2nd primary partition on the 2nd SATA SSD:
Standard partition can be extended only if an unallocated partition exists after it in contiguous manner.
True
False
True
Which command can be used to repair an XFS filesystem?
- fsck -t xfs /dev/sdb1
- e2fsck /dev/sdb1
- fsck.xfs /dev/sdb1
- xfs_repair /dev/sdb1
xfs_repair /dev/sdb1
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
False
False
Which command mounts all existing filesystems in /etc/fstab?
- mount -f
- mount -a
- mount /etc/fstab
- mount /etc/mtab
mount -a
Which command is used to display the amount of free space that exists on a filesystem?
- fsck
- quota
- du
- df
df
The lvextend command can be used to add unused space within a volume group to an existing logical volume.
True
False
True