[Centos] Re: centos] Tape drive problems

Sun May 30 07:42:11 UTC 2004
R P Herrold <herrold at owlriver.com>

On Wed, 26 May 2004, syv wrote:

> I have been googling, and can't find anything that will help me:
> 
> mt -f /dev/st0 status
> /dev/st0: No such device or address       

> scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.36
>         <Adaptec 29160 Ultra160 SCSI adapter>
>         aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs
> 
> blk: queue d3e53014, I/O limit 4095Mb (mask 0xffffffff)
> (scsi0:A:11): 80.000MB/s transfers (40.000MHz, offset 32, 16bit)
>   Vendor: EXABYTE   Model: VXA-2             Rev: 100E
>   Type:   Sequential-Access                  ANSI SCSI revision: 02
> blk: queue d37a7e14, I/O limit 4095Mb (mask 0xffffffff)
> st: Version 20030406, bufsize 32768, max init. bufs 4, s/g segs 16
> Attached scsi tape st0 at scsi0, channel 0, id 11, lun 0
> scsi : 0 hosts left. 

> Here is the output of lsmod:
> st                     31716   0  (autoclean)

The problem is that the SCSI module is being cleaned out in 
the interval between booting and use of the tape =-- add the 
driver to 
    /etc/modules.conf
and all should be fine.  I have this at one site:

[herrold at server4 herrold]$ lsmod | grep x
ext3                   68960   9
jbd                    51720   9 [ext3]
aic7xxx               134560   0
scsi_mod              110876   4 [st megaraid aic7xxx sd_mod]
[herrold at server4 herrold]$ cat /etc/modules.conf
alias parport_lowlevel parport_pc
alias eth0 eepro100
alias eth1 eepro100
alias scsi_hostadapter megaraid
alias scsi_hostadapter aic7xxx
[herrold at server4 herrold]$

In this case, the Raid array is on the megaraid driver, and 
the tape is a DLT all alone (in a Dell 4350) on the Adaptec 
controller.  It has not been fired since Wednesday, but as I 
loaded the module in /etc/modules.conf it was not 'cleaned' 
out.

- Russ Herrold