Don't forget to use the -o option to overwrite the old label.
Patrick Whelan
Consulting
[NBU (with extensions) and Storage Migrator]
[VxFS and Volume Manager]
pwhelan AT veritas DOT com
Of course this is just my opinion, I could be wrong. - Dennis Miller
Friends help friends move, good friends help move bodies - Unknown.
-----Original Message-----
From: Dan Rich [mailto:drich AT employees DOT org]
Sent: Wednesday, May 10, 2000 12:51 PM
To: Norm Szcyrek
Cc: veritas-bu AT Eng.Auburn DOT EDU
Subject: Re: [Veritas-bu] An easier/faster way to
erase a NB DLT ?
On Wed, 10 May 2000, Norm Szcyrek wrote:
> I would like to recycle a previously used DLT, but assign
it a new Media
> ID. The problem is, MM still sees the RVSN and/or EVSN
that was
> originally assigned to it, and I have a theory that this
causes
> confusion within the MM database. Can anyone suggest an
easy/quick way
> to fully erase a tape, or at least erase the two NB
derived IDs
> [RVSN,EVSN]?
I just went through this with a bunch of tapes that
NetBackup had decided
was bad (apparently from a controller problem we had). All
you should
have to do is relabel the tape, you can do that with the
"bplabel"
command.
I just checked and I no longer have the command in my
history, but I
believe you just need to run:
<nebackupdir>/bin/admincmd/bplabel -ev <id> -d dlt
-n <drive>
where <id> is the tape ID you wish to write on the tape, and
<drive> is
the NetBackup name for the drive.
In my world, I would use:
/usr/openv/netbackup/bin/admincmd/bplabel -ev DGQ100
-d dlt -n Drive0
--
Dan Rich <drich AT employees DOT org> |
http://www.employees.org/~drich/
| "Danger, you haven't seen
the last of me!"
| "No, but the first of you
turns my stomach!"
| -- The Firesign
Theatre's Nick Danger
_______________________________________________
Veritas-bu maillist - Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
|