1830079 Members
1881 Online
109998 Solutions
New Discussion

Re: Can't use tape drive

 
haeman
Frequent Advisor

Can't use tape drive

I have a SCSI tape drive ( DDS4 ) that attached to the server , but I tried to use the command "dmesg |grep st0" can't see the device , I use the same command can see the drive at long long time ago , I don't know if the drive have hardware problem or the device path (st0) is incorrect , can advise how can I use it ? is there any way that I can check the presence of it ?

thx
5 REPLIES 5
Ivan Ferreira
Honored Contributor

Re: Can't use tape drive

Try with the lssd command. What is the output returned by mt -f /dev/st0 status?
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
haeman
Frequent Advisor

Re: Can't use tape drive

the reply ,

# mt -f /dev/st0 status
/dev/st0: No such device

and I can't find lssd command in my system ,

coud advise how to fix it ? thx
Matti_Kurkela
Honored Contributor

Re: Can't use tape drive

See "cat /proc/scsi/scsi". It will show all devices detected on all SCSI buses (and also USB storage devices and any other devices that emulate SCSI at some level).

If the tape drive is not listed, it might be a hardware problem. Check the cables. If the tape drive is external, make sure it is receiving power. (I've made this mistake once or twice...)

If the tape drive shows up in the /proc/scsi/scsi listing, maybe the tape driver module is not loaded. Run "modprobe st" and try the mt command again.

MK
MK
haeman
Frequent Advisor

Re: Can't use tape drive

thx reply ,

I use internal tape drive

The below is the result to find the scsi list , I could not find any word like st , tape etc, does it mean the tape drvie is not attached ?

cat /proc/scsi/scsi |more
Attached devices:
Host: scsi1 Channel: 00 Id: 00 Lun: 00
Vendor: DELL Model: Ora Con1 Rev: V1.0
Type: Direct-Access ANSI SCSI revision: 02
Host: scsi3 Channel: 00 Id: 00 Lun: 00
Vendor: DGC Model: RAID 10 Rev: 0219
Type: Direct-Access ANSI SCSI revision: 04
Host: scsi3 Channel: 00 Id: 00 Lun: 01
Vendor: DGC Model: RAID 10 Rev: 0219
Type: Direct-Access ANSI SCSI revision: 04
Host: scsi3 Channel: 00 Id: 00 Lun: 02
Vendor: DGC Model: RAID 10 Rev: 0219
Type: Direct-Access ANSI SCSI revision: 04
Host: scsi3 Channel: 00 Id: 00 Lun: 03
Vendor: DGC Model: RAID 5 Rev: 0219
Type: Direct-Access ANSI SCSI revision: 04
Host: scsi3 Channel: 00 Id: 00 Lun: 04
Vendor: DGC Model: RAID 5 Rev: 0219
Type: Direct-Access ANSI SCSI revision: 04
Host: scsi4 Channel: 00 Id: 00 Lun: 00
Vendor: DGC Model: RAID 10 Rev: 0219
Type: Direct-Access ANSI SCSI revision: 04
Host: scsi4 Channel: 00 Id: 00 Lun: 01
Host: scsi4 Channel: 00 Id: 00 Lun: 02
Vendor: DGC Model: RAID 10 Rev: 0219
Type: Direct-Access ANSI SCSI revision: 04
Host: scsi4 Channel: 00 Id: 00 Lun: 03
Vendor: DGC Model: RAID 5 Rev: 0219
Type: Direct-Access ANSI SCSI revision: 04
Host: scsi4 Channel: 00 Id: 00 Lun: 04
Vendor: DGC Model: RAID 5 Rev: 0219
Type: Direct-Access ANSI SCSI revision: 04
Sandeep_Chaudhary
Trusted Contributor

Re: Can't use tape drive

run folowing command

modprobe ide-scsi