Solved

turning ide-scsi on and off during runtime

Posted on 2002-05-20
4
235 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Get MySQL database support online, now!

At Percona’s web store you can order your MySQL database support needs in minutes. No hassles, no fuss, just pick and click. Pay online with a credit card.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
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.:
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses

630 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