cancel
Showing results for 
Search instead for 
Did you mean: 

How to erase a catalog tape

Puffy
Level 6

Hi

 

I have tried various method to erase a catalog tape to reuse as a normal tape.

 

Tried vmdelete, vmquery -deassignbyid

 

For the latter, I can't get the status of the tape (vmquery -m <tape>). No status when I use the command.

 

The catalog tape is not configured in the catalog settings anymore.

 

Netbackup NBU 5.1 Windows


Thanks!

 

3 REPLIES 3

sdo
Moderator
Moderator
Partner    VIP    Certified

...google:

how to reuse netbackup catalog media

 

...found:

http://seer.support.veritas.com/docs/273044.htm

 

Puffy
Level 6

Mine is persisently hard to remove.

 

My vmquery -m <tape>

 

media ID:              000123
media type:            1/2" cartridge tape 2 (14)
barcode:               000123
media description:     Added by Media Manager
volume pool:           NetBackup (1)
robot type:            TLD - Tape Library DLT (8)
robot number:          0
robot slot:            80
robot control host:    MasterSvr

volume group:          00_000_TLD
vault name:            ---
vault sent date:       ---
vault return date:     ---
vault slot:            ---
vault session id:      ---
vault container id:    -
created:               7/25/2008 1:11:52 PM
assigned:              ---
last mounted:          7/25/2008 5:23:19 PM
first mount:           7/25/2008 1:12:29 PM
expiration date:       ---
number of mounts:      3
max mounts allowed:    ---

 

As you see there are no Status hence the command to use can't be used.

 

 

sdo
Moderator
Moderator
Partner    VIP    Certified

Maybe the status is zero, so it's not shown.

 

Could you try:
# /usr/openv/volmgr/bin/vmquery -deassignbyid 000123 1 0x0

...and/or:
# /usr/openv/volmgr/bin/vmquery -deassignbyid 000123 1 0