fsck_s5 Phase 5: check free List
This phase checks the free-block list.
It reports error conditions resulting from:
-
bad blocks in the free-block list
-
a bad free-block count
-
duplicate blocks in the free-block list
-
unused blocks from the filesystem
that are not in the free-block list
-
an incorrect total free-block count
Types of error messages - fsck_s5 Phase 5
Phase 5 has four types of error messages:
-
Informational messages.
-
Messages that have a
CONTINUE?
prompt, which can be responded to as follows:
n (no)-
Terminate the program.
y (yes)-
Ignore the rest of the free-block list and continue
the execution of
fsck.
This generates the
BAD BLKS IN FREE LIST
error message later in Phase 5.
-
Messages that have a
FIX?
prompt, which can be responded to as follows:
n (no)-
Ignore the error condition.
This response is appropriate only if the user intends
to take other measures to fix the problem.
y (yes)-
Replace the count in the superblock by the actual count.
-
Messages that have a
SALVAGE?
prompt, which can be responded to as follows:
n (no)-
Ignore the error condition.
This response is appropriate only if the user intends
to take other measures to fix the problem.
y (yes)-
Replace the actual free-block list by a new free-block list.
The new free-block list
will be ordered according to the gap and
cylinder specifications of the
-s
or
-S
option to reduce the time spent waiting for
the disk to rotate into position.
fsck_s5 Phase 5 error messages
EXCESSIVE BAD BLKS IN FREE LIST (CONTINUE?)
-
The free-block list contains
too many blocks with a value less than
the first data block in the filesystem or
greater than the last block in the filesystem.
If the -p option is specified
the program terminates.
EXCESSIVE DUP BLKS IN FREE LIST (CONTINUE?)
-
The free-block list contains
too many blocks
claimed by inodes or earlier parts of the free block list.
If the -p option is specified the program terminates.
BAD FREEBLK COUNT
-
The count of free blocks in a free block list
is greater than 50 or less than 0.
This condition generates the
BAD FREE LIST
message later in Phase 5.
X BAD BLKS IN FREE LIST
-
X
blocks in the free-block list have a block number lower
than the first data block in the filesystem
or greater than the last block in the filesystem.
This condition generates the
BAD FREE LIST
message later in Phase 5.
X DUP BLKS IN FREE LIST
-
X blocks claimed by inodes
or earlier parts of the free block list were
found in the free-block list.
This condition generates the
BAD FREE LIST
message later in Phase 5.
X BLK(S) MISSING
-
X
blocks unused by the filesystem
were not found in the free-block list.
This condition generates the
BAD FREE LIST
message later in Phase 5.
FREE BLK COUNT WRONG IN SUPERBLOCK (FIX?)
-
The actual count of free blocks
does not match the count of free blocks
in the superblock of the filesystem.
If the -p
option was specified,
the free block count in the superblock
is fixed automatically.
BAD FREE LIST (SALVAGE?)
-
This message is always preceded by
one or more of the Phase 5 informational messages.
If the -q or -p option was specified,
the free-block list is salvaged automatically.
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 22 April 2004