Veritas-bu

[Veritas-bu] Backups stuck at tape mount

2005-12-02 02:53:40
Subject: [Veritas-bu] Backups stuck at tape mount
From: dean.deano AT gmail DOT com (Dean)
Date: Fri, 2 Dec 2005 18:53:40 +1100
------=_Part_47517_22085440.1133510020997
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Doing the "mt status" test is a good suggestion, but the fact that the tape=
s
can be sucessfully dismounted using robtest indicates that the device files
are pointing to the correct drives. robtest issues mount commands to the
robot, but dismount commands are sent to the drives themselves.

With these backups that get stuck at "mounting tape", does the robot
actually physically mount the tape in the drive?

What is the status of the drives in Device Monitor (or vmoprcmd)?
Is the Storage Unit pointing to the correct robot?
Any error messages on the library console (if it has one)?
Or any errrors in /var/adm/messages on your master/media ?

I personally wouldn't get too hung up on the " db_lock_media:unable to lock
media at offset" message. The message has appeared continuously on most or
all systems I've worked on. Although I don't know what it means, it doesn't
seem to indicate a problem.

Cheers,
Dean

On 12/2/05, Sean Clarke <sean_clarke AT softhome DOT net> wrote:
>
> Have you tried putting the tape into each drive in turn using robtest
> and then try to see the tape by pointing an "mt status" command at the
> relevant device file as obtained from tpconfig?
>
> This will tell you if you have cross linked drives or not ie. You could
> have the situation where NBU sticks a tape in robot drive 1, thinks it
> is trying to talk to the device file for that drive when in fact that
> particular device file is for robot drive 2 where there is no tape.
> It'll just sit there until it times out.
>
> Had this situation last week when an engineer from a storage company
> that will remain nameless swapped over a pair of SCSI cables to test  a
> drive and forgot to swap them back :-(
>
> HTH
>
> Sean
>
> > -----Original Message-----
> > From: veritas-bu-admin AT mailman.eng.auburn DOT edu
> > [mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu] On Behalf Of
> > Tschida, Tom (C)(STP)
> > Sent: 01 December 2005 19:07
> > To: veritas-bu AT mailman.eng.auburn DOT edu
> > Subject: [Veritas-bu] Backups stuck at tape mount
> >
> >
> > All,
> >
> > I've recently upgraded from 4.5MP8 to 5.1MP2.  Master server
> > is a V880 running Solaris 8.  Immediately following the
> > upgrade, all backups hang at "mounting tape###".
> >
> > I've looked through the bptm logs and found the following message:
> >
> >  db_lock_media:unable to lock media at offset (tape###)
> >
> > In looking through the mail list and the Veritas website,
> > I've found references that tell me some other process is
> > trying to use that tape.
> >
> > What I've done so far:
> >
> > *  Rebuild the sg drivers
> > *  Rebuild the globDB (several time)
> > *  reboot -r the master
> > *  use robtest to manually mount and unmount tapes - works fine
> > *  remove the /usr/openv/netbackup/db/jobs directory
> >
> > Has anyone else come across this?  If so, what else can I try
> > besides backing out and trying the upgrade again?
> >
> > Tom Tschida
> > Guidant Corp
> >
> > _______________________________________________
> > 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
>

------=_Part_47517_22085440.1133510020997
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Doing the &quot;mt status&quot; test is a good suggestion, but the fact tha=
t the
tapes can be sucessfully dismounted using robtest indicates that the
device files are pointing to the correct drives. robtest issues mount
commands to the robot, but dismount commands are sent to the drives
themselves.<br>
<br>
With these backups that get stuck at &quot;mounting tape&quot;, does the ro=
bot actually physically mount the tape in the drive?<br>
<br>
What is the status of the drives in Device Monitor (or vmoprcmd)? <br>
Is the Storage Unit pointing to the correct robot?<br>
Any error messages on the library console (if it has one)?<br>
Or any errrors in /var/adm/messages on your master/media ?<br>
<br>
I personally wouldn't get too hung up on the &quot; db_lock_media:unable to
lock media at offset&quot; message. The message has appeared continuously o=
n
most or all systems I've worked on. Although I don't know what it
means, it doesn't seem to indicate a problem.<br>
<br>
Cheers,<br>
Dean<br>
<br><div><span class=3D"gmail_quote">On 12/2/05, <b class=3D"gmail_senderna=
me">Sean Clarke</b> &lt;<a href=3D"mailto:sean_clarke AT softhome DOT 
net">sean_cl=
arke AT softhome DOT net</a>&gt; wrote:</span><blockquote class=3D"gmail_quote" 
st=
yle=3D"border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex=
; padding-left: 1ex;">
Have you tried putting the tape into each drive in turn using robtest<br>an=
d then try to see the tape by pointing an &quot;mt status&quot; command at =
the<br>relevant device file as obtained from tpconfig?<br><br>This will tel=
l you if you have cross linked drives or not ie. You could
<br>have the situation where NBU sticks a tape in robot drive 1, thinks it<=
br>is trying to talk to the device file for that drive when in fact that<br=
>particular device file is for robot drive 2 where there is no tape.<br>
It'll just sit there until it times out.<br><br>Had this situation last wee=
k when an engineer from a storage company<br>that will remain nameless swap=
ped over a pair of SCSI cables to test&nbsp;&nbsp;a<br>drive and forgot to =
swap them back :-(
<br><br>HTH<br><br>Sean<br><br>&gt; -----Original Message-----<br>&gt; From=
: <a href=3D"mailto:veritas-bu-admin AT mailman.eng.auburn DOT 
edu">veritas-bu-adm=
in AT mailman.eng.auburn DOT edu</a><br>&gt; [mailto:<a 
href=3D"mailto:veritas-bu-=
admin AT mailman.eng.auburn DOT edu">
veritas-bu-admin AT mailman.eng.auburn DOT edu</a>] On Behalf Of<br>&gt; 
Tschida, =
Tom (C)(STP)<br>&gt; Sent: 01 December 2005 19:07<br>&gt; To: <a href=3D"ma=
ilto:veritas-bu AT mailman.eng.auburn DOT edu">veritas-bu AT mailman.eng.auburn 
DOT edu
</a><br>&gt; Subject: [Veritas-bu] Backups stuck at tape mount<br>&gt;<br>&=
gt;<br>&gt; All,<br>&gt;<br>&gt; I've recently upgraded from 4.5MP8 to 5.1M=
P2.&nbsp;&nbsp;Master server<br>&gt; is a V880 running Solaris 8.&nbsp;&nbs=
p;Immediately following the
<br>&gt; upgrade, all backups hang at &quot;mounting tape###&quot;.<br>&gt;=
<br>&gt; I've looked through the bptm logs and found the following message:=
<br>&gt;<br>&gt;&nbsp;&nbsp;db_lock_media:unable to lock media at offset (t=
ape###)
<br>&gt;<br>&gt; In looking through the mail list and the Veritas website,<=
br>&gt; I've found references that tell me some other process is<br>&gt; tr=
ying to use that tape.<br>&gt;<br>&gt; What I've done so far:<br>&gt;<br>
&gt; *&nbsp;&nbsp;Rebuild the sg drivers<br>&gt; *&nbsp;&nbsp;Rebuild the g=
lobDB (several time)<br>&gt; *&nbsp;&nbsp;reboot -r the master<br>&gt; *&nb=
sp;&nbsp;use robtest to manually mount and unmount tapes - works fine<br>&g=
t; *&nbsp;&nbsp;remove the /usr/openv/netbackup/db/jobs directory
<br>&gt;<br>&gt; Has anyone else come across this?&nbsp;&nbsp;If so, what e=
lse can I try<br>&gt; besides backing out and trying the upgrade again?<br>=
&gt;<br>&gt; Tom Tschida<br>&gt; Guidant Corp<br>&gt;<br>&gt; _____________=
__________________________________
<br>&gt; Veritas-bu maillist&nbsp;&nbsp;-&nbsp;&nbsp;<a href=3D"mailto:Veri=
tas-bu AT mailman.eng.auburn DOT edu">Veritas-bu AT mailman.eng.auburn DOT 
edu</a><br>&gt=
; <a href=3D"http://mailman.eng.auburn.edu/mailman/listinfo";>http://mailman=
.eng.auburn.edu/mailman/listinfo
</a>&gt; /veritas-bu<br>&gt;<br><br><br>___________________________________=
____________<br>Veritas-bu maillist&nbsp;&nbsp;-&nbsp;&nbsp;<a href=3D"mail=
to:Veritas-bu AT mailman.eng.auburn DOT edu">Veritas-bu AT mailman.eng.auburn 
DOT edu</a>=
<br><a href=3D"http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu";>
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu</a><br></blockquo=
te></div><br>

------=_Part_47517_22085440.1133510020997--

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