beautypg.com

Purge command, Findfiles command examples, Purge command considerations – HP NonStop G-Series User Manual

Page 142

background image

SMFIXUP Utility

HP NonStop Storage Management Foundation User's Guide523562-008

9-4

PURGE Command

FINDFILES Command Examples

FINDFILES $VDP1

returns the physical file name of each logical file on virtual disk: $VDP1.

FINDFILES $VDP1, PHYSVOL $PHYS1

returns the physical file name of each logical file on $VDP1 that maps to a physical file
on $PHYS1.

FINDFILES $VDP1, START JJ.TEST

returns the physical file names of logical files on $VDP1, starting with logical
subvolume JJ and continuing through to the last logical file on the virtual disk. Note that
if JJ.TEST does not exist, the first logical name returned is the next valid logical file
name on the virtual disk.

FINDFILES $VDP1, PHYSVOL $PHYS1, START ZSMFCAT.A

returns the physical file names of the logical files on $VDP1, residing on physical
volume $PHYS1, starting from logical file name ZSMFCAT.

PURGE Command

The PURGE command purges catalog files.

{catalog-file-name | *}

specifies a catalog file or files to be purged:

catalog-file-name

is the name of the catalog file to be purged. If sys.vol.subvol is omitted, the
current default values are used.

*

indicates that all files in the subvolume are to be purged. If sys.vol.subvol is
omitted, the current default values are used.

PURGE Command Considerations

DP2 restricts purge privileges of SMF catalog files to processes knowledgeable of
SMF. This command provides the means by which an SMF catalog file can be
purged if the catalog owner is unable to do so.

This command can be used to purge files as part of a rename operation of an SMF
catalog file. Because SMF catalog files are protected by TMF, they cannot be
renamed. Instead, the catalog file must be copied to a file with the new name, and
the old file must be purged.

PURGE [sys.][vol.][subvol.]{catalog-file-name | *}