Veritas-bu

[Veritas-bu] Media Unique ID - from Media GUID

2003-05-29 17:23:49
Subject: [Veritas-bu] Media Unique ID - from Media GUID
From: ddunham AT taos DOT com (Darren Dunham)
Date: Thu, 29 May 2003 14:23:49 -0700 (PDT)
> Ok, so what happens when I label a tape on a standalone drive("testlab" with
> a label that does not match the barcode(GZ1001), then I put the media in a
> barcode library?  Do I now have two pieces of media in the media database,
> GZ1001 and testlab?  How does Net Backup keep track of retention and such
> for the 1 media that is now two?  

A netbackup master has a single volume database.  The index to this is
the volume label, so there should not be two volumes with the same label
in the database.

Each entry may contain a barcode label.  The default is to align the two
so that you're not confused by which label is which.

When you put the tape in the robot and did an inventory, if there were
no other tape with that barcode, it would have created a new volume
database entry for that tape.  So you now have 2 entries in the database
for one tape.

If the new volume is requested, VM will insert the tape in a drive and
check the label.  It will find the original label on the tape and detect
that it's not the tape it wanted.

I'm not certain the best way to clean that up.  I believe you would want
to run an update so that the barcode was properly set on the entry
volume database.  

# ./vmquery -m 000001
================================================================================
media ID:              000001                   <-primary key, unique
media type:            DLT cartridge tape (11)
barcode:               000001                   <-attribute field
                                                  
> data to be used with Netbackup, or secondly, if a barcode label comes off
> the media you can easily find out what barcode label should be on the tape.
> Can anyone reaffirm this?

If you stick a tape in a drive, NB should "mount" the drive.  The device
manager should show both the volume label and the barcode.  But with
just the volume label you could do a vmquery to find the barcode.

My understanding anyway.
-- 
Darren Dunham                                           ddunham AT taos DOT com
Unix System Administrator                    Taos - The SysAdmin Company
Got some Dr Pepper?                           San Francisco, CA bay area
         < This line left intentionally blank to confuse you. >

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