Veritas-bu

Re: [Veritas-bu] Barcode rules

2009-04-20 14:30:48
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 11:26:31 -0700
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


-----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 10:32 AM
To: VERITAS-BU AT MAILMAN.ENG.AUBURN DOT EDU
Subject: [Veritas-bu] Barcode rules


OK...here's a question for everyone.

I have come into a NBU 6.5.3 environment as a new backup admin.  For
some unknown reason they had no barcode rules defined, so all of the
8-character barcodes are getting the last 6 characters for the media
database.  Hence a barcode that has AP1000L3 is turned into a media code
of 1000L3.  When you do a vmquery -m 1000L3, it will show the full
barcode, but that's not how it is indexed in the media database.
 
So, the problem is if you change the barcode rules now, you will
basically have an issue with tapes create prior to changing the rules.
So, if you send off tape 1000L3 and change the barcode rules and then
bring it back it will now be read as AP1000 and the media database will
think it is a new (Scratch) tape instead of the tape with whatever data
is associated with 1000L3.  See the problem?  
 
Is there any way to basically change the existing media id's to the
proper ones prior to implementing a proper set of barcode rules?  Or is
that a lost cause?  The vmchange command doesn't seem to be able to do
this.

Has anyone run into this situation before?

thanks.

+----------------------------------------------------------------------
|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>