From owner-freebsd-questions@FreeBSD.ORG Tue Feb 14 03:49:48 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4F15B106566B for ; Tue, 14 Feb 2012 03:49:48 +0000 (UTC) (envelope-from ken@mthelicon.com) Received: from hercules.mthelicon.com (unknown [IPv6:2001:49f0:2023::2]) by mx1.freebsd.org (Postfix) with ESMTP id 11FDB8FC12 for ; Tue, 14 Feb 2012 03:49:48 +0000 (UTC) Received: from PortaPegIII (hydra.fletchermoorland.co.uk [78.33.209.59] (may be forged)) (authenticated bits=0) by hercules.mthelicon.com (8.14.5/8.14.3) with ESMTP id q1E3matf019744; Tue, 14 Feb 2012 03:48:37 GMT (envelope-from ken@mthelicon.com) From: "Pegasus Mc Cleaft" To: "'_'" , "'APseudoUtopia'" References: In-Reply-To: Date: Tue, 14 Feb 2012 03:48:35 -0000 Message-ID: <005201cceacb$884ead60$98ec0820$@com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AczqyirYJI7zjBVtTgGJ+fz2mJS4xAAAL+sQ Content-Language: en-gb X-Spam-Status: No, score=0.9 required=15.0 tests=BAYES_00,DOS_OUTLOOK_TO_MX, FSL_HELO_NON_FQDN_1 autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on hercules.mthelicon.com Cc: 'freebsd-questions' Subject: RE: corrupted tar.gz archive - I lost my backups :)/:( X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Feb 2012 03:49:48 -0000 > -----Original Message----- > 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