Open System Services Management and Operations Guide (G06.25+, H06.03+)
Managing Filesets
Open System Services Management and Operations Guide—527191-002
5-31
Generated Catalog Files
Generated Catalog Files
The FSCK utility saves a copy of the existing catalog and creates a new one. Each
time that FSCK is run to repair a fileset catalog, a unique four-digit FSCK serial number
(FSN) is assigned for that run.
The FSN is used to encode the names of the saved files as follows:
where nnnn is the FSN.
During the final phase of FSCK, the catalog files are renamed. During this phase,
FSCK might fail or be otherwise stopped when there are no files in the catalog
subvolume with the names PXINODE, PXLINK, or PXLOG. To allow for the orderly
restart of FSCK in this case, FSCK creates a file named PXCKSTAT in the catalog
subvolume. The PXCKSTAT file records the current FSN so that FSCK can locate the
most recent catalog files.
After the catalog has been completely repaired (rebuilt), the PXCKSTAT file is purged
from the catalog subvolume. The renamed catalog files remain in the subvolume until
you purge or rename them with the Guardian Catalog Volume Tool (CVT).
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.
PXINODE: PXINnnnn
PXLINK: PXLInnnn
PXLOG: PXLOnnnn
Table 5-2. Inconsistencies Checked by FSCK (page4of4)
Inconsistency Type Explanation