Veritas-bu

Re: [Veritas-bu] Barcode rules

2009-04-20 16:15:40
Subject: Re: [Veritas-bu] Barcode rules
From: "Nardello, John" <john.nardello AT wamu DOT net>
To: <VERITAS-BU AT MAILMAN.ENG.AUBURN DOT EDU>
Date: Mon, 20 Apr 2009 13:11:58 -0700
Ah, I see what you're going for now - sorry. Yes, the only way to redo
that media id is to re-add the tape into NetBackup (delete it from
NetBackup and then inventory the library), which is only possible if the
tape isn't assigned (contains no active data). 

If this setup is something that's been going in place for years, it's
really going to hurt switching over but I still suggest you do so. 

Evil thought of the day - want to guess what identifier is printed on
those helpful DR reports you get when NetBackup runs a hot catalog
backup ? Yep, the media id. That's going to really hurt you when you
have to recover that Master and aren't sure what tape its catalog
backups are on for recovery. 

- John Nardello


-----Original Message-----
From: veritas-bu-bounces AT mailman.eng.auburn DOT edu
[mailto:veritas-bu-bounces AT mailman.eng.auburn DOT edu] On Behalf Of stu52
Sent: Monday, April 20, 2009 12:12 PM
To: VERITAS-BU AT MAILMAN.ENG.AUBURN DOT EDU
Subject: [Veritas-bu] Barcode rules



Nardello, John wrote:
> Command to modify the barcode is below. Pretty easy to use it with a
> quick loop to set all the barcodes = media IDs. 
> 
> /usr/openv/volmgr/bin/vmchange -barcode $MEDIA -m $MEDIA
> 
>       
> - John Nardello
> 
> 
> 


that's fine, but not what I had in mind at all.  

The info in the media db is based upon the 6-characters that come from
the barcode rules in place when the tape was first introduced into NBU.
So, in my  example, a tape with barcode AA1000L3 has an entry in the
media db as (media id) 1000L3.  When this tape gets images written to
it, the images are associated with media id 1000L3.

I want a way to convert the media db so that the entry for 1000L3 is
converted to AA1000.  Your command does not do that and I don't see a
way for that to be done using the vmchange command.  AFAIK, there's no
command that will change the media id

-stuart

+----------------------------------------------------------------------
|This was sent by stu_liddle AT yahoo DOT com via Backup Central.
|Forward SPAM to abuse AT backupcentral DOT com.
+----------------------------------------------------------------------


_______________________________________________
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
_______________________________________________
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu

<Prev in Thread] Current Thread [Next in Thread>