On Fri, 29 Jun 2007, Darren Dunham wrote:
>> usra1nb:/usr/openv/netbackup/bin/goodies # more rtape
>> /usr/openv/netbackup/bin/admincmd/bpexpdate -m $1 -d 0 -justimage -force
>> /usr/openv/netbackup/bin/admincmd/bpexpdate -m $1 -d 0 -justmedia -force
>> /usr/openv/volmgr/bin/vmquery -deassignbyid $1 6 0x0
>>
>> $1 is the tape barcode label. the "6" in the third command screen is
>> the volume pool number. You may need to adjust this for your own
>> system . So executing is ./rtape TYC111, or something like that.
>> This worked without fail for version 5 in getting rid of tape
>> information. Making them reusable. I just moved to version six and
>> the emm database and need to figure out the correct way now to do it
>> there.
>
> 'bpexpdate' should be the way to do it normally. -dassignbyid is no
> longer valid for NetBackup tapes in 6. If you have a tape in the volume
> DB without it being properly in the media DB, I no longer know how to
> reconcile it.
>
> --
> Darren Dunham ddunham AT taos DOT
> com
> Senior Technical Consultant TAOS http://www.taos.com/
> Got some Dr Pepper? San Francisco, CA bay area
> < This line left intentionally blank to confuse you. >
> _______________________________________________
> Veritas-bu maillist - Veritas-bu AT mailman.eng.auburn DOT edu
> http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
>
There is a way to do it, search the archives, you need to 'add' the
missing pieces before you can bpexpdate it.
Justin.
_______________________________________________
Veritas-bu maillist - Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
|