[5168] in linux-scsi channel archive

home help back first fref pref prev next nref lref last post

Re: Tape problem

daemon@ATHENA.MIT.EDU (Richard Fish)
Wed Nov 18 21:03:59 1998

Date: 	Wed, 18 Nov 1998 08:26:08 -0700
From: Richard Fish <rjf@estinc.com>
To: linux-scsi@vger.rutgers.edu

Tekno Soft Snc wrote:
> 
> Hi All,
> 
> I need help to restore a tar backup from a tape that have some
> broken blocks :-(((!!!! The box is a Linux 2.0.35 with AHA2940UW
> and the tape is a TANDBERG model TDC 4100 Rev: =07. The cartrige
> have 1,2Gb of capacity (950 ft. = 289,56mt). I've tried with some
> variant of:
> 
> tar --ignore-zeros --ignore-failed-read -xvf /dev/st0
> 
> or
> 
> dd if=/dev/st0 of=tapedump conv=noerrors count=2000000
> dd if=/dev/st0 of=tapedump skip=1056024 conv=noerrors count=2000000
>                                 ^---- Start of broken blocks
>                                       reported by other dd's

dd "skips" by reading and throwing away the values.

You could try seeking past the erros with mt.  For example:

mt -f /dev/nst0 seek 1056024
dd if=/dev/nst0 of=tapedump ....
  or
tar -xvf /dev/nst0

-- 
Richard Fish                      Enhanced Software Technologies, Inc.
Software Developer                4014 E Broadway Rd Suite 405
rjf@estinc.com                    Phoenix, AZ  85040 
(602) 470-1115                    http://www.estinc.com

-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.rutgers.edu

home help back first fref pref prev next nref lref last post