Subject: Re: Tape problems
To: Jan-Hinrich Fessel <fessel@DeTeMobil.de>
From: Matthew Jacob <mjacob@feral.com>
List: current-users
Date: 09/14/2001 09:08:41
On Fri, 14 Sep 2001, Jan-Hinrich Fessel wrote:

> In message <20010914114319.98DA81A6C@druid.net>you write:
> > Thus spake Matthias Scheler
> > > In article <20010913112940.BDD7C1A6E@druid.net>,
> > > 	darcy@druid.net (D'Arcy J.M. Cain) writes:
> > > > I have a system that I backup to using tar every day.  Every few days I
> > > > start seeing the following message.
> > > >
> > > > tar: can't write to /dev/tape : Input/output error
> > > > If I reboot the system it is OK again for another few days.
> > >
> > > You reset the streamer with this. A "scsictl scsibus0 reset" would probably
> > > be sufficient.
> >
> > I will try that next time.  Thanks for the suggestions.
>
> From my observations, this will not work.  It looks like the driver stores the
> state of the tape and there is no way to inform the driver that the tape has
> changed.

This should be filed as a bug- st_interpret_sense should take all 'Unit
Attention' and invalidate mount sessions. Tape position has to be assume lost
if this happens.


>  The symptom is that there is no further activity reported by the
> tape LED's once the I/O error occurs due to Media Errors (not the case for
> EOT/EOM).
>
> Gre
>         Oskar
>
>
>