[2257] in linux-scsi channel archive

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

Re: How to skip over tape eof mark

daemon@ATHENA.MIT.EDU (Pete Popov)
Wed Aug 6 19:42:21 1997

To: Louis Mandelstam <lma@sacc.org.za>
cc: linux-scsi@vger.rutgers.edu, glug@linux.org.za,
        unix-wiz@listserv.nodak.edu
In-reply-to: Your message of "Sat, 06 Aug 1997 10:46:06 +0200."
             <Pine.LNX.3.95.970806102240.22960a-100000@sacc2.sacc.org.za> 
Date: 	Wed, 06 Aug 1997 09:25:04 -0700
From: Pete Popov <pete@jones.asd.sel.sony.com>


Louis,

> I have a tape here (Exabyte 8mm) which had 'mt eof' (write eof
> marker) executed on it while the tape was wound to the beginning, when the
> user meant 'mt eod' (seek to end of data).  Easy typo that turned out to
> be surprisingly lethal.

> I presume the first file will be lost (the first few bytes of it at least)
> but can anyone tell me how I can manage to get the st driver to skip over
> this boo-boo so that the rest of the tape can still be accessed?

> I've checked the mt manpage - I can't get it to seek past the wrongful
> eof/eod mark, and I can't find a st option to allow me to skip over
> either.

> No luck with AltaVista, either.

> Any suggestions?

If the "eof" was written at the beginning of tape, all data is lost :-(
Each time you append to tape, the data from that point forward is "erased".

Pete


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