Bcc: 
Subject: Re: [bis] discrepency between amadmin, logs and tape content?
Reply-To: 
In-Reply-To: <[EMAIL PROTECTED]>

* Dustin J. Mitchell <[EMAIL PROTECTED]> [20080306 13:56]:
> On Thu, Mar 6, 2008 at 12:24 PM, Jean-Francois Malouin
> <[EMAIL PROTECTED]> wrote:
> > Anyone on this please?
> >  I know, it's not as sexy as 2.6.x :)
> 
> I'm confused.  I was hoping someone else understood the problem and would 
> reply.
> 
> >  > # /opt/amanda/sbin/amfetchdump -p -d /dev/nrst0 left1 \
> >  > bigbrain BIG_BRAIN_pm3903_postmortem_tif 20080303 | tar -xpvf -
> >  > 1 tape(s) needed for restoration
> >  > The following tapes are needed: av24-1_left1_S00025L3
> >  > Press enter when ready
> 
> OK, so amfetchdump wants just tape 25.

and that is the prblem...read on...

> 
> >  > But I know for a fact that the following tapes are needed:
> >  > av24-1_left1_S00025L3
> >  > av24-1_left1_S00024L3
> >  > av24-1_left1_S00014L3
> >  > av24-1_left1_S00013L3
> >  >
> >  > as I can extract the chunks manually or with amrestore.
> 
> What do you mean by that?

That dle is 800GB and amtoc reported 4 tapes were used so when I
attempted to test-restore with amfetchdump and only one tape was
requested I found it rather strange. I then manually restored all the
chunks of that DLE using amrestore and the 4 tapes that amtoc reported
were used (160 of them at 5GB each) and manually cat them together
followed by a gnutar extract. It helps to have a 2TB hold disk :)

> >  > # su amanda -c "/opt/amanda/sbin/amadmin \
> >  > left1 info bigbrain BIG_BRAIN_pm3903_postmortem_tif"
> >  >
> >  > Current info for bigbrain BIG_BRAIN_pm3903_postmortem_tif:
> >  >   Stats: dump rates (kps), Full:  67481.3, 81007.6,  -1.0
> >  >                     Incremental:  120.0,  -1.0,  -1.0
> >  >           compressed size, Full: -100.0%,-100.0%,-100.0%
> >  >                     Incremental: -100.0%,-100.0%,-100.0%
> >  >   Dumps: lev datestmp  tape             file   origK   compK secs
> >  >           0  20080303  av24-1_left1_S00025L3  3 837780250 837780250 12415
> 
> OK -- there's a level 0 on tape 25.
> 
> >  > # su amanda -c "/opt/amanda/sbin/amadmin left1 \
> >  > find bigbrain BIG_BRAIN_pm3903_postmortem_tif"
> >  >
> >  > 2008-03-03 19:10:01 bigbrain BIG_BRAIN_pm3903_postmortem_tif  0 
> > av24-1_left1_S00025L3    1  158 OK
> >  > 2008-03-03 19:10:01 bigbrain BIG_BRAIN_pm3903_postmortem_tif  0 
> > av24-1_left1_S00025L3    2  159 OK
> >  > 2008-03-03 19:10:01 bigbrain BIG_BRAIN_pm3903_postmortem_tif  0 
> > av24-1_left1_S00025L3    3  160 OK
> 
> And again -- a level 0 (in three parts) on tape 25.

no, the 3 parts 1,2,3 are the first tape files on the tape but if you
look closely, the next column shows 158,159,160: those are the last 3
chunks of that dle. The 157 previous ones are on the 3 other tapes
that amfetchdump and amadmin don't report correctly. 

thanks!
jf

> 
> Dustin
> 
> -- 
> Storage Software Engineer
> http://www.zmanda.com

-- 
<° ><

Reply via email to