Sun Certified Solaris(tm) 9 System and Network Administrator All-in-One Exam Guide

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.

Questions

1.  

Which file specifies the default file system type?

  1. /etc/defaultfs

  2. /etc/defaultfstype

  3. /etc/default/fs

  4. /etc/default/fstype

2.  

What does a superblock contain?

  1. The location of inodes, file system size , number of blocks, and status

  2. The location of files in a map

  3. A list of supported file system types

  4. The location of backup blocks, file system size, number of blocks, and status

3.  

What is the df command used for?

  1. Monitoring disk space usage

  2. Adding a disk to the system

  3. Creating default file systems

  4. Recovering deleted files

4.  

What does the du command do?

  1. Checks for duplicate inodes

  2. Checks for duplicate files in the same directory

  3. Prints number of blocks used in each directory

  4. Script for retrieving DNS data using dig (that is, dig up DNS data)

5.  

What operation should never be performed using fsck?

  1. Attempting to work on an unmounted file system

  2. Attempting to work on a mounted file system

  3. Checking UFS file systems

  4. Running fsck as root

6.  

Which of the following does not cause file system inconsistencies?

  1. Switching off a Solaris server without powering down first

  2. Halting a system without synchronizing disk data

  3. Defective hardware, including damage to disk blocks and heads

  4. Copying files between file systems

7.  

What does phase 1 of fsck involve?

  1. Checks blocks and sizes

  2. Pathname verification

  3. Connectivity check

  4. Reference count check

8.  

What does phase 2 of fsck involve?

  1. Checks blocks and sizes

  2. Pathname verification

  3. Connectivity check

  4. Reference count check

9.  

What does phase 3 of fsck involve?

  1. Checks blocks and sizes

  2. Pathname verification

  3. Connectivity check

  4. Reference count check

10.  

What does phase 4 of fsck involve?

  1. Checks blocks and sizes

  2. Pathname verification

  3. Checking cylinder groups

  4. Reference count check

11.  

What does phase 5 of fsck involve?

  1. Checks blocks and sizes

  2. Pathname verification

  3. Checking cylinder groups

  4. Reference count check

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.

 
 
   

Категории