[EMAIL PROTECTED] wrote:
> My tapetype run:
> 
> hostname:~# tapetype SONY-SDX500C /dev/nst1
> st1: Block limits 2 - 16777215 bytes.
> wrote 693509 32Kb blocks in 6289 seconds
> wrote 4829 32Kb sections
> define tapetype SONY-SDX500C {
>     comment "just produced by tapetype program
>     length 21671 mbytes
>     filemark 4554 kbytes
>     speed 3528 kbytes
> }
> could not rewind /dev/nst1: Input/output error
> hostname:~#

This is indicative that the drive's firmware is incapable of coping
properly with writing on (or past) the physical end of medium.

> Why is tapetype attempting to rewind a non-rewinding device (/dev/nst1)?

Of course, it wants to leave the drive so that all you need to do is hit
the eject button to continue to use the drive.  Note that "non-rewind"
only applies to the default action when the device is closed; it has no
other implication.

> I am receiving the following in syslog:
> 
> Oct 8 19:55:29 hostname kernel: st1: Error with sense data: Current
> st09:01: sense key Hardware Error

Again, the firmware didn't cope with writing on/past end of medium.  It
may also be reporting incorrect status via the scsi layer.

> I tried to run a mt rewind as well (I know I am using the non rewinding
> device, yet this was working yesterday.):
> 
> hostname:~# mt -f /dev/nst1 rewind
> mt: /dev/nst1: Input/output error
> hostname:~#

The driver attempted to ask the drive to rewind, but because of the
confused internal state of the drive, it was unable to do so.

> The tape will not eject using the eject button.  I rebooted the server and
> cycled the power on the tape device and *poof* everything is working
> again.  I can tar to the device, rewind and erase the tape with mt, and
> label the tape again.  Can anyone shed any light on exactly what happened
> here?  Is this indicitive of problems I will have with amanda running with
> this drive?

I'm pretty sure the only thing you would have to do is power-cycle the
drive.  It is the drive that is confused, not the kernel (driver).

        Cheers,
        Marty
--
Marty Shannon, RHCE, Independent Computing Consultant
mailto:[EMAIL PROTECTED]

Reply via email to