Veritas-bu

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

2003-05-29 17:01:44
Subject: [Veritas-bu] Media Unique ID - from Media GUID
From: Mark.Donaldson AT experianems DOT com (Donaldson, Mark)
Date: Thu, 29 May 2003 15:01:44 -0600
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C32625.827CFAA0
Content-Type: text/plain

No, it's still one piece of media.  The vol DB tracks everything by the
on-tape label, I think, the barcode is a field in that record.  I think the
unique field must be on-tape label as Vol ID.  

Look at vmquery -w -m <media> output to see the columns.  ID is field 1,
Barcode is field 4.  Usually they match.

There is some sort of duplicate tape ID error I saw once when I had a
mismatch between these values that I think stomped on another Vol ID but
it's been years & I've forgotten the details.  Sorry.

-M
-----Original Message-----
From: MOYES-CLARK,SHANNON (HP-FtCollins,ex1) [mailto:shannonm AT hp DOT com]
Sent: Thursday, May 29, 2003 2:48 PM
To: 'Donaldson, Mark'; 'Nash, Ebon'; MOYES-CLARK,SHANNON (HP-FtCollins,ex1);
'veritas-bu AT mailman.eng.auburn DOT edu'
Subject: RE: [Veritas-bu] Media Unique ID - from Media GUID


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?  

Trying to understand-

Shannon


Shannon J. Moyes Clark
Software Engineer
Storage Software Division
Hewlett Packard Company
shannon.moyes-clark AT hp DOT com < <mailto:shannon.moyes-clark AT hp DOT com>>
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
All of that legal stuff about the opinions expressed here being mine and not
those of HP.
  
-----Original Message-----
From: Donaldson, Mark [mailto:Mark.Donaldson AT experianems DOT com] 
Sent: Thursday, May 29, 2003 2:18 PM
To: 'Nash, Ebon'; Donaldson, Mark; 'MOYES-CLARK,SHANNON (HP-FtCollins,ex1)';
'veritas-bu AT mailman.eng.auburn DOT edu'
Subject: RE: [Veritas-bu] Media Unique ID - from Media GUID


The on-tape label is used, too, for standalone, AVR, type drives.
-M
-----Original Message-----
From: Nash, Ebon [mailto:Ebon_Nash AT compuware DOT com]
Sent: Thursday, May 29, 2003 2:14 PM
To: 'Donaldson, Mark'; 'MOYES-CLARK,SHANNON (HP-FtCollins,ex1)';
'veritas-bu AT mailman.eng.auburn DOT edu'
Subject: RE: [Veritas-bu] Media Unique ID - from Media GUID


It is my understanding the mediaid created using bplabel is not important to
NetBackup.  If you are using a library with barcode labels on the media,
then that is what NetBackup uses.  If the label you gave it using bplabel,
mismatches the barcode label, NetBackup uses the barcode label.  The only
thing I am aware of bplabel doing is preparing a tape with non-netbackup
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?


Ebon Nash
-----Original Message-----
From: Donaldson, Mark [mailto:Mark.Donaldson AT experianems DOT com]
Sent: Thursday, May 29, 2003 3:31 PM
To: 'MOYES-CLARK,SHANNON (HP-FtCollins,ex1)'; Donaldson, Mark;
'veritas-bu AT mailman.eng.auburn DOT edu'
Subject: RE: [Veritas-bu] Media Unique ID - from Media GUID


I don't think there is a "truly unique ID".  It's all just the Volume label.
That why each media server must be managing a unique set of ID's.  In other
words, if the media servers are sharing a common master, then the volume
ID's must be unique within that set of servers.  Don't duplicate ID's.

The Vol DB then, on the master server, knows about all the tapes that can be
used by all the different media servers.  When a tape is assigned to a media
server, then the volume ID entry is made in that media servers media
database.  When the tape is unassigned, it'll be removed.  Don't label two
pieces of media the same name if it's got a common master server.

I'd go on to say that if you've got more than one master server, to still
not duplicate labels.  Operationally, you're just begging them to be mixed
up.  "And which tape 000001 do you want inserted?".

-M
-----Original Message-----
From: MOYES-CLARK,SHANNON (HP-FtCollins,ex1) [mailto:shannonm AT hp DOT com]
Sent: Thursday, May 29, 2003 1:25 PM
To: 'Donaldson, Mark'; MOYES-CLARK,SHANNON (HP-FtCollins,ex1);
'veritas-bu AT mailman.eng.auburn DOT edu'
Subject: [Veritas-bu] Media Unique ID - from Media GUID


Hi all

You are right, my bad - the media database not the Volume Database.  The
GUID would be the unique id of the media.  Can I label two pieces of media
with the same name via "bplabel"?  How then does Net Backup tell them apart?
There must be some truly unique id on each piece of labeled media, right?
How would I get that unique name.

Shannon


Shannon J. Moyes Clark
Software Engineer
Storage Software Division
Hewlett Packard Company
shannon.moyes-clark AT hp DOT com < <mailto:shannon.moyes-clark AT hp DOT com>>
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
All of that legal stuff about the opinions expressed here being mine and not
those of HP.
  
-----Original Message-----
From: Donaldson, Mark [mailto:Mark.Donaldson AT experianems DOT com] 
Sent: Thursday, May 29, 2003 12:21 PM
To: 'MOYES-CLARK,SHANNON (HP-FtCollins,ex1)';
'veritas-bu AT mailman.eng.auburn DOT edu'
Subject: RE: [Veritas-bu] Media GUID's


The volume database is on the master server so it's common to the two media
servers.  Each media server has it's own media database but that's
different.  Use labels such that no two are the same between media servers.

GUID?  I don't recognize the acronym.

Almost everything you want to know about a given piece of media is available
from the "vmquery" command which queries the Vol DB on the master server.

HTH - Mark
-----Original Message-----
From: MOYES-CLARK,SHANNON (HP-FtCollins,ex1) [mailto:shannonm AT hp DOT com]
Sent: Thursday, May 29, 2003 10:38 AM
To: 'veritas-bu AT mailman.eng.auburn DOT edu'
Subject: [Veritas-bu] Media GUID's


Hi all,

    So if I have two media servers and one master server and they each have
their own volume database, it is possible to get media with the same label.
Is it possible / how do I get the GUID for a given piece of media from the
command line?

Thanks,

Shannon


Shannon J. Moyes Clark
Software Engineer
Storage Software Division
Hewlett Packard Company
shannon.moyes-clark AT hp DOT com < <mailto:shannon.moyes-clark AT hp DOT com>>
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
All of that legal stuff about the opinions expressed here being mine and not
those of HP.




The contents of this e-mail are intended for the named addressee only. It
contains information that may be confidential. Unless you are the named
addressee or an authorized designee, you may not copy or use it, or disclose
it to anyone else. If you received it in error please notify us immediately
and then destroy it. 

------_=_NextPart_001_01C32625.827CFAA0
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3DUS-ASCII">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>RE: [Veritas-bu] Media Unique ID - from Media GUID</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>No, it's still one piece of media.&nbsp; The vol DB =
tracks everything by the on-tape label, I think, the barcode is a field =
in that record.&nbsp; I think the unique field must be on-tape label as =
Vol ID.&nbsp; </FONT></P>

<P><FONT SIZE=3D2>Look at vmquery -w -m &lt;media&gt; output to see the =
columns.&nbsp; ID is field 1, Barcode is field 4.&nbsp; Usually they =
match.</FONT>
</P>

<P><FONT SIZE=3D2>There is some sort of duplicate tape ID error I saw =
once when I had a mismatch between these values that I think stomped on =
another Vol ID but it's been years &amp; I've forgotten the =
details.&nbsp; Sorry.</FONT></P>

<P><FONT SIZE=3D2>-M</FONT>
<BR><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: MOYES-CLARK,SHANNON (HP-FtCollins,ex1) [<A =
HREF=3D"mailto:shannonm AT hp DOT com">mailto:shannonm AT hp DOT com</A>]</FONT>
<BR><FONT SIZE=3D2>Sent: Thursday, May 29, 2003 2:48 PM</FONT>
<BR><FONT SIZE=3D2>To: 'Donaldson, Mark'; 'Nash, Ebon'; =
MOYES-CLARK,SHANNON (HP-FtCollins,ex1); =
'veritas-bu AT mailman.eng.auburn DOT edu'</FONT>
<BR><FONT SIZE=3D2>Subject: RE: [Veritas-bu] Media Unique ID - from =
Media GUID</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>Ok, so what happens when I label a tape on a =
standalone drive(&quot;testlab&quot; with a label that does not match =
the barcode(GZ1001), then I put the media in a barcode library?&nbsp; =
Do I now have two pieces of media in the media database, GZ1001 and =
testlab?&nbsp; How does Net Backup keep track of retention and such for =
the 1 media that is now two?&nbsp; </FONT></P>

<P><FONT SIZE=3D2>Trying to understand-</FONT>
</P>

<P><FONT SIZE=3D2>Shannon</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>Shannon J. Moyes Clark</FONT>
<BR><FONT SIZE=3D2>Software Engineer</FONT>
<BR><FONT SIZE=3D2>Storage Software Division</FONT>
<BR><FONT SIZE=3D2>Hewlett Packard Company</FONT>
<BR><FONT SIZE=3D2>shannon.moyes-clark AT hp DOT com &lt; &lt;<A =
HREF=3D"mailto:shannon.moyes-clark AT hp DOT com">mailto:shannon.moyes-clark@hp=
.com</A>&gt;&gt;</FONT>
<BR><FONT SIZE=3D2>- - - - - - - - - - - - - - - - - - - - - - - - - - =
- - - - - - - -</FONT>
<BR><FONT SIZE=3D2>All of that legal stuff about the opinions expressed =
here being mine and not those of HP.</FONT>
<BR><FONT SIZE=3D2>&nbsp; </FONT>
<BR><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: Donaldson, Mark [<A =
HREF=3D"mailto:Mark.Donaldson AT experianems DOT com">mailto:Mark.Donaldson@exp=
erianems.com</A>] </FONT>
<BR><FONT SIZE=3D2>Sent: Thursday, May 29, 2003 2:18 PM</FONT>
<BR><FONT SIZE=3D2>To: 'Nash, Ebon'; Donaldson, Mark; =
'MOYES-CLARK,SHANNON (HP-FtCollins,ex1)'; =
'veritas-bu AT mailman.eng.auburn DOT edu'</FONT>
<BR><FONT SIZE=3D2>Subject: RE: [Veritas-bu] Media Unique ID - from =
Media GUID</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>The on-tape label is used, too, for standalone, AVR, =
type drives.</FONT>
<BR><FONT SIZE=3D2>-M</FONT>
<BR><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: Nash, Ebon [<A =
HREF=3D"mailto:Ebon_Nash AT compuware DOT com">mailto:Ebon_Nash AT compuware 
DOT com</=
A>]</FONT>
<BR><FONT SIZE=3D2>Sent: Thursday, May 29, 2003 2:14 PM</FONT>
<BR><FONT SIZE=3D2>To: 'Donaldson, Mark'; 'MOYES-CLARK,SHANNON =
(HP-FtCollins,ex1)'; 'veritas-bu AT mailman.eng.auburn DOT edu'</FONT>
<BR><FONT SIZE=3D2>Subject: RE: [Veritas-bu] Media Unique ID - from =
Media GUID</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>It is my understanding the mediaid created using =
bplabel is not important to NetBackup.&nbsp; If you are using a library =
with barcode labels on the media, then that is what NetBackup =
uses.&nbsp; If the label you gave it using bplabel, mismatches the =
barcode label, NetBackup uses the barcode label.&nbsp; The only thing I =
am aware of bplabel doing is preparing a tape with non-netbackup 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.&nbsp; Can anyone reaffirm this?</FONT></P>
<BR>

<P><FONT SIZE=3D2>Ebon Nash</FONT>
<BR><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: Donaldson, Mark [<A =
HREF=3D"mailto:Mark.Donaldson AT experianems DOT com">mailto:Mark.Donaldson@exp=
erianems.com</A>]</FONT>
<BR><FONT SIZE=3D2>Sent: Thursday, May 29, 2003 3:31 PM</FONT>
<BR><FONT SIZE=3D2>To: 'MOYES-CLARK,SHANNON (HP-FtCollins,ex1)'; =
Donaldson, Mark; 'veritas-bu AT mailman.eng.auburn DOT edu'</FONT>
<BR><FONT SIZE=3D2>Subject: RE: [Veritas-bu] Media Unique ID - from =
Media GUID</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>I don't think there is a &quot;truly unique =
ID&quot;.&nbsp; It's all just the Volume label.&nbsp; That why each =
media server must be managing a unique set of ID's.&nbsp; In other =
words, if the media servers are sharing a common master, then the =
volume ID's must be unique within that set of servers.&nbsp; Don't =
duplicate ID's.</FONT></P>

<P><FONT SIZE=3D2>The Vol DB then, on the master server, knows about =
all the tapes that can be used by all the different media =
servers.&nbsp; When a tape is assigned to a media server, then the =
volume ID entry is made in that media servers media database.&nbsp; =
When the tape is unassigned, it'll be removed.&nbsp; Don't label two =
pieces of media the same name if it's got a common master =
server.</FONT></P>

<P><FONT SIZE=3D2>I'd go on to say that if you've got more than one =
master server, to still not duplicate labels.&nbsp; Operationally, =
you're just begging them to be mixed up.&nbsp; &quot;And which tape =
000001 do you want inserted?&quot;.</FONT></P>

<P><FONT SIZE=3D2>-M</FONT>
<BR><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: MOYES-CLARK,SHANNON (HP-FtCollins,ex1) [<A =
HREF=3D"mailto:shannonm AT hp DOT com">mailto:shannonm AT hp DOT com</A>]</FONT>
<BR><FONT SIZE=3D2>Sent: Thursday, May 29, 2003 1:25 PM</FONT>
<BR><FONT SIZE=3D2>To: 'Donaldson, Mark'; MOYES-CLARK,SHANNON =
(HP-FtCollins,ex1); 'veritas-bu AT mailman.eng.auburn DOT edu'</FONT>
<BR><FONT SIZE=3D2>Subject: [Veritas-bu] Media Unique ID - from Media =
GUID</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>Hi all</FONT>
</P>

<P><FONT SIZE=3D2>You are right, my bad - the media database not the =
Volume Database.&nbsp; The GUID would be the unique id of the =
media.&nbsp; Can I label two pieces of media with the same name via =
&quot;bplabel&quot;?&nbsp; How then does Net Backup tell them =
apart?&nbsp; There must be some truly unique id on each piece of =
labeled media, right?&nbsp; How would I get that unique =
name.</FONT></P>

<P><FONT SIZE=3D2>Shannon</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>Shannon J. Moyes Clark</FONT>
<BR><FONT SIZE=3D2>Software Engineer</FONT>
<BR><FONT SIZE=3D2>Storage Software Division</FONT>
<BR><FONT SIZE=3D2>Hewlett Packard Company</FONT>
<BR><FONT SIZE=3D2>shannon.moyes-clark AT hp DOT com &lt; &lt;<A =
HREF=3D"mailto:shannon.moyes-clark AT hp DOT com">mailto:shannon.moyes-clark@hp=
.com</A>&gt;&gt;</FONT>
<BR><FONT SIZE=3D2>- - - - - - - - - - - - - - - - - - - - - - - - - - =
- - - - - - - -</FONT>
<BR><FONT SIZE=3D2>All of that legal stuff about the opinions expressed =
here being mine and not those of HP.</FONT>
<BR><FONT SIZE=3D2>&nbsp; </FONT>
<BR><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: Donaldson, Mark [<A =
HREF=3D"mailto:Mark.Donaldson AT experianems DOT com">mailto:Mark.Donaldson@exp=
erianems.com</A>] </FONT>
<BR><FONT SIZE=3D2>Sent: Thursday, May 29, 2003 12:21 PM</FONT>
<BR><FONT SIZE=3D2>To: 'MOYES-CLARK,SHANNON (HP-FtCollins,ex1)'; =
'veritas-bu AT mailman.eng.auburn DOT edu'</FONT>
<BR><FONT SIZE=3D2>Subject: RE: [Veritas-bu] Media GUID's</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>The volume database is on the master server so it's =
common to the two media servers.&nbsp; Each media server has it's own =
media database but that's different.&nbsp; Use labels such that no two =
are the same between media servers.</FONT></P>

<P><FONT SIZE=3D2>GUID?&nbsp; I don't recognize the acronym.</FONT>
</P>

<P><FONT SIZE=3D2>Almost everything you want to know about a given =
piece of media is available from the &quot;vmquery&quot; command which =
queries the Vol DB on the master server.</FONT></P>

<P><FONT SIZE=3D2>HTH - Mark</FONT>
<BR><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: MOYES-CLARK,SHANNON (HP-FtCollins,ex1) [<A =
HREF=3D"mailto:shannonm AT hp DOT com">mailto:shannonm AT hp DOT com</A>]</FONT>
<BR><FONT SIZE=3D2>Sent: Thursday, May 29, 2003 10:38 AM</FONT>
<BR><FONT SIZE=3D2>To: 'veritas-bu AT mailman.eng.auburn DOT edu'</FONT>
<BR><FONT SIZE=3D2>Subject: [Veritas-bu] Media GUID's</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>Hi all,</FONT>
</P>

<P><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp; So if I have two media servers and =
one master server and they each have their own volume database, it is =
possible to get media with the same label.&nbsp; Is it possible / how =
do I get the GUID for a given piece of media from the command =
line?</FONT></P>

<P><FONT SIZE=3D2>Thanks,</FONT>
</P>

<P><FONT SIZE=3D2>Shannon</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>Shannon J. Moyes Clark</FONT>
<BR><FONT SIZE=3D2>Software Engineer</FONT>
<BR><FONT SIZE=3D2>Storage Software Division</FONT>
<BR><FONT SIZE=3D2>Hewlett Packard Company</FONT>
<BR><FONT SIZE=3D2>shannon.moyes-clark AT hp DOT com &lt; &lt;<A =
HREF=3D"mailto:shannon.moyes-clark AT hp DOT com">mailto:shannon.moyes-clark@hp=
.com</A>&gt;&gt;</FONT>
<BR><FONT SIZE=3D2>- - - - - - - - - - - - - - - - - - - - - - - - - - =
- - - - - - - -</FONT>
<BR><FONT SIZE=3D2>All of that legal stuff about the opinions expressed =
here being mine and not those of HP.</FONT>
</P>
<BR>
<BR>
<BR>

<P><FONT SIZE=3D2>The contents of this e-mail are intended for the =
named addressee only. It contains information that may be confidential. =
Unless you are the named addressee or an authorized designee, you may =
not copy or use it, or disclose it to anyone else. If you received it =
in error please notify us immediately and then destroy it. </FONT></P>

</BODY>
</HTML>
------_=_NextPart_001_01C32625.827CFAA0--

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