Open System Services Management and Operations Guide (G06.29+, H06.07+)
Managing Filesets
Open System Services Management and Operations Guide—527191-005
5-33
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).
For information about the CVT utility, see Managing and Repairing Fileset Catalog
Files on page 5-40.
What Happens When Diagnosis Appears to Fail?
Errors occurring on ZYQ files cause FSCK to issue a warning and continue. In these
cases, the new catalog might still contain minor inconsistencies.
Any other errors occurring during writes to the new catalog files cause FSCK to issue
an error message and terminate.
When FSCK restarts a failed run that has renamed ZYQ files, it restores these files and
attempts to update the PXINODE file accordingly. If an I/O error occurs during this
update, FSCK issues a warning and attempts to continue.
The FSCK run might fail if there is a file input or output error. If you place fileset
catalogs on mirrored volumes, you eliminate most I/O errors on catalog files.
If FSCK encounters:
•
Any read error on the old catalog other than Guardian File Management Error 1
(reaching an end of file), it issues an error message and terminates abnormally.
•
A Guardian File Management Error 1 (reaching an end of file) on the new PXLINK
file, FSCK issues a warning message and continues.
PXINODE: PXINnnnn
PXLINK: PXLInnnn
PXLOG: PXLOnnnn