Veritas-bu

[Veritas-bu] Tape Question

2003-11-03 16:07:57
Subject: [Veritas-bu] Tape Question
From: scott.kendall AT abbott DOT com (scott.kendall AT abbott DOT com)
Date: Mon, 3 Nov 2003 15:07:57 -0600
This is a multipart message in MIME format.
--=_alternative 0074225286256DD3_=
Content-Type: text/plain; charset="us-ascii"

First of all, the expiration date seen with vmquery is not the expiration 
date for NetBackup.  The expiration date seen with vmquery is the 
expiration date within Media Manager and it's probably empty because 
you're probably not using this type of expiration in your environment. 
This is the date that tells Media Manager the tape has been in your 
rotation for x years and should not be considered "reliable" any more... 
sort of like what max mounts value is for.

Assigned media that no longer contains valid backups can be caused by not 
decommissioning a media server properly or rebuilding a media server and 
not restoring it's MediaDB.  Before turning a media server off you should 
move all the media ID's from that media server to another one (or the 
master, if it's also a media server) using bpmedia -movedb.

Not sure if that's your problem here.  It's weird that the Media Contents 
report shows an image that has not expired but the image catalog doesn't 
know about it.  Does the Media Contents report get this expiration 
directly from the tape when it reads the tape or is it coming from 
somewhere else?  If it's coming from the tape, did you maybe bpexpdate 
this image to expire it early and it's showing the date it would have 
expired based on when it was written (that would explain why it's not in 
your image catalog).

The available_media_report can be thrown off if it's ran when a media 
server is unreachable (or decommissioned improperly as stated above) or if 
all of the Storage Units for that media server have been removed.  I can't 
remember how it shows these.  If you want to test to see if these 
"orphaned" medias show up as FULL, you could stop the services on one of 
your media servers and rerun the report and see if a large number of the 
tapes change to FULL status.


- Scott





"Lewick, Taylor" <tlewick AT hrblock DOT com>
Sent by: veritas-bu-admin AT mailman.eng.auburn DOT edu
11/03/2003 01:53 PM

 
        To:     "'veritas-bu AT mailman.eng.auburn DOT edu'" <veritas-bu AT 
mailman.eng.auburn DOT edu>
        cc: 
        Subject:        RE: [Veritas-bu] Tape Question


Thank you, question to everyone.  What can cause assigned media that no
longer contains valid backups?  Why wouldn't NetBackup have taken care of
this itslef?

> -----Original Message-----
> From:          Marx, Keath [mailto:Keath.Marx AT Anthem DOT com]
> Sent:          Monday, November 03, 2003 1:41 PM
> To:            Lewick, Taylor; 'veritas-bu AT mailman.eng.auburn DOT edu'
> Subject:               RE: [Veritas-bu] Tape Question
> 
> Try running bpexpdate -deassignempty.  This should cause it to release 
any
> tape on which all of the images are gone.  You may need the -force key 
or
> if you have multiple media servers -m
> 
> The full option list is below.
> 
> bpexpdate: -deassignempty [-m <media id>] [-host <name>] [-force]
>              [-M <master_server,...,master_server>]
> 
>                                -----Original Message-----
>                                 Subject: [Veritas-bu] Tape Question
> 
>                                If I have a tape that according to the
> available_media_report has been
>                                marked as FULL, but the images on media 
report returns no
> information, a
>                                vmquery -m shows no expiration date, and 
a media contents
> report shows only
>                                one image that has not yet expired, what 
do I make of this?
> 
>                                I would say keep it in the library until 
the expiration date
> shown on the
>                                media contents report passes, but 
according to the images on
> media report
>                                there isn't an image that NetBackup knows 
about anyway, and
> if I cd to the
>                                /db/images/client-name/epoch_directory 
there is no image
> matching what is
>                                displayed on the media contents report.
> 
>                                Should I just manually expire the tape 
and put it back in
> the scratch volume
>                                pool?  Or should I keep it until the 
expiration date?  Any
> idea what could
>                                cause this?
> 
>                                Thanks,
>                                Taylor
> 
> _______________________________________________
>                                Veritas-bu maillist  - 
Veritas-bu AT mailman.eng.auburn DOT edu
>                                
> http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
> CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, 
> is for the sole use of the intended recipient(s) and may contain
> confidential
> and privileged information or otherwise protected by law.  Any
> unauthorized
> review, use, disclosure or distribution is prohibited.  If you are not 
the
> intended recipient, please contact the sender by reply e-mail and 
destroy
> all copies of the original message.
_______________________________________________
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu



--=_alternative 0074225286256DD3_=
Content-Type: text/html; charset="us-ascii"


<br><font size=2 face="Arial">First of all, the expiration date seen with 
vmquery is not the expiration date for NetBackup. &nbsp;The expiration date 
seen with vmquery is the expiration date within Media Manager and it's probably 
empty because you're probably not using this type of expiration in your 
environment. &nbsp;This is the date that tells Media Manager the tape has been 
in your rotation for x years and should not be considered &quot;reliable&quot; 
any more... sort of like what max mounts value is for.</font>
<br>
<br><font size=2 face="Arial">Assigned media that no longer contains valid 
backups can be caused by not decommissioning a media server properly or 
rebuilding a media server and not restoring it's MediaDB. &nbsp;Before turning 
a media server off you should move all the media ID's from that media server to 
another one (or the master, if it's also a media server) using bpmedia 
-movedb.</font>
<br>
<br><font size=2 face="Arial">Not sure if that's your problem here. &nbsp;It's 
weird that the Media Contents report shows an image that has not expired but 
the image catalog doesn't know about it. &nbsp;Does the Media Contents report 
get this expiration directly from the tape when it reads the tape or is it 
coming from somewhere else? &nbsp;If it's coming from the tape, did you maybe 
bpexpdate this image to expire it early and it's showing the date it would have 
expired based on when it was written (that would explain why it's not in your 
image catalog).</font>
<br>
<br><font size=2 face="Arial">The available_media_report can be thrown off if 
it's ran when a media server is unreachable (or decommissioned improperly as 
stated above) or if all of the Storage Units for that media server have been 
removed. &nbsp;I can't remember how it shows these. &nbsp;If you want to test 
to see if these &quot;orphaned&quot; medias show up as FULL, you could stop the 
services on one of your media servers and rerun the report and see if a large 
number of the tapes change to FULL status.</font>
<br>
<br>
<br><font size=2 face="Arial">- Scott</font>
<br>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td>
<td><font size=1 face="sans-serif"><b>&quot;Lewick, Taylor&quot; &lt;tlewick AT 
hrblock DOT com&gt;</b></font>
<br><font size=1 face="sans-serif">Sent by: veritas-bu-admin AT 
mailman.eng.auburn DOT edu</font>
<p><font size=1 face="sans-serif">11/03/2003 01:53 PM</font>
<br>
<td><font size=1 face="Arial">&nbsp; &nbsp; &nbsp; &nbsp; </font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; To: &nbsp; 
&nbsp; &nbsp; &nbsp;&quot;'veritas-bu AT mailman.eng.auburn DOT edu'&quot; 
&lt;veritas-bu AT mailman.eng.auburn DOT edu&gt;</font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; cc: &nbsp; 
&nbsp; &nbsp; &nbsp;</font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; Subject: &nbsp; 
&nbsp; &nbsp; &nbsp;RE: [Veritas-bu] Tape Question</font></table>
<br>
<br>
<br><font size=2 face="Courier New">Thank you, question to everyone. &nbsp;What 
can cause assigned media that no<br>
longer contains valid backups? &nbsp;Why wouldn't NetBackup have taken care 
of<br>
this itslef?<br>
<br>
&gt; -----Original Message-----<br>
&gt; From: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Marx, Keath 
[mailto:Keath.Marx AT Anthem DOT com]<br>
&gt; Sent: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Monday, 
November 03, 2003 1:41 PM<br>
&gt; To: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Lewick, 
Taylor; 'veritas-bu AT mailman.eng.auburn DOT edu'<br>
&gt; Subject: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; RE: 
[Veritas-bu] Tape Question<br>
&gt; <br>
&gt; Try running bpexpdate -deassignempty. &nbsp;This should cause it to 
release any<br>
&gt; tape on which all of the images are gone. &nbsp;You may need the -force 
key or<br>
&gt; if you have multiple media servers -m<br>
&gt; <br>
&gt; The full option list is below.<br>
&gt; <br>
&gt; bpexpdate: -deassignempty [-m &lt;media id&gt;] [-host &lt;name&gt;] 
[-force]<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;[-M 
&lt;master_server,...,master_server&gt;]<br>
&gt; <br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; -----Original Message-----<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Subject: [Veritas-bu] 
Tape Question<br>
&gt; <br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; If I have a tape that 
according to the<br>
&gt; available_media_report has been<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; marked as FULL, but the images 
on media report returns no<br>
&gt; information, a<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; vmquery -m shows no expiration 
date, and a media contents<br>
&gt; report shows only<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; one image that has not yet 
expired, what do I make of this?<br>
&gt; <br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; I would say keep it in the 
library until the expiration date<br>
&gt; shown on the<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; media contents report passes, 
but according to the images on<br>
&gt; media report<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; there isn't an image that 
NetBackup knows about anyway, and<br>
&gt; if I cd to the<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
/db/images/client-name/epoch_directory there is no image<br>
&gt; matching what is<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; displayed on the media 
contents report.<br>
&gt; <br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Should I just manually expire 
the tape and put it back in<br>
&gt; the scratch volume<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; pool? &nbsp;Or should I keep 
it until the expiration date? &nbsp;Any<br>
&gt; idea what could<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cause this?<br>
&gt; <br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Thanks,<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Taylor<br>
&gt; <br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
_______________________________________________<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Veritas-bu maillist &nbsp;- 
&nbsp;Veritas-bu AT mailman.eng.auburn DOT edu<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu<br>
&gt; CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, 
<br>
&gt; is for the sole use of the intended recipient(s) and may contain<br>
&gt; confidential<br>
&gt; and privileged information or otherwise protected by law. &nbsp;Any<br>
&gt; unauthorized<br>
&gt; review, use, disclosure or distribution is prohibited. &nbsp;If you are 
not the<br>
&gt; intended recipient, please contact the sender by reply e-mail and 
destroy<br>
&gt; all copies of the original message.<br>
_______________________________________________<br>
Veritas-bu maillist &nbsp;- &nbsp;Veritas-bu AT mailman.eng.auburn DOT edu<br>
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu<br>
</font>
<br>
<br>
--=_alternative 0074225286256DD3_=--

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