Chp 3: Maintaining Filesystem Health - VII Flashcards
What exactly can confuse fsck and possibly cause filesystem corruption? pg. 158
changes written to disk during normal read/write operations
What enables the Linux system to boot without delay as long as the system was originally shut down properly? pg. 158
e2fsck
e2fsck forces a check if the system has gone without a check in __ months or if the filesystem has been mounted more than __ times since the last check. pg. 158
6 months and 20 times
The tools to help you monitor disk use are __ to summarize disk use on a partition-by-partition basis and __ summarizes directory-by-directory. pg. 158
df / partition and du / directory
Which df options allow df to scale and label its units? pg. 159
-h or –human-readable
The df -i or –inodes provides a report on available and used inodes, but what other filesystems create inodes dynamically so df -i or –inodes is unnecessary? pg. 159
ReiserFS and Btrfs
Y or N The du counts files that appear multiple times as hard links. pg. 160
Yes
What option is equivalent to –max=depth=0 ? pg. 161
-s or –summarize option which limits the report to list only files and directories that you specify.
Which is the correct command to use to unmount a filesystem- unmount or umount? pg. 162
umount
Define Mount by Label or UUID. pg. 162
Rather than using a device name, you can use the -L label or -U uuid options to tell mount to mount the filestystem with specified label or UUID..
What are the two special parameters used usually to add filesystem-specific options? pg. 163
-0 or /etc/fstab
What’s an unmount option that can be helpful to unmount an NFS mount shared by servers that have become unreachable? pg. 166
-f
T or F You must ALWAYS issue a umount command before ejecting a mounted disk. pg. 166
True
What file controls how Linux provides access to disk partitions and removable media devices? pg. 167
/etc/fstab
Mount points = empty directories are created for user-mountable media. What subdirectories do removable media usually mount? pg. 169
/mnt or /media