This phase checks the free-block and used-inode maps. It reports error conditions resulting from:
Allocated inodes missing from used-inode maps
Free blocks missing from free-block maps
Free inodes in the used-inode maps
Incorrect total free-block count
Incorrect total used inode count
The possible error messages displayed in this phase are referenced below.
BLK(S) MISSING IN BIT MAPS (SALVAGE)
CG character-for-command-option: BAD MAGIC NUMBER
SUMMARY INFORMATION BAD (SALVAGE)
number-of files, number-of-files used, number-of-files free (number-of frags, number-of blocks, percent fragmentation)
***** FILE SYSTEM WAS MODIFIED *****
filename FILE SYSTEM STATE SET TO OKAY
filename FILE SYSTEM STATE NOT SET TO OKAY
BLK(S) MISSING IN BIT MAPS (SALVAGE) |
Reason Error Occurred |
How to Solve the Problem |
---|---|
A cylinder group block map is missing some free blocks. During preening, fsck reconstructs the maps. |
To reconstruct the free-block map, type y at the SALVAGE prompt. To ignore this error condition, type n. |
CG character-for-command-option: BAD MAGIC NUMBER |
Reason Error Occurred |
How to Solve the Problem |
---|---|
The magic number of cylinder group character-for-command-option is wrong. This error usually indicates that the cylinder group maps have been destroyed. When running interactively, the cylinder group is marked as needing reconstruction. fsck terminates if the file system is being preened. |
If this occurs, contact your local service provider or another qualified person. |
FREE BLK COUNT(S) WRONG IN SUPERBLK (SALVAGE) |
Reason Error Occurred |
How to Solve the Problem |
---|---|
The actual count of free blocks does not match the count of free blocks in the superblock of the file system. If the -o p option was specified, the free-block count in the superblock is fixed automatically. |
To reconstruct the superblock free-block information, type y at the SALVAGE prompt. To ignore this error condition, type n. |
SUMMARY INFORMATION BAD (SALVAGE) |
Reason Error Occurred |
How to Solve the Problem |
---|---|
The summary information is incorrect. When preening, fsck recomputes the summary information. |
To reconstruct the summary information, type y at the SALVAGE prompt. To ignore this error condition, type n. |