Open System Services Management and Operations Guide (G06.29+, H06.07+)

Managing Filesets
Open System Services Management and Operations Guide527191-005
5-44
Moving and Removing OSS Catalog Files
CVT Examples
Here are some examples of CVT commands:
To purge the files PXIN0004, PXLI0004, and PXLO0004 on subvolume
$VOL.ZX000003, enter the following command at a TACL prompt:
RUN $SYSTEM.ZOSS.CVT PURGE SERIAL 4 IN $VOL.ZX000003
To save the current catalog on $VOL.ZX000003 as PXIN0004, PXLI0004, and
PXLO0004 on the same subvolume, enter the following command at a TACL
prompt:
RUN $SYSTEM.ZOSS.CVT RENAME CURRENT IN $VOL.ZX000003 TO &
SERIAL 4 IN $VOL.ZX000003
This command is equivalent to the following command sequence:
VOLUME $VOL.ZX000003
RUN $SYSTEM.ZOSS.CVT RENAME CURRENT TO SERIAL 4
To make the current catalog on $VOL.TEMP the current catalog on
$VOL.ZX000003, enter the following commands at a TACL prompt:
VOLUME $VOL.ZX000003
RUN $SYSTEM.ZOSS.CVT RENAME CURRENT IN TEMP TO CURRENT
To restore from a backup tape a catalog that has been destroyed due to a double
media failure:
1. Use the Guardian RESTORE utility VOL keyword to restore the catalog to a
subvolume whose name does not begin with ZX0.
2. Move the catalog onto the ZX0 subvolume with a TACL command of the
following form:
RUN $SYSTEM.ZOSS.CVT RENAME CURRENT IN nonZX0subvol &
TO CURRENT IN ZX0subvol
3. After you restore the catalog, run the integrity checker with the following SCF
command:
DIAGNOSE FILESET fileset, REPAIR ALL
When FSCK detects catalog corruption, it does not repair the catalog in place;
instead, it creates a new catalog and saves the old one. The old catalog is saved
under the Guardian file identifiers PXINnnnn, PXLInnnn, and PXLOnnnn (where
nnnn is an FSN).
To remove an old catalog retained by FSCK, enter:
RUN $SYSTEM.ZOSS.CVT PURGE SERIAL fsn
where fsn is the FSN of the old catalog.