Date: Tue, 14 Feb 2012 03:48:35 -0000 From: "Pegasus Mc Cleaft" <ken@mthelicon.com> To: "'_'" <pancakeking79@gmail.com>, "'APseudoUtopia'" <apseudoutopia@gmail.com> Cc: 'freebsd-questions' <freebsd-questions@freebsd.org> Subject: RE: corrupted tar.gz archive - I lost my backups :)/:( Message-ID: <005201cceacb$884ead60$98ec0820$@com> In-Reply-To: <CAKnE0Ztzy2Wk0Cq5VyNYLfyiceXOyJPW4z9-bcxnAm1%2BsD86qw@mail.gmail.com> References: <CAKnE0ZvaPK=uF7Lg2NepVsHbnDLQhedpVddVMg4vkFBfm%2B4%2Bsw@mail.gmail.com> <CAKOHg=MYuajQPogdu8nHnJE1D%2BmN6tWs%2BRMacXXwhNeY3PrjMA@mail.gmail.com> <CAKnE0Ztzy2Wk0Cq5VyNYLfyiceXOyJPW4z9-bcxnAm1%2BsD86qw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> -----Original Message----- <SNIP> > tar: Damaged tar archive > tar: Retrying... > tar: gzip decompression failed > tar: Error exit delayed from previous errors. > # gzip --test sr12292011.tar.gz > gzip: data stream error > gzip: sr12292011.tar.gz: uncompress failed # gunzip < sr12292011.tar.gz > > archive.partial.tar > gunzip: data stream error > > It recreates something, but the most important files, which reside in > subfolders of the given tar.gz archives are gone, i.e. the subfolders > are empty. > The gunzip strategy you mentioned yields the same as a regular tar -xvf > file.tar.gz. > > Pegasus, I have yet to try the pax(1) approach. I will let you know > about how that went. Hummmmm.. I'm not sure if pax will be able to help in this case. From the looks of it, somehow the compressed data got corrupted - I don't think pax will be able to deal with this any better than tar did. I wonder if there was a change in gzip (like maybe libarchive) between the two versions of BSD that might be causing the problem. If I were attacking the problem, I might try booting up off a 7.x bootcd and see if I can gzip --test the archive from the usb stick. Peg
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?005201cceacb$884ead60$98ec0820$>