I need to install an HP Surestore dlt on a Centos 4 machine and I am at a loss as to how to proceed. Can someone either provide or point me to an online reference on how to proceed to add and configure a SCSI adapter and tape drive. I have read, but not really understood, the man page entry for st. Does kudzu handle this?
Regards, Jim
I am a digest subscriber so the favour of an additional direct reply is desired.
-- *** e-mail is not a secure channel *** mailto:byrnejb.<token>@harte-lyne.ca James B. Byrne Harte & Lyne Limited vox: +1 905 561 1241 9 Brockley Drive fax: +1 905 561 0757 Hamilton, Ontario <token> = hal Canada L8E 3C3
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Tue, Sep 06, 2005 at 02:36:27PM -0400, James B. Byrne wrote:
I need to install an HP Surestore dlt on a Centos 4 machine and I am at a loss as to how to proceed. Can someone either provide or point me to an online reference on how to proceed to add and configure a SCSI adapter and tape drive. I have read, but not really understood, the man page entry for st. Does kudzu handle this?
Regards, Jim
I am a digest subscriber so the favour of an additional direct reply is desired.
1) Install tape drive 2) Read the mt man page 3) Access the drive using either /dev/nst0 or /dev/st0
Thats all.
There is really no configuration needed, unless you want to setup compression values and such.
Gotta love SCSI.
[]s
- -- Rodrigo Barbosa rodrigob@suespammers.org "Quid quid Latine dictum sit, altum viditur" "Be excellent to each other ..." - Bill & Ted (Wyld Stallyns)
On 6 Sep 2005 at 16:35, Rodrigo Barbosa wrote:
- Install tape drive
- Read the mt man page
- Access the drive using either /dev/nst0 or /dev/st0
Thats all.
There is really no configuration needed, unless you want to setup compression values and such.
If it were only true. There is no such device as /dev/st0 or anything else having to do with scsi in /dev on this system. Kudzu sees the scsi adapter but does not ask to configure it. So how does one tell CentOS4 that the adapter exists? Do I have to manually tell the kernel to load a particular module? If so how and which one?
Regards, Jim
-- *** e-mail is not a secure channel *** mailto:byrnejb.<token>@harte-lyne.ca James B. Byrne Harte & Lyne Limited vox: +1 905 561 1241 9 Brockley Drive fax: +1 905 561 0757 Hamilton, Ontario <token> = hal Canada L8E 3C3
On Tue, Sep 06, 2005 at 04:29:46PM -0400, James B. Byrne wrote:
If it were only true. There is no such device as /dev/st0 or anything else having to do with scsi in /dev on this system. Kudzu sees the scsi adapter but does not ask to configure it. So how does one tell CentOS4 that the adapter exists? Do I have to manually tell the kernel to load a particular module? If so how and which one?
A card-specific driver and "st" should do the trick.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Tue, Sep 06, 2005 at 04:29:46PM -0400, James B. Byrne wrote:
On 6 Sep 2005 at 16:35, Rodrigo Barbosa wrote:
- Install tape drive
- Read the mt man page
- Access the drive using either /dev/nst0 or /dev/st0
Thats all.
There is really no configuration needed, unless you want to setup compression values and such.
If it were only true. There is no such device as /dev/st0 or anything else having to do with scsi in /dev on this system. Kudzu sees the scsi adapter but does not ask to configure it. So how does one tell CentOS4 that the adapter exists? Do I have to manually tell the kernel to load a particular module? If so how and which one?
You can see if the device was recognized correctly by looking at /proc/scsi/scsi.
The devices to access it should be:
/dev/nst0 -> character -> Major 9, Minor 128 /dev/st0 -> character -> Major 9, Minor 0
root.disk with mode 0660 should be the ideal choice.
You can create these devices either using mknod directly, or the /dev/MAKEDEV program.
The kernel module should be loaded correctly, without any specific configurations. That is, as long as you have scsi configured correctly, which I guess is already the case (DLT on an IDE based machine ? Ick!).
- -- Rodrigo Barbosa rodrigob@suespammers.org "Quid quid Latine dictum sit, altum viditur" "Be excellent to each other ..." - Bill & Ted (Wyld Stallyns)
On 6 Sep 2005 at 17:38, Rodrigo Barbosa wrote:
You can see if the device was recognized correctly by looking at /proc/scsi/scsi.
There is no scsi directory under /proc
ll /proc/scsi ls: /proc/scsi: No such file or directory
Regards, Jim
-- *** e-mail is not a secure channel *** mailto:byrnejb.<token>@harte-lyne.ca James B. Byrne Harte & Lyne Limited vox: +1 905 561 1241 9 Brockley Drive fax: +1 905 561 0757 Hamilton, Ontario <token> = hal Canada L8E 3C3
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Tue, Sep 06, 2005 at 04:49:43PM -0400, James B. Byrne wrote:
On 6 Sep 2005 at 17:38, Rodrigo Barbosa wrote:
You can see if the device was recognized correctly by looking at /proc/scsi/scsi.
There is no scsi directory under /proc
ll /proc/scsi ls: /proc/scsi: No such file or directory
Then your problem is not with the tape drive, but with scsi itself.
As soon as you have scsi up and running, the tape should be easy enough.
You will have to select the correct module for your controler, and configure it (/etc/modprobe.conf). lspci might give you the information you need to get started.
[]s
- -- Rodrigo Barbosa rodrigob@suespammers.org "Quid quid Latine dictum sit, altum viditur" "Be excellent to each other ..." - Bill & Ted (Wyld Stallyns)
On 6 Sep 2005 at 18:13, Rodrigo Barbosa wrote:
You will have to select the correct module for your controler, and configure it (/etc/modprobe.conf). lspci might give you the information you need to get started.
Perhaps I am using the wrong terminology for my request. I am seeking assistance in configuring linux to recognize and use a scsi tape drive. The scsi controller was added to this system for the sole purpose of supporting the tape unit long after the os was loaded. I do not know how to tell the linux kernel to select and load the necessary module to access the scsi controller and thence the tape drive. That is why I sought a cookbook solution to this problem. There must be somewhere, a well defined series of steps that one goes through to identify, select, and configure the appropriate module for a specific scsi adapter. I lack this knowledge and this is what I seek.
lspci yields this:
05:04.0 SCSI storage controller: Initio Corporation 360P (rev 02)
/etc/modeprobe.conf contains this:
alias eth0 e100 alias snd-card-0 snd-intel8x0 options snd-card-0 index=0 install snd-intel8x0 /sbin/modprobe --ignore-install snd-intel8x0 && /usr/sbin/alsactl restore >/dev/null 2>&1 || : remove snd-intel8x0 { /usr/sbin/alsactl store >/dev/null 2>&1 || : ; }; /sbin/modprobe -r --ignore-remove snd-intel8x0 alias usb-controller ehci-hcd alias usb-controller1 uhci-hcd
SO. What do I put into modprobe.conf to get the system to recognize the scsi controller? Is there a utility to detect and do this? I appreciate all the assistance but I need a more basic, step by step, explanation of how to go about this.
Regards, Jim
James B. Byrne wrote:
I need to install an HP Surestore dlt on a Centos 4 machine and I am at a loss as to how to proceed. Can someone either provide or point me to an online reference on how to proceed to add and configure a SCSI adapter and tape drive. I have read, but not really understood, the man page entry for st. Does kudzu handle this?
Regards, Jim
The tape drive should work out of the box, as long as your scsi adapter is supported.
Connect your drive to the server, boot and look at the boot messages. You can always do a 'dmesg' afterwards. You should see your tape detected there (or not).
Then, you can use mt to manipulate the tape, but to do backups, you're more likely to use tar, cpio, or even mondorescue.
I am a digest subscriber so the favour of an additional direct reply is desired.
-- *** e-mail is not a secure channel *** mailto:byrnejb.<token>@harte-lyne.ca James B. Byrne Harte & Lyne Limited vox: +1 905 561 1241 9 Brockley Drive fax: +1 905 561 0757 Hamilton, Ontario <token> = hal Canada L8E 3C3