Chp 3: Maintaining Filesystem Health - VII Flashcards

1
Q

What exactly can confuse fsck and possibly cause filesystem corruption? pg. 158

A

changes written to disk during normal read/write operations

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What enables the Linux system to boot without delay as long as the system was originally shut down properly? pg. 158

A

e2fsck

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

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

A

6 months and 20 times

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

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

A

df / partition and du / directory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Which df options allow df to scale and label its units? pg. 159

A

-h or –human-readable

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

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

A

ReiserFS and Btrfs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Y or N The du counts files that appear multiple times as hard links. pg. 160

A

Yes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What option is equivalent to –max=depth=0 ? pg. 161

A

-s or –summarize option which limits the report to list only files and directories that you specify.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Which is the correct command to use to unmount a filesystem- unmount or umount? pg. 162

A

umount

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Define Mount by Label or UUID. pg. 162

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What are the two special parameters used usually to add filesystem-specific options? pg. 163

A

-0 or /etc/fstab

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What’s an unmount option that can be helpful to unmount an NFS mount shared by servers that have become unreachable? pg. 166

A

-f

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

T or F You must ALWAYS issue a umount command before ejecting a mounted disk. pg. 166

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What file controls how Linux provides access to disk partitions and removable media devices? pg. 167

A

/etc/fstab

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Mount points = empty directories are created for user-mountable media. What subdirectories do removable media usually mount? pg. 169

A

/mnt or /media

How well did you know this?
1
Not at all
2
3
4
5
Perfectly