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
Solved

turning ide-scsi on and off during runtime

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

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
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é.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

790 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