Veritas-bu

[Veritas-bu] Problem with restoring files

2001-07-18 19:03:51
Subject: [Veritas-bu] Problem with restoring files
From: bob.bakh AT home DOT com (Bob Bakh)
Date: Wed, 18 Jul 2001 16:03:51 -0700
This is a multi-part message in MIME format.

------=_NextPart_000_0110_01C10FA3.3CAB9C10
Content-Type: text/plain;
        charset="big5"
Content-Transfer-Encoding: quoted-printable

Your tapes had been written to with a fixed block, NetBackup expects =
Variable blocks, Solaris 2.6 by default uses fixed blocks on tapes, thus =
by editing the st.conf you have now forced it into using variable, so it =
doesn't recognize the tapes. =20

If you change your st.conf back and boot -r then the error should change =
back.

At any rate you need to get the touch file that makes NetBackup use =
Fixed Blocks, and I know it exists, you just need to ask the support =
guys to escalate the call, the Media Manager guru's know about it, that =
should fix your problem for the time being, however you need to set that =
for restores, freeze all your tapes till they expire, remove it before =
backups and bplabel your tapes as they come off retention. =20

All while using the new updated st.conf.

Bob
  ----- Original Message -----=20
  From: Joel Cohen=20
  To: Bob Bakh=20
  Cc: veritas-bu AT mailman.eng.auburn DOT edu=20
  Sent: Wednesday, July 18, 2001 3:56 PM
  Subject: Re: [Veritas-bu] Problem with restoring files


  I modified my st.conf to uncomment those lines. The system recognizes =
the drives as:=20
  st16:   <Sony AIT>=20
  st16 at pci1000,f2: target 2 lun 0=20
  st16 is /pci@1f,4000/scsi@4/st@2,0=20
  st17:   <Sony AIT>=20
  st17 at pci1000,f2: target 3 lun 0=20
  st17 is /pci@1f,4000/scsi@4/st@3,0=20
  st25:   <Sony AIT>=20
  st25 at pci1000,f3: target 4 lun 0=20
  st25 is /pci@1f,4000/scsi@4,1/st@4,0=20
  st26:   <Sony AIT>=20
  st26 at pci1000,f3: target 5 lun 0=20
  st26 is /pci@1f,4000/scsi@4,1/st@5,0=20

  Now I'm getting a different error when trying to recover the same =
file.=20
  This time its:=20

  18:31:26 (8638.001) /local/dumps/FRDPROD_frdowner_0713.dmp was not =
restored.=20
  18:31:28 (8638.002) Status of restore from image created Tue Jul 17 =
22:01:22 2001 =3D socket write failed=20

  18:31:28 (8638.002) /local/dumps/FRDPROD_frdowner_0717.dmp was not =
restored.=20

  18:31:29 (8638.001) Status of restore from image created Fri Jul 13 =
22:00:46 =3D cannot read media header, may not be in NetBackup media or =
is corrupted.=20

  Do I need to delete my drives and my storage unit and re-create them?=20

  Joel Cohen=20
  Client Infrastructure Manager=20
  Cyber Dialogue=20

  Bob Bakh wrote:=20

    Odd is the line=20
    tape-config-list uncommented as well, just grasping at a straw here =
but want=20
    to make sure.=20

    Bob=20
    ----- Original Message -----=20
    From: "Joel D Cohen" <JCohen AT cyberdialogue DOT com>=20
    To: <veritas-bu AT mailman.eng.auburn DOT edu>=20
    Sent: Wednesday, July 18, 2001 1:42 PM=20
    Subject: Re: [Veritas-bu] Problem with restoring files=20

    >=20
    > 1. The backups are of oracle dump files, not live database files. =
I'm not=20
    > using any extensions currently, but we have=20
    > the Oracle extension. Never got to setting it up correctly since =
we=20
    > couldn't find proper documentation on how to get=20
    > it all working. I want to be able to do BLIBs.=20
    >=20
    > 2. No ner kernel patches were installed recently. My st.conf file =
looks=20
    has=20
    > these 2 lines for the AIT drives:=20
    >=20
    > "SONY    SDX-500C", "Sony AIT", "SONY_AIT";=20
    > SONY_AIT        =3D       1,0x34,0,0x3d639,1,0x30,0;=20
    >=20
    >=20
    > Joel Cohen=20
    > Client Infrastructure Manager=20
    > Cyber Dialogue=20
    >=20
    >=20
    >=20
    >                     "Bob Bakh"=20
    >                     <bob.bakh@hom        To:=20
    <veritas-bu AT mailman.eng.auburn DOT edu>, "Joel D Cohen"=20
    <JCohen AT cyberdialogue DOT com>=20
    >                     e.com>               cc:=20
    >                                          Subject:     Re: =
[Veritas-bu]=20
    Problem with restoring files=20
    >                     07/18/2001=20
    >                     03:23 PM=20
    >=20

    >=20
    >=20
    >=20
    >=20
    >=20
    > Two questions=20
    >=20
    > 1 what are the backups of, Oracle, File system, or NetApp, and if =
so did=20
    > you=20
    > use an extension, like RMAN or NDMP?=20
    >=20
    > 2.  Check your st.conf /kernel/drv/st.conf and confirm that it has =
not=20
    > changed in recent times.  Also have you installed any jumbo kernel =
patches=20
    > for Solaris lately.=20
    >=20
    > Bob=20
    > ----- Original Message -----=20
    > From: "Joel D Cohen" <JCohen AT cyberdialogue DOT com>=20
    > To: <veritas-bu AT mailman.eng.auburn DOT edu>=20
    > Sent: Wednesday, July 18, 2001 11:45 AM=20
    > Subject: [Veritas-bu] Problem with restoring files=20
    >=20
    >=20
    > > Hi List,=20
    > >=20
    > > I'm running 3.4 on Solaris 2.6 with a SpectraLogic 10000 with 4 =
AIT-2=20
    > > drives. My backups run fine, but when I try=20
    > > to restore a file, I'm getting one of two things.=20
    > >=20
    > > 1. Trying to restore yields an error that says "media manager =
detected=20
    > that=20
    > > the tape is not in tar format" and the=20
    > > restore fails.=20
    > >=20
    > > 2. Trying to restore just exits with the message "failed to =
recover=20
    > > <filename>."=20
    > >=20
    > > This is not localized to a single tape or a single drive. I've =
tried all=20
    > 4=20
    > > drives and tried restoring from a few different=20
    > > tapes as well. Has anyone else seen this behavior? I ran a few =
test tars=20
    > > and things seemed fine. I've opened a case=20
    > > with Veritas on this and the tech said that he'd never seen this =
before=20
    > and=20
    > > that my media might be bad. I am able to=20
    > > restore from the tape by directly using gnu tar, so I'm pretty =
sure that=20
    > my=20
    > > tapes are not bad.=20
    > >=20
    > > Thanks for any help you can give.=20
    > >=20
    > > Joel Cohen=20
    > > Client Infrastructure Manager=20
    > > Cyber Dialogue=20
    > >=20
    > > _______________________________________________=20
    > > Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu=20
    > > http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu=20
    > >=20
    >=20
    >=20
    >=20
    >=20
    >=20
    >=20
    > _______________________________________________=20
    > Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu=20
    > http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu


------=_NextPart_000_0110_01C10FA3.3CAB9C10
Content-Type: text/html;
        charset="big5"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Dbig5" http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.3103.1000" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Your tapes had been written to with a =
fixed block,=20
NetBackup expects Variable blocks, Solaris 2.6 by default uses fixed =
blocks on=20
tapes, thus by editing the st.conf you have now forced it into using =
variable,=20
so it doesn't recognize the tapes.&nbsp; </FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>If you change your st.conf back and =
boot -r then=20
the error should change back.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>At any rate you need to get the touch =
file that=20
makes NetBackup use Fixed Blocks, and I know it exists, you just need to =
ask the=20
support guys to escalate the call, the Media Manager guru's know about =
it, that=20
should fix your problem for the time being, however you need to set that =
for=20
restores, freeze all your tapes till they expire, remove it before =
backups and=20
bplabel your tapes as they come off retention.&nbsp; </FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>All while using the new updated=20
st.conf.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Bob</FONT></DIV>
<BLOCKQUOTE=20
style=3D"BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: =
0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px">
  <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV=20
  style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
  <A href=3D"mailto:jcohen AT cyberdialogue DOT com" =
title=3Djcohen AT cyberdialogue DOT com>Joel=20
  Cohen</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A =
href=3D"mailto:bob.bakh AT home DOT com"=20
  title=3Dbob.bakh AT home DOT com>Bob Bakh</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Cc:</B> <A=20
  href=3D"mailto:veritas-bu AT mailman.eng.auburn DOT edu"=20
  =
title=3Dveritas-bu AT mailman.eng.auburn DOT edu>veritas-bu AT mailman DOT 
eng.auburn.e=
du</A>=20
  </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Wednesday, July 18, 2001 =
3:56=20
  PM</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> Re: [Veritas-bu] =
Problem with=20
  restoring files</DIV>
  <DIV><BR></DIV>I modified my st.conf to uncomment those lines. The =
system=20
  recognizes the drives as:=20
  <P><TT>st16:&nbsp;&nbsp; &lt;Sony AIT&gt;</TT> <BR><TT>st16 at =
pci1000,f2:=20
  target 2 lun 0</TT> <BR><TT>st16 is /pci@1f,4000/scsi@4/st@2,0</TT>=20
  <BR><TT>st17:&nbsp;&nbsp; &lt;Sony AIT&gt;</TT> <BR><TT>st17 at =
pci1000,f2:=20
  target 3 lun 0</TT> <BR><TT>st17 is /pci@1f,4000/scsi@4/st@3,0</TT>=20
  <BR><TT>st25:&nbsp;&nbsp; &lt;Sony AIT&gt;</TT> <BR><TT>st25 at =
pci1000,f3:=20
  target 4 lun 0</TT> <BR><TT>st25 is /pci@1f,4000/scsi@4,1/st@4,0</TT>=20
  <BR><TT>st26:&nbsp;&nbsp; &lt;Sony AIT&gt;</TT> <BR><TT>st26 at =
pci1000,f3:=20
  target 5 lun 0</TT> <BR><TT>st26 is =
/pci@1f,4000/scsi@4,1/st@5,0</TT><TT></TT>=20

  <P>Now I'm getting a different error when trying to recover the same =
file.=20
  <BR>This time its:<TT></TT>=20
  <P>1<TT>8:31:26 (8638.001) /local/dumps/FRDPROD_frdowner_0713.dmp was =
not=20
  restored.</TT> <BR><TT>18:31:28 (8638.002) Status of restore from =
image=20
  created Tue Jul 17 22:01:22 2001 =3D socket write failed</TT><TT></TT> =

  <P><TT>18:31:28 (8638.002)&nbsp;/local/dumps/FRDPROD_frdowner_0717.dmp =
was not=20
  restored.</TT><TT></TT>=20
  <P><TT>18:31:29 (8638.001) Status of restore from image created Fri =
Jul 13=20
  22:00:46 =3D cannot read media header, may not be in NetBackup media =
or is=20
  corrupted.</TT>=20
  <P>Do I need to delete my drives and my storage unit and re-create =
them?=20
  <P>Joel Cohen <BR>Client Infrastructure Manager <BR>Cyber Dialogue=20
  <P>Bob Bakh wrote:=20
  <BLOCKQUOTE TYPE=3D"CITE">Odd is the line=20
    <P>tape-config-list uncommented as well, just grasping at a straw =
here but=20
    want <BR>to make sure.=20
    <P>Bob <BR>----- Original Message ----- <BR>From: "Joel D Cohen"=20
    &lt;JCohen AT cyberdialogue DOT com&gt; <BR>To:=20
    &lt;veritas-bu AT mailman.eng.auburn DOT edu&gt; <BR>Sent: Wednesday, July =
18, 2001=20
    1:42 PM <BR>Subject: Re: [Veritas-bu] Problem with restoring files=20
    <P>&gt; <BR>&gt; 1. The backups are of oracle dump files, not live =
database=20
    files. I'm not <BR>&gt; using any extensions currently, but we have =
<BR>&gt;=20
    the Oracle extension. Never got to setting it up correctly since we =
<BR>&gt;=20
    couldn't find proper documentation on how to get <BR>&gt; it all =
working. I=20
    want to be able to do BLIBs. <BR>&gt; <BR>&gt; 2. No ner kernel =
patches were=20
    installed recently. My st.conf file looks <BR>has <BR>&gt; these 2 =
lines for=20
    the AIT drives: <BR>&gt; <BR>&gt; "SONY&nbsp;&nbsp;&nbsp; SDX-500C", =
"Sony=20
    AIT", "SONY_AIT"; <BR>&gt;=20
    SONY_AIT&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
    =3D&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1,0x34,0,0x3d639,1,0x30,0; =
<BR>&gt;=20
    <BR>&gt; <BR>&gt; Joel Cohen <BR>&gt; Client Infrastructure Manager =
<BR>&gt;=20
    Cyber Dialogue <BR>&gt; <BR>&gt; <BR>&gt;=20
    =
<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
    "Bob Bakh"=20
    =
<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
    &lt;bob.bakh@hom&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; To:=20
    <BR>&lt;veritas-bu AT mailman.eng.auburn DOT edu&gt;, "Joel D Cohen"=20
    <BR>&lt;JCohen AT cyberdialogue DOT com&gt;=20
    =
<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
    =
e.com&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;=20
    cc:=20
    =
<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
    Subject:&nbsp;&nbsp;&nbsp;&nbsp; Re: [Veritas-bu] <BR>Problem with =
restoring=20
    files=20
    =
<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
    07/18/2001=20
    =
<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
    03:23 PM <BR>&gt;=20
    <P>&gt; <BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt; Two questions =
<BR>&gt;=20
    <BR>&gt; 1 what are the backups of, Oracle, File system, or NetApp, =
and if=20
    so did <BR>&gt; you <BR>&gt; use an extension, like RMAN or NDMP? =
<BR>&gt;=20
    <BR>&gt; 2.&nbsp; Check your st.conf /kernel/drv/st.conf and confirm =
that it=20
    has not <BR>&gt; changed in recent times.&nbsp; Also have you =
installed any=20
    jumbo kernel patches <BR>&gt; for Solaris lately. <BR>&gt; <BR>&gt; =
Bob=20
    <BR>&gt; ----- Original Message ----- <BR>&gt; From: "Joel D Cohen"=20
    &lt;JCohen AT cyberdialogue DOT com&gt; <BR>&gt; To:=20
    &lt;veritas-bu AT mailman.eng.auburn DOT edu&gt; <BR>&gt; Sent: Wednesday, =
July 18,=20
    2001 11:45 AM <BR>&gt; Subject: [Veritas-bu] Problem with restoring =
files=20
    <BR>&gt; <BR>&gt; <BR>&gt; &gt; Hi List, <BR>&gt; &gt; <BR>&gt; &gt; =
I'm=20
    running 3.4 on Solaris 2.6 with a SpectraLogic 10000 with 4 AIT-2 =
<BR>&gt;=20
    &gt; drives. My backups run fine, but when I try <BR>&gt; &gt; to =
restore a=20
    file, I'm getting one of two things. <BR>&gt; &gt; <BR>&gt; &gt; 1. =
Trying=20
    to restore yields an error that says "media manager detected =
<BR>&gt; that=20
    <BR>&gt; &gt; the tape is not in tar format" and the <BR>&gt; &gt; =
restore=20
    fails. <BR>&gt; &gt; <BR>&gt; &gt; 2. Trying to restore just exits =
with the=20
    message "failed to recover <BR>&gt; &gt; &lt;filename&gt;." <BR>&gt; =
&gt;=20
    <BR>&gt; &gt; This is not localized to a single tape or a single =
drive. I've=20
    tried all <BR>&gt; 4 <BR>&gt; &gt; drives and tried restoring from a =
few=20
    different <BR>&gt; &gt; tapes as well. Has anyone else seen this =
behavior? I=20
    ran a few test tars <BR>&gt; &gt; and things seemed fine. I've =
opened a case=20
    <BR>&gt; &gt; with Veritas on this and the tech said that he'd never =
seen=20
    this before <BR>&gt; and <BR>&gt; &gt; that my media might be bad. I =
am able=20
    to <BR>&gt; &gt; restore from the tape by directly using gnu tar, so =
I'm=20
    pretty sure that <BR>&gt; my <BR>&gt; &gt; tapes are not bad. =
<BR>&gt; &gt;=20
    <BR>&gt; &gt; Thanks for any help you can give. <BR>&gt; &gt; =
<BR>&gt; &gt;=20
    Joel Cohen <BR>&gt; &gt; Client Infrastructure Manager <BR>&gt; &gt; =
Cyber=20
    Dialogue <BR>&gt; &gt; <BR>&gt; &gt;=20
    _______________________________________________ <BR>&gt; &gt; =
Veritas-bu=20
    maillist&nbsp; -&nbsp; Veritas-bu AT mailman.eng.auburn DOT edu <BR>&gt; =
&gt; <A=20
    =
href=3D"http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu";>http:/=
/mailman.eng.auburn.edu/mailman/listinfo/veritas-bu</A>=20
    <BR>&gt; &gt; <BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt; =
<BR>&gt;=20
    _______________________________________________ <BR>&gt; Veritas-bu=20
    maillist&nbsp; -&nbsp; Veritas-bu AT mailman.eng.auburn DOT edu <BR>&gt; <A 
=

    =
href=3D"http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu";>http:/=
/mailman.eng.auburn.edu/mailman/listinfo/veritas-bu</A></P></BLOCKQUOTE><=
/BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_0110_01C10FA3.3CAB9C10--


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