Open System Services Management and Operations Guide (G06.25+, H06.03+)

Managing Filesets
Open System Services Management and Operations Guide527191-002
5-29
Inconsistencies Checked by FSCK
Missing inode Serious There are references to an inode but the inode itself does not
exist. FSCK corrects this inconsistency as follows:
If the missing inode is /, /E, /G, /lost+found, or /dev,
it is added as a directory.
If the missing inode is /dev/tty, that special file is
added.
If the missing inode is /dev/null, that special file is
added.
If the missing inode appears as a parent in one or more
PXLINK records, it is added as a directory in the new
PXINODE file.
If there is a nonempty ZYQ file corresponding to the
missing inode and if the disk process link count for that file
is nonzero, the missing inode is added as a regular file
that refers to the ZYQ file.
If none of the above apply, any references to the missing
inode are omitted from the new catalog.
Too many links Serious An inode has more links than are allowed (1 for directories, 20
for other inodes). Those links in excess of the maximum are
omitted from the new PXLINK file.
Loop in
directory graph
Serious If FSCK detects a loop in the directory graph, it breaks the loop
by deleting a PXLINK record in the loop. Such a loop occurs
when an inode is linked through other inodes back to itself; this
means that the directory referred to by the inode number is its
own parent.
Lost inode
number
Minor There is no PXINODE record with this number as the key, but
the inode number does not appear in any free-inode block.
FSCK includes the inode in the appropriate free-inode list in
the new PXINODE file.
Although this is a minor inconsistency, it is also corrected as
part of resetting the mounted flag. For more information, see
Nonzero mounted flag
on page 5-28.
Orphan inode Serious An inode has no links. The inode is given the name
#inode_number and is placed in the fileset’s /lost+found
directory.
Orphan ZYQ
file
Minor There is a ZYQ file for which there is no inode.
If the ZYQ file is empty, FSCK issues a warning message and
purges the file. If the file is nonempty, FSCK obtains the
current number of links for the file from the disk process.
Table 5-2. Inconsistencies Checked by FSCK (page2of4)
Inconsistency Type Explanation