FROM MASTER SERVER:
====================
cd /usr/openv/netbackup/bin/admincmd
1) Check the "Images" database, if "no entity found", go to step#2:
./bpimmedia -U -mediaid
1a) Expire images if necessary:
./bpexpdate -m -d 0 -justimage
***re-run step #1 to re-check***
2) Check the "Media" databases, if not found go to step#3:
./bpmedialist -U -mlist �m
***It will check the media databases on all media servers until a hit***
***use the host name listed in output for the below command if found***
2a) Expire media database entry if necessary:
./bpexpdate -m -d 0 -justmedia -host
***re-run step #2 to re-check***
3) Check the "Volume" database:
cd /usr/openv/volmgr/bin
./vmquery -m
***Get the number in parentheses after "Pool name", and last digit of status (0x0 = 0; 0x1 =1)
4) Deassign the Media id:
./vmquery -deassignbyid
Example: ./vmquery -deassignbyid ABC123 13 0
***where the "13" is the pool number, and "0" is the status (0x0)**
**********************************************************************
***DO NOT DEASSIGN MEDIA WITHOUT PERFORMING previous three steps!!!***
**********************************************************************
The media would now be �AVAILABLE� and could be deleted or moved to another pool.
5) Delete it (if so desired):
./vmdelete -m