I realize this problem has been mentioned before: >At 02:11 PM 1/16/2002 -0500, Stephen Hillier wrote: > inspecting the archive of tapes >that I have, not one of the dump images was complete and valid.
Is there a known cause (& hopefully fix) for incomplete dumps being recorded? I wonder if it is a timing problem, between the incoming dump, and the gzipping and the outgoing tape file. ??? I am still testing an Amanda setup before putting it into production and replacing our existing backup scheme. While trying a full restore to the amanda server I discovered that one of the dumps was incomplete, yet had produced no errors. It almost looks like something stepped on the last bit of the file. It's size is sooo close to the good dump, but not quite. Recover falls off the end, aborts, and doesn't (a) have all the data or (b) correctly set file ownership. FreeBSD 4.4-RELEASE i386 amanda 2.4.2p2 Since I have a good size holding disk, I used dd to copy the bad file from its tape, and a good file from the day before (test machine; virtually no activity in between except for clock ticking). dd if=/dev/nrs0 bs=32k of=1tape.file dd if=1tape.file bs=32k skip=1 of=2less.header cp 2less.header 3renamed.gz cp 3renamed.gz 4unzipped.gz #since gzip will over-write this one /usr/bin/gzip -d 4unzipped.gz #yields 4unzipped -- a dump file ========================= bdback# ls -al bad total 831698 drwxr-xr-x 2 root wheel 512 Apr 26 15:17 . drwxr-xr-x 6 root wheel 512 Apr 26 15:17 .. -rw-r--r-- 1 root wheel 153255936 Apr 26 14:37 1tape.file -rw-r--r-- 1 root wheel 153223168 Apr 26 14:42 2less.header -rw-r--r-- 1 root wheel 153223168 Apr 26 14:43 3renamed.gz -rw-r--r-- 1 root wheel 391475200 Apr 26 14:44 4unzipped ============================ bdback# ls -al good total 831690 drwxr-xr-x 2 root wheel 512 Apr 26 15:17 . drwxr-xr-x 6 root wheel 512 Apr 26 15:17 .. -rw-r--r-- 1 root wheel 153255936 Apr 26 15:00 1tape.file -rw-r--r-- 1 root wheel 153223168 Apr 26 15:01 2less.header -rw-r--r-- 1 root wheel 153223168 Apr 26 15:02 3renamed.gz -rw-r--r-- 1 root wheel 391464960 Apr 26 15:02 4unzipped =================== None of the amanda log or debug files or mail reports noticed anything wrong with the dump. Nor did amverify. Any suggestions on how to ensure that my dumps are complete and usable? Deb Baddorf ------------------- Deb Baddorf [EMAIL PROTECTED] 840-2289 "You can't help getting older, but you don't have to get old." - George Burns <IXOYE><