Solved

turning ide-scsi on and off during runtime

Posted on 2002-05-20
4
228 Views
Last Modified: 2010-04-20
HI
I have an ide cdwriter on my server, but there is one snag...
It has a scsi hard drive that runs off a initio a100 controller that uses the a100u2w driver. For some reason though, it won't automatically load the drivers at boot time, and I have to place the insmod a100u2w in the rc.local file, only problem is; the scsi disk holds my /var folder and only mounts after the whole system has booted. It seems it is using my original ide disk's /var folder during boot time and as soon as the scsi disk is up, it mounts over that /var.
This is why I think my cdr is not working, even though I have it compiled into the kernel.
So, now I want to know if I can turn on ide-scsi for the /dev/hdb dirve after I booted ( I know you are supposed to pass it to the kernel boot params) .
0
Comment
Question by:psimation
  • 2
  • 2
4 Comments
 
LVL 2

Expert Comment

by:wqclatre
ID: 7023278
You can always load the ide-scsi module when ever you want.
But I think your problem is that the cdwriter is already detected as an ide-cdrom. So I sugest that you add

append="hdb=ide-scsi" to your /etc/lilo.conf and run /sbin/lilo

Then it won't be detected as an ide-cdrom.

About your /var problem. What do you have in your /etc/modules.cof or /etc/conf.modules ?

(a good idea with scsi cards could be to have the driver in a initial-ramdisk.


0
 
LVL 17

Author Comment

by:psimation
ID: 7023315
OK, If I put the append="hdb=ide-scsi" in lilo.conf, will that take effect without having to reboot?
I can't reboot the system, not for another couple of months...But I wan't to use the cdr...

I have the scsi module in modules.conf, but that doesn't work, it only works ( I kid you not) if you insmod from a command prompt after a complete boot. When the module is in modules.conf, it loads, but the disk won't init.
It really is starnge.

0
 
LVL 2

Accepted Solution

by:
wqclatre earned 50 total points
ID: 7023325
About the cdwriter

If you have ide-cdrom suppor compiled into the kernel you have to parse those parameters to lilo, otherwise it will be detected as an ide-cdrom.

If you have ide-cdrom support compiled as an module you could simply unload this module then load the ide-scsi module (and the sr_mod module) and use your ide-cdroms as scsi-cdrom devices. (But as I said if ide-cdrom is compiled into the kernel I guess that it has to be parsed to the kernel at boot through a append line in lilo.conf)

About the scsi card. If you show me what you have in modules.conf I might be able to help you.

My best idea how to do with the scsi-cards is to have them in a ram disk as I said before.

Man initrd will give you some more information how to create it. (You have to add it to lilo too)
0
 
LVL 17

Author Comment

by:psimation
ID: 7552882
Thanks, solved my problem by rebooting (well, a power failure *helped* me...)
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Join & Write a Comment

Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now