From owner-freebsd-questions@FreeBSD.ORG Thu Nov 1 21:35:52 2007 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 28E7016A417 for ; Thu, 1 Nov 2007 21:35:52 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from betty.computinginnovations.com (mail.computinginnovations.com [64.81.227.250]) by mx1.freebsd.org (Postfix) with ESMTP id C7BE613C4BC for ; Thu, 1 Nov 2007 21:35:51 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from p28.computinginnovations.com (dhcp-10-20-30-100.computinginnovations.com [10.20.30.100]) (authenticated bits=0) by betty.computinginnovations.com (8.13.8/8.13.8) with ESMTP id lA1LZKOM001312; Thu, 1 Nov 2007 16:35:20 -0500 (CDT) (envelope-from derek@computinginnovations.com) Message-Id: <6.0.0.22.2.20071101163314.02421370@mail.computinginnovations.com> X-Sender: derek@mail.computinginnovations.com X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Date: Thu, 01 Nov 2007 16:34:36 -0500 To: freebsd@dreamchaser.org, freebsd-questions@freebsd.org From: Derek Ragona In-Reply-To: <472A2498.2050309@dreamchaser.org> References: <472A2498.2050309@dreamchaser.org> Mime-Version: 1.0 X-ComputingInnovations-MailScanner-Information: Please contact the ISP for more information X-ComputingInnovations-MailScanner: Found to be clean X-ComputingInnovations-MailScanner-From: derek@computinginnovations.com X-Spam-Status: No Content-Type: text/plain; charset="us-ascii"; format=flowed X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: skip bad block in QIC-150 tar 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: Thu, 01 Nov 2007 21:35:52 -0000 At 02:10 PM 11/1/2007, freebsd@dreamchaser.org wrote: >I'm trying to recover some files from a 5 yr old tar on a QIC-150 tape. > >Unfortunately, there's a bad block on the tape; > tar barfs and quits when it gets to it: >tar: Unrecognized archive format: Inappropriate file type or format > >I managed to get a complete directory listing using tar t on my first >attempt, before the tape became unreadable; it had to work at it but >apparently managed to eventually get the block read. > >I've cleaned the tape and retried multiple times, to no avail. > >I've tried omitting the directory containing the bad block, >but that hasn't prevented it from terminating. > >Anyone know a way to get around this? > >Thanks, > >Gary I would try the other tar's (bsdtar, pax, etc.) and see what happens . . . Also check the man pages and see if there is a commandline option to continue after error. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support.