Amanda-Users

Re: discrepency between amadmin, logs and tape content?

2007-10-31 09:02:08
Subject: Re: discrepency between amadmin, logs and tape content?
From: Jean-Francois Malouin <Jean-Francois.Malouin AT bic.mni.mcgill DOT ca>
To: Jean-Louis Martineau <martineau AT zmanda DOT com>
Date: Wed, 31 Oct 2007 08:55:06 -0400
* Jean-Louis Martineau <martineau AT zmanda DOT com> [20071030 10:40]:
> This bug is fixed in 2.5.3alpha, but the patch was not backported to 
> 2.5.2p1.
> 
> Can you try the attached patch?

Looks like the patch did it. 
amadmin now reports correctly and amfetchdump can restore the dump.
Thanks!
jf

> 
> Jean-Louis
> 
> Jean-Francois Malouin wrote:
> >Hi,
> >
> >With amanda-2.5.2p1 I did an archive a few days ago and trying to
> >restore it caused me a few problems: amfetchdump tells me that
> >there is no valid data to be restored for that date and amadmin
> >reports a connection timeout:
> >
> >grumpy: /opt/amanda/sbin/amfetchdump -p -d /dev/nst1 archive-nihpd3-right1 
> >\
> >yorick /data/nihpd/nihpd3/data/mri_processing/1.1 20071022 | tar -tvf -
> >No matching dumps found
> >
> >grumpy: su amanda -c "/opt/amanda/sbin/amadmin archive-nihpd3-right1 \
> >find yorick /data/nihpd/nihpd3/data/mri_processing/1.1"
> >2007-10-22 yorick /data/nihpd/nihpd3/data/mri_processing/1.1  0
> >av24-1_archive-nihpd3-right1_T00006L3    0   -- FAILED (dumper) [data
> >read: recv error: Connection timed out]
> >
> >However I was able to manually extract all the chunks on that tape
> >and, after reassembling them, to untar everything without a glitch.
> >Looking at the logs I see that it was retried with success:
> >
> >DISK planner yorick /data/nihpd/nihpd3/data/mri_processing/1.1
> >FAIL dumper yorick /data/nihpd/nihpd3/data/mri_processing/1.1 20071022
> >0 [data read: recv error: Connection timed out]
> >  sendbackup: start [yorick:/data/nihpd/nihpd3/data/mri_processing/1.1
> >level 0]
> >PARTIAL chunker yorick /data/nihpd/nihpd3/data/mri_processing/1.1 20071022 
> >0 [sec 9771.397 kb 105401080 kps 10786.7]
> >SUCCESS dumper yorick /data/nihpd/nihpd3/data/mri_processing/1.1 20071022 
> >0 [sec 10432.472 kb 113375650 kps 10867.6 orig-kb 113375650]
> >SUCCESS chunker yorick /data/nihpd/nihpd3/data/mri_processing/1.1 20071022 
> >0 [sec 10432.600 kb 113375650 kps 10867.4]
> >STATS driver estimate yorick /data/nihpd/nihpd3/data/mri_processing/1.1 
> >20071022 0 [sec 8192 nkb 113375682 ckb 113375712 kps 13840]
> >CHUNK taper yorick /data/nihpd/nihpd3/data/mri_processing/1.1 20071022 1 0 
> >[sec 197.311 kb 5242848 kps 26571.5 {wr: writers 163840 rdwait
> >79.637 wrwait 112.112 filemark 4.930}]
> >CHUNK taper yorick /data/nihpd/nihpd3/data/mri_processing/1.1 20071022 2 0 
> >[sec 101.364 kb 5242848 kps 51722.7 {wr: writers 163840 rdwait
> >42.617 wrwait 57.238 filemark 1.013}]
> >
> >...
> >
> >CHUNK taper yorick /data/nihpd/nihpd3/data/mri_processing/1.1 20071022 22 
> >0 [sec 60.077 kb 3275872 kps 54527.8 {wr: writers 102372 rdwait
> >3.036 wrwait 55.529 filemark 1.051}]
> >CHUNKSUCCESS taper yorick /data/nihpd/nihpd3/data/mri_processing/1.1 
> >20071022 0 [sec 2313.467 kb 113376352 kps 49007.1 {wr: writers 102372
> >rdwait 3.036 wrwait 55.529 filemark 1.051}]
> >
> >what gives?
> >jf
> >  
> 



-- 
<° ><

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