Networker

Re: [Networker] LTO tape drives on Linux

2008-10-02 18:47:59
Subject: Re: [Networker] LTO tape drives on Linux
From: Davina Treiber <Davina.Treiber AT PEEVRO.CO DOT UK>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Thu, 2 Oct 2008 23:45:00 +0100
Francis Swasey wrote:
On 9/30/08 2:09 PM, George Sinclair wrote:
Francis Swasey wrote:
I am using the QLogic drivers (on Red Hat EL/AS 4) downloaded from the QLogic site that are appropriate for my QLogic cards. I'm using IBM LTO4's in a Qualstar XLS library. Yes, I had to modify the stinit.def file to include LTO4 and I have to modify the /etc/init.d/networker script (or write one of my own that runs ahead of it) so the stinit command is run before networker starts controlling the drive.

Wouldn't putting something like:

post-install st /sbin/stinit

in the /etc/modules.conf file solve that problem? Assuming you have a '/etc/stinit.def' file in place, I would think it would run stinit against it before NW is started. That's how we do it, anyway. I have that line listed last in modules.conf with no special entries in the NW startup script itself. Also, the startup numbers for the NW scripts were kept as installed:
I was not aware of that option. If Red Hat's modules.conf file can do it -- all the more better. Yes, I have the proper /etc/stinit.def in place. The modification was just to run /sbin/stinit as the first instruction in the start() routine of the /etc/init.d/networker script -- So, this should work just fine. I'll have to test it though...


I am rather confused why so many distros are still using modules.conf with a 2.6 kernel. modules.conf is obsolete and replaced by modprobe.conf. It just seems that the distro makers don't know that and they insist on using clumsy methods of converting from one to the other.

To sign off this list, send email to listserv AT listserv.temple DOT edu and type 
"signoff networker" in the body of the email. Please write to networker-request 
AT listserv.temple DOT edu if you have any problems with this list. You can access the 
archives at http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER