DSM/Tape Catalog Operator Interface (MEDIACOM) Manual

MEDIACOM Commands
DSM/Tape Catalog Operator Interface (MEDIACOM) Manual429828-010
2-89
DROP VOLCAT Command (Super Group Only)
Then use DROP FILECAT to remove TAPE_LIBRARY from the NonStop SQL/MP
database. (If the NonStop SQL/MP database is not being used, it is also dropped.)
MC> DROP FILECAT TAPE_LIBRARY
DROP VOLCAT Command (Super Group Only)
DROP VOLCAT removes a volume catalog from the DSM/TC system. A volume
catalog cannot be removed until all its pools are deleted with the DELETE POOL
command.
Deleting a volume catalog is necessary when changing the configuration of your
DSM/TC system, such as changing the physical location of the volume catalog.
\node.volume-catalog-name
is the logical name of the volume catalog to remove. Include \node when the
volume catalog is not on your current default node.
Example
You want to move a volume catalog named MASTER_TAPE_CATALOG to a different
subvolume. To do this, you must delete all the entries from the volume catalog.
Remove file catalog entries associated with assigned tapes from the file catalog with
DELETE TAPEFILE commands. Once emptied, you can erase
MASTER_TAPE_CATALOG with DROP VOLCAT and reconstruct it on a different
subvolume.
Use INFO TAPEVOLUME to make a report of everything cataloged in
MASTER_TAPE_CATALOG. The report also identifies assigned tapes.
MC> INFO TAPEVOLUME,&
>>> DETAIL,&
>>> POOL *,&
>>> VOLCAT MASTER_TAPE_CATALOG,&
>>> STATUS ALL,&
>>> OUT $DATA1.OPS.INFOTAPE
Once the report is finished, use DELETE TAPEFILE to remove all the tape file entries
for tapes with a status of assigned. This command also removes the associated
volume catalog entries in MASTER_TAPE_CATALOG.
Then use DELETE TAPEVOLUME to remove all the entries in
MASTER_TAPE_CATALOG for tapes with a status of BAD, RELEASED, or
SCRATCH:
MC> DELETE TAPEVOLUME *,&
>>> VOLCAT MASTER_TAPE_CATALOG,&
>>> POOL *
DROP VOLCAT [ \node.]volume-catalog-name