TMF Operations and Recovery Guide (G06.24+)

The TMF Catalog
HP NonStop TMF Operations and Recovery Guide522417-002
6-10
Removing Dumps from the Catalog
To reenter the audit dump $ZTMF.ZTMFAT.AA000503 into the TMF catalog, issue the
ADD DUMPS command, with the TIME option, as follows:
TMF 36> ADD DUMPS $ZTMF.ZTMFAT.AA000503, SERIAL 1582, &
>>>TYPE AUDITDUMP, TAPEMEDIA TMF236:1:1, &
>>>TIME 23 Jan 2002, 03:10:31
Next, assume the INFO DUMPS, DETAIL command has displayed the following
information for the online dump $DATA.PANDADA.FLSESSNO:
To reenter the online dump $DATA.PANDADA.FLSESSNO into the TMF catalog, issue
the following command:
TMF 38> ADD DUMPS $DATA.PANDADA.FLSESSNO, SERIAL 1708, &
>>>TYPE ONLINEDUMP (575,575), TAPEMEDIA TMF174:1:1, &
>>>TIME 09 Feb 2002, 05:12:21
You must be a member of the super user group to use the ADD DUMPS command.
Removing Dumps from the Catalog
Use the DELETE DUMPS command to remove dumps from the catalog; this command
changes the status for each dump you delete from ASSIGNED (needed for recovery)
to RELEASED (not needed for recovery) in the TMF catalog. The dump entries for a
specific tape reel or disk subvolume remain in the catalog, however, until all dump files
on that medium are marked either RELEASED or INVALID. Then, TMF removes all
dumps on that medium from the catalog and performs the following operations on the
medium itself:
For a tape medium, TMF changes the appropriate tape media entries to scratch
status (or released status, if you specified RELEASED ON in an ALTER CATALOG
command).
For a disk medium, TMF purges the files containing the dumps from disk. The
DELETE DUMPS command operates differently, depending on whether you use
the ! attribute.
If you include the ! attribute, the DELETE DUMPS command deletes a dump
entry in the TMF catalog regardless of whether all of the files belonging to the
dump could be physically purged from the disk. If one or more files cannot be
purged, an error message is issued and you must manually purge the files.
If you omit the ! attribute, the DELETE DUMPS command deletes a dump entry
in the TMF catalog only if the files belonging to the dump can be purged from
the disk. If one or more files cannot be purged, an error message is issued;
Dump Dump Dump Media Media Media
Serial Date-Time Type Master Data Status Type Status Name Part Copy
------ ----------- ----- ------ ---- ------- ----- -------- ---- ----
1708 9-Feb-2002 online 575 575 assigned tape assigned TMF174 1 1
05:12:21