File Systems & Storage Management Flashcards
7 cards from real LCA practice questions. Tap to flip, then mark Knew It or Still Learning — missed cards come back until you master them.
Read the first 7 File Systems & Storage Management flashcards as text
Which command displays the UUID of a block device?
Answer: blkid
blkid queries block device attributes including UUID, filesystem type, and label.
What does the 'noatime' mount option do?
Answer: Disables access time updates on reads
noatime prevents updating the atime (access time) inode field on every read, reducing disk writes.
Which LVM command extends a logical volume AND resizes its ext4 filesystem in one step?
Answer: lvextend -r -L +10G /dev/vg0/lv0
lvextend -r (--resizefs) calls resize2fs automatically after extending the LV.
In /etc/fstab, what does the fifth field (fs_freq) control?
Answer: Whether dump backs up the filesystem
The fifth field is used by the dump utility to determine which filesystems need to be backed up.
Which RAID level provides striping with double distributed parity, tolerating up to two simultaneous disk failures?
Answer: RAID 6
RAID 6 uses two independent parity blocks distributed across all drives, surviving two disk failures.
What is the purpose of the 'tune2fs -c 20 /dev/sdb1' command?
Answer: Set maximum mount count before fsck is forced to 20
tune2fs -c sets the maximum number of mounts before an automatic filesystem check is triggered.
Which filesystem type is specifically designed for flash/SSD storage without a journal to minimize write amplification?
Answer: F2FS
F2FS (Flash-Friendly File System) is designed by Samsung for NAND flash storage, optimizing write patterns for SSDs.