DSM/Tape Catalog Operator Interface (MEDIACOM) Manual
MEDIACOM Commands
DSM/Tape Catalog Operator Interface (MEDIACOM) Manual—429828-010
2-79
DELETE POOL Command (Super Group Only)
This example creates a file and volume catalog on the same subvolume of the
current default node. The catalogs have the same logical names as required when
the a file and volume catalog are on the same subvolume.
MC> CREATE FILECAT TAPE_CATALOG,&
>>> SUBVOL $IRIS.TAPECAT,&
>>> SECURE "NC-O",&
>>> OWNER 5,149
MC> CREATE VOLCAT TAPE_CATALOG,&
>>> SUBVOL $IRIS.TAPECAT,&
>>> SECURE "NC-O",&
>>> OWNER 5,149
DELETE POOL Command (Super Group Only)
DELETE POOL removes a pool from a volume catalog. A pool can be deleted only
after all the tapes cataloged in it are removed with DELETE TAPEVOLUME (for tapes
of status BAD, RELEASED, or SCRATCH), or with DELETE TAPEFILE and then
DELETE TAPEVOLUME (for tapes of status ASSIGNED).
Deleting a pool is necessary when you rename the pool or the volume catalog it
belongs to, when you need to consolidate one or more pools, or when you physically
move a pool’s tapes to another site.
pool-name
is the logical name of the pool to delete.
VOLCAT \node.volume-catalog-name
is the logical name of the volume catalog that owns the pool. Include \node when
the volume catalog is not on your current default node.
Example
You no longer need a pool named MISC_TAPES. The tapes cataloged in it are
cataloged in other pools after you delete MISC_TAPES. You know that all the tapes
remaining in the pool have a status of BAD, RELEASED, or SCRATCH, so you need
not use DELETE TAPEFILE for assigned tapes.
MC> DELETE TAPEVOLUME *,&
>>> POOL MISC_TAPES,&
>>> VOLCAT MASTER_TAPE_CATALOG
MC> DELETE POOL MISC_TAPES,&
>>> VOLCAT MASTER_TAPE_CATALOG
DELETE POOL pool-name
, VOLCAT [ \node.]volume-catalog-name