LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   installing redhat with predetermined module order (https://www.linuxquestions.org/questions/red-hat-31/installing-redhat-with-predetermined-module-order-214945/)

JYDawg 08-08-2004 06:11 AM

installing redhat with predetermined module order
 
I've got 2 Systems (Dell 2650) hooked up to a single storage array (Dell StoreEdge) with 2 lun defined meant to run a RHES Cluster.

However when installing the Systems the drivers for the external storage are loaded before the drivers of the internal storage. This caused my primairy disc to be loaded under /dev/sdc and the external storage under /dev/sda and /dev/sdb. Since this is causing me some problems with (among many others) GRUB.

I want to reverse the order in which these drivers are loaded or remove the driver for the external disks and then rerun the installation. Any sugestions on how to do this?

mexashaggy 08-31-2004 02:55 PM

I have almost the same setup, hehe. Any way, i was running into the same problem, and I found an answer on redhats kb, so give Dan Haines credit for this, but his instruction were to build another ramdisk, using the option --preload=driver. So for me i put this

Code:

mkinitrd -f -v --preload=aacraid initrd-2.4.21-15.0.4.ELsmp.img 2.4.21-15.0.4.ELsmp
Hope this helps

--mexashaggy

hkb33 09-06-2004 10:56 PM

Unless you need the disks during installation time, I'd leave the external storage disconnected until after the installation finishes.

Once the installation is finished open up your /etc/modules.conf file and see if the driver for the external raid is loading before the internal raid in the list of modules.

If it is, change the order of it....for example, let's say I have a qlogic card and a scsi adapter...the qlogic card is atached to external storage:

# cat /etc/modules.conf

alias scsi_hostadapter qla2200
alias scsi_hostadapter1 aic-7xxxx

The qlogic adapter is loading up first, therefore the external storage is seen as /dev/sda and the internal as /dev/sdb when the qlogic card is connected up to the external storage.

alias scsi_hostadapter aic-7xxxx
alias scsi_hostadapter1 qla2200


mkinitrd -f -v initrd-2.4.21-4.EL.img 2.4.21-4.EL





jhibbets 09-07-2004 09:58 AM

I think this is what you might need to help:

How can you change the order of devices, like sda and hdb?
http://kbase.redhat.com/faq/FAQ_35_2469.shtm


All times are GMT -5. The time now is 07:21 AM.