Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 01 Nov 2007 16:34:36 -0500
From:      Derek Ragona <derek@computinginnovations.com>
To:        freebsd@dreamchaser.org, freebsd-questions@freebsd.org
Subject:   Re: skip bad block in QIC-150 tar
Message-ID:  <6.0.0.22.2.20071101163314.02421370@mail.computinginnovations.com>
In-Reply-To: <472A2498.2050309@dreamchaser.org>
References:  <472A2498.2050309@dreamchaser.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6.0.0.22.2.20071101163314.02421370>