You need to deassign and relabel them.
Here's a 3 step technote.
How to reuse or recycle unnecessary NetBackup database catalog tapes for normal backups with NetBackup 4.5 or later
http://seer.support.veritas.com/docs/273044.htm
Details:
In order to reuse tapes that were previously used for VERITAS NetBackup (tm) database catalog backups, perform the following two steps:
Caution: Once these steps have been performed, the original data on the tape is destroyed and lost - make certain beforehand that verification has been done on all the tapes on which this operation is to be performed, and that they are indeed tapes that can be overwritten.
Perform the following commands on the volume database host (usually the NetBackup master server):
Step 1. Determine which tapes are catalog backup tapes on your system:A single command that will return a list of catalog tapes is this:
# /usr/openv/volmgr/bin/vmquery -a -w |awk '$28==1 {print $1}'
However, for detailed verification, you could run the following command to generate a list of all tapes:
# /usr/openv/volmgr/bin/vmquery -a > /tmp/vmquery.out
After the output file is created, use the editor of choice to examine the file. In order to determine which tapes are catalog tapes, search for the status string "0x1" (see output below). This status indicates that it is a catalog backup tape. Record the media IDs for future use.
After identifying all of the catalog backup tapes, the active catalog backup tapes should be identified. To identify the currently configured tapes, run the following command:
# /usr/openv/netbackup/bin/admincmd/bpsyncinfo
Caution: These active catalog backup media IDs must NOT be overwritten or destroyed. Take special care to avoid the following procedure on the active catalog backup media and any other catalog backup media that you wish to keep.
The example of the vmquery -a output below shows two different types of NetBackup tapes. The status 0x0 is a NetBackup backup tape and the status 0x1 indicates a tape that has been used for a NetBackup catalog database backup.
===================================================
media ID: CAN000
media type: DLT cartridge tape (11)
barcode: --------
description: Added by Media Manager
volume pool: NetBackup (1)
robot type: TLD - Tape Library DLT (8)
robot number: 0
robot slot: 1
robot host: NBsrv1
volume group: 00_000_TLD
created: Thu Apr 05 08:38:01 2001
assigned: Thu Jun 14 10:47:08 2001
last mounted: Thu Jun 14 10:48:35 2001
first mount: Thu Apr 05 09:00:22 2001
expiration date: ---
number of mounts: 3
max mounts allowed: ---
status: 0x0
==========================================
media ID: 000101
media type: DLT cartridge tape (11)
barcode: --------
description: ------
volume pool: NetBackup (1)
robot type: TLD - Tape Library DLT (8)
robot number: 0
robot slot: 2
robot host: NBsrv1
volume group: 00_000_TLD
created: Thu Apr 05 08:45:00 2001
assigned: Sat Jun 02 08:35:06 2001
last mounted: Fri Jun 22 01:44:28 2001
first mount: Thu Apr 05 08:45:52 2001
expiration date: ---
number of mounts: 14
max mounts allowed: ---
status: 0x1
========================================
Step 2. Unassign the tapes you wish to re-use:# /usr/openv/volmgr/bin/vmquery -deassignbyid
Example:
# /usr/openv/volmgr/bin/vmquery -deassignbyid 000101 1 0x1
Step 3. Overwrite the tape label:
NOTE: This will effectively erase any previous information on the tape.
# /usr/openv/netbackup/bin/admincmd/bplabel -m -d
Example for robotic volume:
# /usr/openv/netbackup/bin/admincmd/bplabel -m 000101 -d dlt -o -p NetBackup
Example for standalone tapedrive:
# /usr/openv/netbackup/bin/admincmd/bplabel -m 000101 -d dlt -o -p NetBackup -n Quantum_DLT8000
Note: If this is a standalone tape system, the tape must already be in the drive specified above - this may take manual intervention.
These steps will remove the information from the volume database and write a new label to the tape, effectively erasing any previous information on the tape, which can now be used for NetBackup backups.Message was edited by:
Bob Stump