Amanda-Users

Re: missing size line from sendbackup and PARTIAL

2008-01-10 11:03:27
Subject: Re: missing size line from sendbackup and PARTIAL
From: Jean-Francois Malouin <Jean-Francois.Malouin AT bic.mni.mcgill DOT ca>
To: Paul Bijnens <Paul.Bijnens AT xplanation DOT com>
Date: Thu, 10 Jan 2008 10:54:16 -0500
* Paul Bijnens <Paul.Bijnens AT xplanation DOT com> [20080110 04:40]:
> On 2008-01-09 22:55, Jean-Francois Malouin wrote:
> >Hi,
> >
> >Amanda-2.5.2p1 on both the server (Debian/Etch) and client (irix-6.5.x).
> >
> >In a amreport this morning I got a DLE with:
> >
> >FAILURE AND STRANGE DUMP SUMMARY:
> >  yorick  /data/nih/nih1  lev 0  FAILED [missing size line from sendbackup]
> >  yorick  /data/nih/nih1  lev 0  FAILED [missing size line from sendbackup]
> 
> 
> The backup program (gnutar for this DLE) normally should have ended with
> a last line indicating the total size of the backup.  However, Amanda did
> not find that line.
> 
> But because that does not mean that you want be able to do at least 
> something
> with the partial backup, Amanda did not discard the whole backup image.
> (Also because, when e.g. dumping to tape, Amanda will not rewind and 
> overwrite
> an invalid backup image -- too difficult and maybe some intelligent human
> can still do "something" with the partial backup.)
> 
> But Amanda still marks it "FAILED", and will try next time to make a decent
> backup.

indeed, amstatus shows that a full is being done. 

> >
> >DUMP SUMMARY:                         
> >                                      DUMPER STATS TAPER STATS
> >HOSTNAME DISK           L ORIG-MB  OUT-MB  COMP%  MMM:SS    KB/s MMM:SS 
> >KB/s
> >------------------------- 
> >----------------------------------------------------
> >yorick   /data/nih/nih1 0     N/A   84080    --     N/A     N/A 22:33 
> >63615.7
> >+PARTIAL
> >
> >Checking what 'adadmin info' tells me for it:
> >
> >amadmin left2 info yorick /data/nih/nih1
> >
> >Current info for yorick /data/nih/nih1:
> >  Stats: dump rates (kps), Full:  21651.2, 23245.9, 22401.7
> >                    Incremental:   80.9,  97.4, 157.8
> >          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  20080102  av24-2_left2_U00041L3  34 973979040 973979040 44985
> >          1  20080107  av24-2_left2_U00040L3  6 97850 97850 1209
> 
> Note the date of the level 0!  That is not the date of this morning.
> The level 0 from this morning is not considered a valid level 0 by Amanda.

Ah! Good eye! I missed the date and also the fact that there was a
level 1 so indeed the last tried ('partial') full backup was not
considered valid.

> >
> >Seems good but trying to restore the image to disk with amfetchdump
> >fails with:
> >
> >amfetchdump -p left2 yorick /data/nih/nih1 20080108 | tar -xpGf -
> 
> So you try to restore the one from this morning...
> 
> 
> Need to find out why it broke off.
> Look on the client in the "sendbackup.DATETIME.debug" file

Here they come, attached, for the initial run and the retry.
What is puzzling me is that the entire image must have first
been dumped on the holding disk on the server, then taped.
Is it possible that I have hit some timeout. 
amanda.conf on the server has the following timeouts:
ctimeout 360
dtimeout 12960
etimeout 12960

Notice that the first sendbackup on the client failed after 37676s
while the retry did only after 5397s...

thanks for the time,
jf

> 
> 
> -- 
> Paul Bijnens, xplanation Technology Services        Tel  +32 16 397.511
> Technologielaan 21 bus 2, B-3001 Leuven, BELGIUM    Fax  +32 16 397.512
> http://www.xplanation.com/          email:  Paul.Bijnens AT xplanation DOT com
> ***********************************************************************
> * I think I've got the hang of it now:  exit, ^D, ^C, ^\, ^Z, ^Q, ^^, *
> * F6, quit, ZZ, :q, :q!, M-Z, ^X^C, logoff, logout, close, bye, /bye, *
> * stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt,  abort,  hangup, *
> * PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e,  kill -1 $$,  shutdown, *
> * init 0, kill -9 1, Alt-F4, Ctrl-Alt-Del, AltGr-NumLock, Stop-A, ... *
> * ...  "Are you sure?"  ...   YES   ...   Phew ...   I'm out          *
> ***********************************************************************

-- 
<° ><

Attachment: sendbackup.20080108231136.debug
Description: Text document

Attachment: sendbackup.20080109095717.debug
Description: Text document

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