Open System Services Management and Operations Guide (G06.29+, H06.07+)
Managing Filesets
Open System Services Management and Operations Guide—527191-005
5-31
Inconsistencies Checked by FSCK
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-29.
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.
Orphan ZYQ
file (continued)
If the number of links is zero and the file is not currently open,
FSCK purges the file. If the link count is nonzero, FSCK does
the following:
1. An inode is allocated for the file.
2. The disk process copy of the link count is set to one.
3. The file is placed in /lost+found under a synthesized
OSS filename.
FSCK attempts to use the inode whose number is encoded in
the name of the ZYQ file. If that inode is unavailable, FSCK
allocates an unused inode and renames the ZYQ file so that its
name reflects this new inode number. If the ZYQ file cannot be
renamed, a warning is issued and the new inode is not added.
Corrupt record Serious Records containing undefined record types or with record
lengths inappropriate for the type of record are deleted. This
applies to records in both the PXLINK and PXINODE files.
Bad parent list Serious Each inode contains a list of its parent inode numbers. A
parent list is missing inode numbers or contains incorrect
inode numbers.
Any errors in the list are corrected so that the parent list
accurately reflects the actual links to the inode.
Table 5-2. Inconsistencies Checked by FSCK (page3of4)
Inconsistency Type Explanation