Veritas-bu

[Veritas-bu] Problem removing media from NetBackup

2001-12-11 13:08:40
Subject: [Veritas-bu] Problem removing media from NetBackup
From: Ryan.Anderson AT udlp DOT com (Ryan Anderson)
Date: Tue, 11 Dec 2001 12:08:40 -0600
Try doing:

vmquery -deassignbyid <media id> <pool_number> <status>

I think Dave Chapa posted a quick way to find the pool number and status fields 
recently. I've done it before, but I don' recall how....

RCA

>>> Jason Ahrens <Jason.Ahrens AT telus DOT com> 12/11/01 09:28AM >>>
We have had a couple of media go bad. I have removed them from the silo, now
want to remove their entry in NetBackup, but I get the following problem

[email protected]:/usr/openv/local/bin# vmdelete -m 010248
cannot delete assigned volume (92)
[email protected]:/usr/openv/local/bin# bpexpdate -ev 010248 -d 0
Are you SURE you want to delete 010248 y/n (n)? y
requested media id was not found in NB media database and/or MM volume
database

How can I remove this media if it's assigned, but I can't unassign it?

Jason

--
Jason Ahrens, Systems Analyst
TELUS Enterprise Solutions
http://www.telus.com 
The Future is Friendly

_______________________________________________
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu 
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu