skip bad block in QIC-150 tar

Derek Ragona derek at computinginnovations.com
Thu Nov 1 14:35:52 PDT 2007


At 02:10 PM 11/1/2007, freebsd at 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.



More information about the freebsd-questions mailing list