Solved

turning ide-scsi on and off during runtime

Posted on 2002-05-20
4
233 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

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

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

Suggested Solutions

It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Fine Tune your automatic Updates for Ubuntu / Debian
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

763 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