This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
----=_NextPart_ST_11_45_10_Friday_February_18_2005_27638
Content-Type: text/plain
How to reuse or recycle unnecessary VERITAS NetBackup database catalog tapes
for normal backups
http://seer.support.veritas.com/docs/237779.htm
<http://seer.support.veritas.com/docs/237779.htm>
Details:
In order to reuse tapes that were previously used for NetBackup 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 by
issuing the following command:
/usr/openv/volmgr/bin/vmquery -a > /tmp/vmquery.out
After the re-directed output file is created - vi (or use editor of choice)
the file and search for the status 0x1 (see output below) - this status
indicates that it is a catalog backup tape and record the media ID as a
catalog backup tape.
After identifying all of the catalog backup tapes, the active catalog backup
tapes should be identified (this can be done using the Java GUI, Configure
drop down menu, and selecting NetBackup Catalog Backup, viewing the
selections for media 1 and media 2 and noting the media IDs. This can also
be accomplished by viewing the last mounted category for the status 0x1
tapes from the output below, in the event that only catalog backup tapes
older that a certain date are to be reused (a working strategy can be
developed to only reuse catalog database tapes older that 1 month, etc.).
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. /usr/openv/volmgr/bin/vmquery -deassignbyid <media_id> <pool_number>
<status>
i.e. /usr/openv/volmgr/bin/vmquery -deassignbyid 000101
(where 000101 is the tape volume ID)
Step 3. /usr/openv/netbackup/bin/admincmd/bplabel -ev evsn -d density [-o]
[-p volume_pool_name] [-n drive_name | -u device_number]
i.e. /usr/openv/netbackup/bin/admincmd/bplabel -ev 000101 -d dlt (in this
case 000101 is the tape volume ID, dlt is the tape density, and assumes that
a robotic library exists and the tape is in the library. If it is a
standalone tape drive system, a drive name will have to be specified in the
command line).
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.
_____
From: veritas-bu-admin AT mailman.eng.auburn DOT edu
[mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu] On Behalf Of
Tina.McDowney AT VHDA DOT com
Sent: Friday, February 18, 2005 10:52 AM
To: Karl.Rossing AT Federated DOT CA
Cc: veritas-bu AT mailman.eng.auburn DOT edu
Subject: RE: [Veritas-bu] ? how to overwrite tapes
What about tapes that have previously been used for catalog backups? How do
you tell netbackup to recycle the tape regardless of what it was previously
used for. We're currently running Netbackup 4.5. I have a whole slew of
tapes that keep freezing - some of which do not show up as a catalog backup
tape. Perhaps the tapes are just bad?
Thanks,
Tina
-----Original Message-----
From: veritas-bu-admin AT mailman.eng.auburn DOT edu
[mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu]On Behalf Of
Karl.Rossing AT Federated DOT CA
Sent: Monday, February 07, 2005 2:25 PM
To: veritas-bu AT mailman.eng.auburn DOT edu
Subject: Re: [Veritas-bu] ? how to overwrite tapes
>From the 5.0 admin console
Host Properties -> Master Server -> Double click on the master -> Media
or from
http://www.backupcentral.com/cgi-bin/netbackup-fom?_highlightWords=overwrite
&file=60
edit bp.conf
add ALLOW_MEDIA_OVERWRITE
KFR
Jeffrey Dykzeul <Jeffrey_Dykzeul AT raytheon DOT com>
Sent by: veritas-bu-admin AT mailman.eng.auburn DOT edu
02/07/2005 12:23 PM
To
veritas-bu AT mailman.eng.auburn DOT edu
cc
Subject
[Veritas-bu] ? how to overwrite tapes
Somebody please remind me how to fix this - I am recycling some old tapes
which have unknown data on them and NBU tells me that it is FREEZING the
media because it contains ANSI-format data and cannot be used for backups.
I want to put these volumes in a scratch pool and allow NBU to assign and
use them as necessary. These tape volumes are in a tape library with a
barcode reader.
Jeff Dykzeul
Raytheon Space & Airborne Systems
_______________________________________________
Veritas-bu maillist - Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
----=_NextPart_ST_11_45_10_Friday_February_18_2005_27638
Content-Type: text/html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2800.1476" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left>How to reuse or recycle unnecessary VERITAS NetBackup
database catalog tapes for normal backups </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><A
href="http://seer.support.veritas.com/docs/237779.htm">http://seer.support.veritas.com/docs/237779.htm</A></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff
size=2></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff
size=2></FONT> </DIV>
<DIV dir=ltr align=left><SPAN class=BodyToolboxHeader>Details:</SPAN><BR>
<DIV class=Normal>In order to reuse tapes that were previously used for
NetBackup database catalog backups, perform the following two
steps:<BR><BR>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!<BR><BR>Perform the
following
commands on the volume database host (usually the NetBackup master
server):<BR><BR><B>Step 1</B>. Determine which tapes are catalog backup tapes
on
your system by issuing the following command:<BR><BR><TT><SPAN
class=FIXEDFONT>/usr/openv/volmgr/bin/vmquery -a >
/tmp/vmquery.out</SPAN></TT><BR><BR>After the re-directed output file is
created
- vi (or use editor of choice) the file and search for the status 0x1 (see
output below) - this status indicates that it is a catalog backup tape and
record the media ID as a catalog backup tape. <BR><BR>After identifying all of
the catalog backup tapes, the active catalog backup tapes should be identified
(this can be done using the Java GUI, Configure drop down menu, and selecting
NetBackup Catalog Backup, viewing the selections for media 1 and media 2 and
noting the media IDs. This can also be accomplished by viewing the last mounted
category for the status 0x1 tapes from the output below, in the event that only
catalog backup tapes older that a certain date are to be reused (a working
strategy can be developed to only reuse catalog database tapes older that 1
month, etc.). <BR><BR>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. <BR><BR>The example of the <TT><SPAN class=FIXEDFONT>vmquery
-a</SPAN></TT> 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.<BR>================================================================================<BR><TT><SPAN
class=FIXEDFONT>media ID: CAN000</SPAN></TT><BR><TT><SPAN class=FIXEDFONT>media
type: DLT cartridge tape (11)</SPAN></TT><BR><TT><SPAN class=FIXEDFONT>barcode:
--------</SPAN></TT><BR><TT><SPAN class=FIXEDFONT>description: Added by Media
Manager</SPAN></TT><BR><TT><SPAN class=FIXEDFONT>volume pool: NetBackup
(1)</SPAN></TT><BR><TT><SPAN class=FIXEDFONT>robot type: TLD - Tape Library DLT
(8)</SPAN></TT><BR><TT><SPAN class=FIXEDFONT>robot number:
0</SPAN></TT><BR><TT><SPAN class=FIXEDFONT>robot slot:
1</SPAN></TT><BR><TT><SPAN class=FIXEDFONT>robot host:
NBsrv1</SPAN></TT><BR><TT><SPAN class=FIXEDFONT>volume group:
00_000_TLD</SPAN></TT><BR><TT><SPAN class=FIXEDFONT>created: Thu Apr 05
08:38:01
2001</SPAN></TT><BR><TT><SPAN class=FIXEDFONT>assigned: Thu Jun 14 10:47:08
2001</SPAN></TT><BR><TT><SPAN class=FIXEDFONT>last mounted: Thu Jun 14 10:48:35
2001</SPAN></TT><BR><TT><SPAN class=FIXEDFONT>first mount: Thu Apr 05 09:00:22
2001</SPAN></TT><BR><TT><SPAN class=FIXEDFONT>expiration date:
---</SPAN></TT><BR><TT><SPAN class=FIXEDFONT>number of mounts:
3</SPAN></TT><BR><TT><SPAN class=FIXEDFONT>max mounts allowed:
---</SPAN></TT><BR><TT><SPAN class=FIXEDFONT>status:
0x0</SPAN></TT><BR>================================================================================<BR><TT><SPAN
class=FIXEDFONT>media ID: 000101</SPAN></TT><BR><TT><SPAN class=FIXEDFONT>media
type: DLT cartridge tape (11)</SPAN></TT><BR><TT><SPAN class=FIXEDFONT>barcode:
--------</SPAN></TT><BR><TT><SPAN class=FIXEDFONT>description:
------</SPAN></TT><BR><TT><SPAN class=FIXEDFONT>volume pool: NetBackup
(1)</SPAN></TT><BR><TT><SPAN class=FIXEDFONT>robot type: TLD - Tape Library DLT
(8)</SPAN></TT><BR><TT><SPAN class=FIXEDFONT>robot number:
0</SPAN></TT><BR><TT><SPAN class=FIXEDFONT>robot slot:
2</SPAN></TT><BR><TT><SPAN class=FIXEDFONT>robot host:
NBsrv1</SPAN></TT><BR><TT><SPAN class=FIXEDFONT>volume group:
00_000_TLD</SPAN></TT><BR><TT><SPAN class=FIXEDFONT>created: Thu Apr 05
08:45:00
2001</SPAN></TT><BR><TT><SPAN class=FIXEDFONT>assigned: Sat Jun 02 08:35:06
2001</SPAN></TT><BR><TT><SPAN class=FIXEDFONT>last mounted: Fri Jun 22 01:44:28
2001</SPAN></TT><BR><TT><SPAN class=FIXEDFONT>first mount: Thu Apr 05 08:45:52
2001</SPAN></TT><BR><TT><SPAN class=FIXEDFONT>expiration date:
---</SPAN></TT><BR><TT><SPAN class=FIXEDFONT>number of mounts:
14</SPAN></TT><BR><TT><SPAN class=FIXEDFONT>max mounts allowed:
---</SPAN></TT><BR><TT><SPAN class=FIXEDFONT>status:
0x1</SPAN></TT><BR>================================================================================<BR><BR><B>Step
2</B>.<TT><SPAN class=FIXEDFONT> /usr/openv/volmgr/bin/vmquery -deassignbyid
<media_id> <pool_number> <status></SPAN></TT><BR><BR>i.e.
<TT><SPAN class=FIXEDFONT>/usr/openv/volmgr/bin/vmquery -deassignbyid
000101</SPAN></TT><BR><BR>(where 000101 is the tape volume
ID)<BR><BR><BR><B>Step 3</B>.<TT><SPAN class=FIXEDFONT>
/usr/openv/netbackup/bin/admincmd/bplabel -ev evsn -d density [-o] [-p
volume_pool_name] [-n drive_name | -u device_number]</SPAN></TT><BR><BR>i.e.
<TT><SPAN class=FIXEDFONT>/usr/openv/netbackup/bin/admincmd/bplabel -ev 000101
-d dlt </SPAN></TT> (in this case 000101 is the tape volume ID, dlt is
the
tape density, and assumes that a robotic library exists and the tape is in the
library. If it is a standalone tape drive system, a drive name will have to be
specified in the command line).<BR><BR>Note: If this is a standalone tape
system, the tape must already be in the drive specified above - this may
take manual intervention.<BR><BR>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.<BR><BR></DIV><BR></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> veritas-bu-admin AT mailman.eng.auburn
DOT edu
[mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu] <B>On Behalf Of
</B>Tina.McDowney AT VHDA DOT com<BR><B>Sent:</B> Friday, February 18, 2005
10:52
AM<BR><B>To:</B> Karl.Rossing AT Federated DOT CA<BR><B>Cc:</B>
veritas-bu AT mailman.eng.auburn DOT edu<BR><B>Subject:</B> RE: [Veritas-bu] ?
how to
overwrite tapes<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=501254815-18022005>What
about tapes that have previously been used for catalog backups? How do
you
tell netbackup to recycle the tape regardless of what it was previously used
for. We're currently running Netbackup 4.5. I have a whole slew of
tapes that keep freezing - some of which do not show up as a catalog
backup tape. Perhaps the tapes are just bad?</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=501254815-18022005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=501254815-18022005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=501254815-18022005>Thanks,</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=501254815-18022005>Tina</SPAN></FONT></DIV>
<BLOCKQUOTE>
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B>
veritas-bu-admin AT mailman.eng.auburn DOT edu
[mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu]<B>On Behalf Of
</B>Karl.Rossing AT Federated DOT CA<BR><B>Sent:</B> Monday, February 07,
2005 2:25
PM<BR><B>To:</B> veritas-bu AT mailman.eng.auburn DOT edu<BR><B>Subject:</B>
Re:
[Veritas-bu] ? how to overwrite tapes<BR><BR></FONT></DIV><BR><FONT
face=sans-serif size=2>From the 5.0 admin console</FONT> <BR><FONT
face=sans-serif size=2>Host Properties -> Master Server -> Double click
on the master -> Media</FONT> <BR><BR><FONT face=sans-serif size=2>or from
http://www.backupcentral.com/cgi-bin/netbackup-fom?_highlightWords=overwrite&file=60</FONT>
<BR><FONT face=sans-serif size=2>edit bp.conf</FONT> <BR><FONT
face=sans-serif
size=2>add ALLOW_MEDIA_OVERWRITE</FONT> <BR><BR><FONT face=sans-serif
size=2>KFR</FONT> <BR><BR><BR><BR>
<TABLE width="100%">
<TBODY>
<TR vAlign=top>
<TD width="40%"><FONT face=sans-serif size=1><B>Jeffrey Dykzeul
<Jeffrey_Dykzeul AT raytheon DOT com></B> </FONT><BR><FONT
face=sans-serif size=1>Sent by:
veritas-bu-admin AT mailman.eng.auburn DOT edu</FONT>
<P><FONT face=sans-serif size=1>02/07/2005 12:23 PM</FONT> </P>
<TD width="59%">
<TABLE width="100%">
<TBODY>
<TR vAlign=top>
<TD>
<DIV align=right><FONT face=sans-serif size=1>To</FONT></DIV>
<TD><FONT face=sans-serif
size=1>veritas-bu AT mailman.eng.auburn DOT edu</FONT>
<TR vAlign=top>
<TD>
<DIV align=right><FONT face=sans-serif size=1>cc</FONT></DIV>
<TD>
<TR vAlign=top>
<TD>
<DIV align=right><FONT face=sans-serif size=1>Subject</FONT></DIV>
<TD><FONT face=sans-serif size=1>[Veritas-bu] ? how to overwrite
tapes</FONT></TD></TR></TBODY></TABLE><BR>
<TABLE>
<TBODY>
<TR vAlign=top>
<TD>
<TD></TD></TR></TBODY></TABLE><BR></TD></TR></TBODY></TABLE><BR><BR><BR><FONT
size=2><TT><BR><BR><BR><BR>Somebody please remind me how to fix this - I am
recycling some old tapes<BR>which have unknown data on them and NBU tells me
that it is FREEZING the<BR>media because it contains ANSI-format data and
cannot be used for backups.<BR>I want to put these volumes in a scratch pool
and allow NBU to assign and<BR>use them as necessary. These tape volumes are
in a tape library with a<BR>barcode reader.<BR><BR><BR>Jeff
Dykzeul<BR>Raytheon Space & Airborne
Systems<BR><BR>_______________________________________________<BR>Veritas-bu
maillist -
Veritas-bu AT mailman.eng.auburn DOT
edu<BR>http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu<BR><BR></TT></FONT><BR></BLOCKQUOTE></BODY></HTML>
----=_NextPart_ST_11_45_10_Friday_February_18_2005_27638--
|