Veritas-bu

Re: [Veritas-bu] Barcode rules

2009-04-20 15:16:39
Subject: Re: [Veritas-bu] Barcode rules
From: <judy_hinchcliffe AT administaff DOT com>
To: <john.nardello AT wamu DOT net>, <VERITAS-BU AT MAILMAN.ENG.AUBURN DOT EDU>
Date: Mon, 20 Apr 2009 14:13:23 -0500
Problem with that is that you are changing the id and the 1000l3 got
written to the tape, so if you change the id you have to bplabel all the
tapes to have the new id.  Which you cannot do until it has expired, and
if you put it back in for a restore and it comes in with the new ID then
the restore will fail because the ID's don't match and you would have to
do the vmchange to put it back to the old id.

-----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
Nardello, John
Sent: Monday, April 20, 2009 1:27 PM
To: VERITAS-BU AT MAILMAN.ENG.AUBURN DOT EDU
Subject: Re: [Veritas-bu] Barcode rules

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


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