LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   SCSI tape on Ubuntu (https://www.linuxquestions.org/questions/linux-newbie-8/scsi-tape-on-ubuntu-770650/)

PeteWieland 11-21-2009 11:50 AM

SCSI tape on Ubuntu
 
Hi,

I have Compaq DLT 35/70 in a Proliant DL380-G1 running Ubuntu 8.04 server. I want to use the tape drive but cannot find a straightforward step by step guide to installation.

The tape drive is installed and is detected by POST as SCSI 1, ID 6 , but the command dmesg | grep -i scsi returns this:-

Code:

[  73.180498] SCSI subsystem initialized
[  73.239221] scsi0 : pata_serverworks
[  73.291042] scsi1 : pata_serverworks
[  73.985442] scsi 0:0:0:0: CD-ROM            COMPAQ  CD-224E          9.0C PQ: 0 ANSI: 5
[  74.531433] sr0: scsi3-mmc drive: 24x/24x xa/form2 cdda tray
[  74.531602] sr 0:0:0:0: Attached scsi CD-ROM sr0
[  74.544171] sr 0:0:0:0: Attached scsi generic sg0 type 5

no sign of the tape drive.

I have read Installing a DLT, SDLT, VS, LTO, or DAT Tape Drive Into a
Linux Operating System
and the first step, checking if st is loaded returns:-
Code:

#modinfo st
filename:      /lib/modules/2.6.24-16-server/kernel/drivers/scsi/st.ko
alias:          scsi:t-0x01*
alias:          char-major-9-*
license:        GPL
description:    SCSI tape (st) driver
author:        Kai Makisara
srcversion:    2AE7C893FB72CE94EEF06F9
depends:        scsi_mod
vermagic:      2.6.24-16-server SMP mod_unload 686
parm:          buffer_kbs:Default driver buffer size for fixed block mode (KB; 32) (int)
parm:          max_sg_segs:Maximum number of scatter/gather segments to use (256) (int)
parm:          try_direct_io:Try direct I/O between user buffer and tape drive (1) (int)
parm:          try_rdio:Try direct read i/o when possible (int)
parm:          try_wdio:Try direct write i/o when possible (int)

The document says that the device ID should be in there somewhere, but I can't see it.

The next step suggested is cat /proc/scsi/scsi but this only returns the CD-ROM:-

Code:

Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: COMPAQ  Model: CD-224E          Rev: 9.0C
  Type:  CD-ROM                          ANSI  SCSI revision: 05

At this point I am stumped, can anyone take me through the steps?

dogstar1 11-22-2009 11:22 PM

See http://cloudybits.com/5o -- That may point you in the right direction.


All times are GMT -5. The time now is 01:49 AM.