Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

anyone can know how to expiry the catalog tape?

Status
Not open for further replies.

kwleung330

Technical User
Mar 15, 2004
15
Hi all

I have tried to expiry the catalog tape..but it doesnt work while using the bpexpdate command. Therefore, I used the vmquery command...it not work again.

1. bpexdate -ev N00001 -d 0

it prompts "requested media id was not found in NB media Database and/or MM volume database.

2. vmquery -deassignbyid N00001 NetBackup 1
it prompts "could not deassign media ID N0001: volume is not in the None pool (94)

Anyone can give me the procedure to re-used the catalog tape?

Thanks and Best Regards

 
the syntax requires the pools' number for NetBackup not the name NetBackup.


vmquery -deassignbyid N00001 <pool number for NetBackup> 1


Here is a tachnote on the proceedures.
How to reuse or recycle unnecessary VERITAS NetBackup database catalog tapes for normal backups

Bob Stump
Just because the VERITAS documentation states a certain thing does not make it a fact and thats the truth
 
Hi Stumpr

Thank you for reply. I think the document has some mistake even I following the step.

Step

1. vmquery -m N0001, it shows the tape information.

2. vmquery -deassignbyid N0001 1 0x0

3. vmquery -m N0001 again, you can see that at the last item "status" is changed from 0x0 to ----

4. inventory the robot

5. bplabel -ev N0001 -d hcart2

6. The tape can re-use

P.S The step can erase the normal back tape, but doesnt work on Catalog tape. I still trying to fix it, anyone can
help




 
2. vmquery -deassignbyid N0001 1 0x0

change to

vmquery -deassignbyid N0001 1 1

Bob Stump
Just because the VERITAS documentation states a certain thing does not make it a fact and thats the truth
 
Hi Stump

Thank for help. It has worked for me.

Wing
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top