Open System Services Management and Operations Guide (G06.30+, H06.08+, J06.03+)

CVT - T8621G09 - (01FEB01) OSS Catalog Volume Tool
Copyright Compaq Computer Corporation 1994, 1995, 1996, 2001
CVT { RENAME <files1> [ TO ] <files2> }
{ PURGE SERIAL <serial#> [IN <subvol> ] }
where <files1> and <files2> are:
{ CURRENT } [ IN <subvol> ]
{SERIAL <serial#> [ IN <subvol> ] }
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.
Managing and Repairing Fileset Catalog Files 173