From owner-freebsd-questions@FreeBSD.ORG Thu Mar 11 21:06:34 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 54AF616A4CE for ; Thu, 11 Mar 2004 21:06:34 -0800 (PST) Received: from lakemtao03.cox.net (lakemtao03.cox.net [68.1.17.242]) by mx1.FreeBSD.org (Postfix) with ESMTP id B90B643D53 for ; Thu, 11 Mar 2004 21:06:33 -0800 (PST) (envelope-from bob89@bobj.org) Received: from mail.bobj.org ([68.101.86.37]) by lakemtao03.cox.net (InterMail vM.5.01.06.08 201-253-122-130-108-20031117) with ESMTP id <20040312050632.OLBF27519.lakemtao03.cox.net@mail.bobj.org> for ; Fri, 12 Mar 2004 00:06:32 -0500 Received: from bobj.wb4jcm.org ([192.168.132.167]) by neti.bobj.org with esmtp; Fri, 12 Mar 2004 00:01:26 -0500 From: Bob Johnson To: freebsd-questions@freebsd.org, lee@slaughters.com Date: Fri, 12 Mar 2004 00:01:23 -0500 User-Agent: KMail/1.6 References: <4050D554.9090102@slaughters.com> <447jxqde1l.fsf@be-well.ilk.org> <4051344E.2070304@slaughters.com> In-Reply-To: <4051344E.2070304@slaughters.com> X-Source-System: Bob's Laptop MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200403120001.24456.bob89@bobj.org> Subject: Re: incorrect super block X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Mar 2004 05:06:34 -0000 On Thursday 11 March 2004 10:53 pm, lee slaughter > wrote: > >There is no filesystem support for mounting gzipped tar files as > >filesystems, so you'll have to use it as a raw device. > > tar -xzf /dev/acd1 > >should extract the data. > > no, i tried it with tar file. it got maybe 20% of way thru with > unexpected eof. > > with tar.gz: > tar: /dev/acd1: Cannot read: Input/output error > tar: At beginning of tape, quitting now > tar: Error is not recoverable: exiting now > > i just want to back up to a cd. That should have worked. It seems likely you actually do have an error on the CD. Although burncd has been more reliable for me than the Windows CD burners I've used, it does rarely produce a coaster. Did you write it at higher than the rated speed of the blank disk? Example of a test of this method (running burncd at low speed to make sure tar+gzip can keep up): === # tar -czf - temp/* | burncd -f /dev/acd0c -s 2 data - fixate next writeable LBA 0 writing from stdin written this track 3760 KB total 3760 KB fixating CD, please wait.. # # mkdir temptemp # cd temptemp # tar -xzf /dev/acd0c gzip: stdin: decompression OK, trailing garbage ignored tar: Child returned status 2 tar: Error exit delayed from previous errors # === All of the unpacked files were identical to the originals according to diff. The error message seems to indicate that tar pads blocks at the ends of files with characters that confuse gzip. I also did a test that produced 148 MB of tar.gz file, and it unpacked fine (with the same error message). - Bob