Open System Services Management and Operations Guide (G06.29+, H06.07+)
Managing Filesets
Open System Services Management and Operations Guide—527191-005
5-32
Inconsistencies Checked by FSCK
Missing ZYQ
file
Minor The ZYQ file corresponding to a regular inode does not exist.
Because this inconsistency is usually the result of a failure
during file creation or during the removal of the last link to a
file, the inode and any links to it are deleted.
Wrong fileset
type
Serious The root fileset on a system is unique in that it contains special
files not required in other filesets (such as /E and /G).
Normally the root fileset is assigned fileset identifier (device
number) 0 and its catalog resides in a subvolume named
ZX000000. Recorded in the first record (superblock) of the
PXINODE catalog is the fileset type (root or nonroot).
If the catalog subvolume is ZX000000, FSCK assumes that it
is operating with a root fileset. When dealing with a root fileset,
FSCK makes additional checks regarding the existence and
integrity of special files (/E, /G, /dev, /dev/tty, and
/dev/null).
If the subvolume name or the keyword indicates a root fileset
but the catalog indicates otherwise, FSCK reports numerous
inconsistencies and converts the catalog into a root catalog.
If the subvolume name is other than ZX000000 but the
superblock indicates that it corresponds to a root fileset, FSCK
issues a warning message and does not perform those checks
or repairs that are unique to root filesets.
Invalid inode
number
Serious
or
minor
A record in the PXINODE file has an inode number that is one
of the following cases:
•
Less than or equal to 0 (zero)
•
Greater than or equal to 2
31
•
In the reserved inode range 8 through 31
If the inode number is <=0 or >= 2
31
, the inode is discarded
along with any links to the inode. These cases are serious
inconsistencies.
If the inode number is in the reserved inode range, the inode is
relocated to a currently unused inode number and the PXLINK
records for the inode are adjusted accordingly. If the inode
represents a regular file, the ZYQ file is renamed to reflect the
new inode number. This case is a minor inconsistency.
If FSCK fails after renaming a ZYQ file but before the new
catalog is completely created, then the next time FSCK is run
against the old catalog, the ZYQ file is restored to its original
name and the PXINODE file is updated to reflect the new
CRVSN of the file.
Table 5-2. Inconsistencies Checked by FSCK (page4of4)
Inconsistency Type Explanation