Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need to add a tape drive DDS4

Status
Not open for further replies.

Aslamg

Technical User
Apr 18, 2001
19
GB
Hi

I am trying to add an external SCSI DDS4 tape drive onto
a Compaq DL380 G2 server.

I have SUSE Linux Professional 8.1 running, with 1 * 18.2Gb HDD and 512Mb of RAM.

I have rebooted, the server with the tape attached
but I cannot see it being picked up automatically
or by using /dev/nst0 or /dev/rmt0

Any advice would be appreciated

Aslam
 
First make sure the system sees the tape drive.
Code:
cat /proc/scsi/scsi
If you see your tape drive try running:
Code:
lsmod | grep st
If the st module is not loaded run:
Code:
modprobe st
You need the st module loaded in order to access scsi tape drives. If this doesn't help please post the output of of the above commands and I might be able to help you diag the problem.

Hope that helps.
 
Hi
ukbrnx58:~ # cat /proc/scsi/scsi
Attached devices: none

ukbrnx58:~ # modprobe st

ukbrnx58:~ #lsmod
Module Size Used by Not tainted
ftape 104864 0 (autoclean) (unused)
st 26924 0 (autoclean) (unused)
videodev 5600 0 (autoclean)
streams 580928 0
ide-cd 28388 0 (autoclean)
cdrom 26400 0 (autoclean) [ide-cd]
isa-pnp 29664 0 (unused)
ipv6 138964 -1 (autoclean)
joydev 5600 0 (unused)
evdev 4352 0 (unused)
input 3168 0 [joydev evdev]
usb-ohci 18184 0 (unused)
usbcore 56768 1 [usb-ohci]
e100 68184 1
lvm-mod 62976 0 (autoclean)
reiserfs 179536 1
cciss 36100 3
ukbrnx58:~ #

What do I need to do next ?

Aslam

 
Ok, I missed that this is a Compaq DLxxx. By default the Smart Array controller does not expose it's scsi interface to linux. Try the following:
Code:
echo "engage scsi" > /proc/driver/cciss/cciss0
modprobe st
This assumes that you only have a single Smart Array controller in the system. You can find out by doing an
Code:
ls /proc/driver/cciss/cciss*

You can find some more info on how to set this up permanently by reading:

/usr/src/linux-2.4/Documentation/cciss.txt

Look under the "SCSI tape drive and medium changer support" section.

Hope that helps.
 
Hi

I tried doing the echo but it refused to write to the file, I even did chmod 777 ccisso.

I have even tried to vi it but it reports that the file is corrupted.

The document doesn't exists on my system, I'll have to find it.

Thanks again for your help

 
Hi

Dont know how or why but the tape works wit the device
/dev/st0

Cheers

Aslam
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top