Veritas-bu

Re: [Veritas-bu] Reclaiming tapes to the scratch volume pool

2007-12-04 13:43:52
Subject: Re: [Veritas-bu] Reclaiming tapes to the scratch volume pool
From: "Rosenkoetter, Gabriel" <Gabriel.Rosenkoetter AT radian DOT biz>
To: Brian.Beaird AT cat DOT com, VERITAS-BU AT mailman.eng.auburn DOT edu
Date: Tue, 4 Dec 2007 13:25:09 -0500
I use the attached for this.
 
It does exactly what you describe (walking through all media in robotic control or taking a list of media on the command line).
 
The step you're missing is vmquery -deassignbyid. Otherwise, you've got the right steps.

--
gabriel rosenkoetter
Radian Group Inc, Unix/Linux/VMware Sysadmin / Backup & Recovery
gabriel.rosenkoetter AT radian DOT biz, 215 231 1556

 


From: Brian.Beaird AT cat DOT com [mailto:Brian.Beaird AT cat DOT com]
Sent: Tuesday, December 04, 2007 12:17 PM
To: VERITAS-BU AT mailman.eng.auburn DOT edu
Subject: [Veritas-bu] Reclaiming tapes to the scratch volume pool

I've run into a problem where my scratch volume pool is empty.  However, I have tons of empty tapes (can easily list with Aptare) that just happen to be assigned to other specific pools.  I can manually run bpimmedia on these empty tapes to verify that there are no images on them.  But if I try to change the volume group on them via the GUI to scratch (or the Netbackup pool), I get the "cannot change volume pool for assigned media (91)" error.
 
If there are no images on the tape, what's the problem?  I thought once images expired on tapes, they were supposed to automatically be kicked back out to a scratch pool anyway.  I've found a few places where I can manually force a tape into a different volume, but it is pretty strongly suggested that you *not* do it that way.
 
Any suggestions?

Attachment: bpclearmedia.sh
Description: bpclearmedia.sh

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