*BSD News Article 30468


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msuinfo!agate!overload.lbl.gov!lll-winken.llnl.gov!koriel!ames!sgi!fido.asd.sgi.com!gazette.esd.sgi.com!anchor.esd.sgi.com!olson
From: olson@anchor.esd.sgi.com (Dave Olson)
Newsgroups: comp.os.386bsd.questions
Subject: Re: Reading 8mm tape under FreeBSD 1.0.2
Date: 16 May 1994 05:00:29 GMT
Organization: Silicon Graphics, Inc.  Mountain View, CA
Lines: 19
Message-ID: <2r6uld$4v3@gazette.esd.sgi.com>
References: <1994May10.045408.11205@ticipa.pac.sc.ti.com> <Cpn6o3.IAu@ns1.nodak.edu>
NNTP-Posting-Host: anchor.esd.sgi.com

In <Cpn6o3.IAu@ns1.nodak.edu> tinguely@plains.NoDak.edu (Mark Tinguely) writes:
| This may not answer your question, but we have always see a reboot trash a
| mounted 8mm tape on our Sparc machines. I can see tape activity when it is
| initialized, I wonder if the unit does some test write that trashes the
| data.
| 

It's worse than that.  The stupid drive doesn't write the EOD marker
after writing to the tape, until some operation that causes reverse
tape movement (BSR BSF rewind).  If there is either a SCSI bus reset
or a power cycling before that, the end of the tape is trash.

The hack is to do a BSF/FSF pair after the write filemark after
writing to the tape.
--

The most beautiful things in the world are              |   Dave Olson
those from which all excess weight has been             |   Silicon Graphics
removed.  -Henry Ford                                   |   olson@sgi.com