[plug] Tape device goes missing

Craig Ringer craig at postnewspapers.com.au
Mon Jan 19 13:01:10 WST 2004


Ryan wrote:
> Once that completed  /dev/tape (nst0) is 'missing'
 >
> If i specify the device name:
> 
> 	# mt -f /dev/nst0 status
> 	/dev/nst0: No such device or address

Interesting. AFAIK 'no such device or address' is an error from the 
kernel saying that the tape drive doesn't exist at all. If I try a read 
I get 'Cannot read: no medium found' and if I try to get tape status I get:

# mt -f /dev/nst0 status
SCSI 2 tape drive:
File number=-1, block number=-1, partition=0.
Tape block size 0 bytes. Density code 0x0 (default).
Soft error count since last status=0
General status bits on (50000):
  DR_OPEN IM_REP_EN

So ... it looks like the kernel has lost the tape driver or the tape 
device. Can you 'rmmod st'? What does `cat /proc/scsi/scsi` have to say?

Craig Ringer




More information about the plug mailing list