Veritas-bu

[Veritas-bu] Problem removing media from NetBackup

2001-12-11 13:33:01
Subject: [Veritas-bu] Problem removing media from NetBackup
From: kovar AT ciena DOT com (Kovar, David)
Date: Tue, 11 Dec 2001 10:33:01 -0800
vmquery -m <tapeid> will give you the pool and status. The status is in hex
(0xN) but you should only enter the "N" when you do the deassignbyid.

-David


-----Original Message-----
From: Ryan Anderson [mailto:Ryan.Anderson AT udlp DOT com]
Sent: Tuesday, December 11, 2001 10:09 AM
To: veritas-bu AT mailman.eng.auburn DOT edu; Jason.Ahrens AT telus DOT com
Subject: Re: [Veritas-bu] Problem removing media from NetBackup


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

root@veritasmaster1:/usr/openv/local/bin# vmdelete -m 010248
cannot delete assigned volume (92)
root@veritasmaster1:/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

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