beautypg.com

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

Page 141

background image

SMFIXUP Utility

HP NonStop Storage Management Foundation User's Guide523562-008

9-3

FINDFILES Command

FILECODE Command Considerations

The FILECODE command must not be used on virtual disk catalog files. After you
have applied the command to change the filecode to anything other than 462, you
will be unable to change it back. Without the proper filecode of 462 on all the VDP
catalog files, the virtual disk process will not start.

Any file level operation that requires the use of FS_ALTERLIST_ must be done by
a process knowledgeable of SMF. By allowing the file code to be changed by using
this command, all FS_ALTERLIST_ options can be supported for SMF catalogs.
With this command, you can change the file code to a non-SMF file code, perform
the file level operation, and change the code back.

The FILECODE command can be used to change a catalog file from a non-SMF
file code to an SMF file code, or an SMF file code to a non-SMF file code. For
example, the RESTORE utility or FUP DUP commands set the file code to 0 when
creating a new copy of an SMF catalog. FILECODE can be used to change the file
code back to the appropriate SMF file code.

FINDFILES Command

The FINDFILES command returns the physical file names of logical files residing on a
virtual disk (the virtual disk process must be in the UP state).

vdpname

is the name of the virtual disk to query. This is a required parameter.

PHYSVOL physvol-name

is the name of the physical disk for which file names are returned.

START filename

is the starting logical file (in the form: subvolume.file).

FINDFILES Considerations

FINDFILES is a useful command in a situation where you have lost a physical volume
and cannot restore the files by using TMF. Use FINDFILES to determine which files
that resided on the physvol to recover. Then you will need to use the SMFIXUP ZOT
command to delete the VDP's name table entries for these files before they are
restored. This step is required because RESTORE first issues a PURGE request, to
which the VDP replies with an error because the physvol could not be accessed. If you
purge the name table entries, the VDP replies with error 11 (file not found), which
RESTORE ignores. When you purge the name table entries, you are ready to restore
the files.

FINDFILES vdpname [PHYSVOL physvol-name] [START filename]