In this chapter, we examined methods for file system management and usage monitoring. In addition, we examined how to set up and configure UFS file systems which are standard for all Solaris releases.
1. |
Which file specifies the default file system type?
|
|
2. |
What does a superblock contain?
|
|
3. |
What is the df command used for?
|
|
4. |
What does the du command do?
|
|
5. |
What operation should never be performed using fsck?
|
|
6. |
Which of the following does not cause file system inconsistencies?
|
|
7. |
What does phase 1 of fsck involve?
|
|
8. |
What does phase 2 of fsck involve?
|
|
9. |
What does phase 3 of fsck involve?
|
|
10. |
What does phase 4 of fsck involve?
|
|
11. |
What does phase 5 of fsck involve?
|
|
Answers
1. |
C. The file system default is stored in /etc/default/fs. |
2. |
A. The superblock stores the location of inodes, file system size, number of blocks, and status. |
3. |
A. The df command monitors "disk free" space. |
4. |
C. The du command displays a list of blocks used in directories. |
5. |
B. Because fsck repairs file systems, it should never be used on a mounted file system. |
6. |
D. Copying files does not normally cause corruption. |
7. |
A. Phase 1 checks blocks and sizes. |
8. |
B. Phase 2 verifies pathnames. |
9. |
C. Phase 3 checks connectivity. |
10. |
D. Phase 4 performs a reference count check. |
11. |
C. Phase 5 checks cylinder groups. |