Fedora 15 + scsi tape drive

Bill Perry wlperry at williamperry.com
Fri Oct 14 21:24:24 UTC 2011


Thank-you.

It appears that the st module is loaded.
#lsmod |grep st
<stuff>
st                     32080  0

Next, I tried the command write to the tape as /dev/st0. I put a 
writeable tape in the drive.
I have a couple of files in /root called yum_list...

tar cvf /dev/st0 /root/yum*
tar: /dev/st0: Cannot open: Input/output error
tar: Error is not recoverable: exiting now

The /dev/tape/by-id/... is a link pointing to /dev/st0
tar cvf /dev/tape/by-id/scsi-1HP_C7438_xxxxx /root/yum*
tar: /dev/tape/by-id/scsi-1HP_C7438A_xxxxx: Cannot open: Input/output error
tar: Error is not recoverable: exiting now

Running rescan-scsi-bus.sh does not help.

Running
mt -f /dev/st0 offline
does not do anything.
mt -f /dev/st0 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 (10000):
  IM_REP_EN

The tape drive still appears in lsscsi



BP



More information about the users mailing list