Re: Promise raid controller moves ide0 and ide1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Frank Steiner wrote:

Hi,

I have an Asus A7V266-E with an onboard Promise raid controller.
We are booting diskless with tftp. My problem is, that Linux
detects the promise controller before the normal IDE controller,
so that IDE0 and IDE1 are taken by the promise controller, and
the normal IDE controller gets IDE2 and IDE3.
This is very bad because the diskless clients share config files
and are expected to have their local harddisk at ide0.



Wouldn't it be easier to convert to using disk labels. (Assuming you are running a distro that supports them.)
e2label /dev/hda2 foo
change LABEL=foo for the normal device


or handle it in your rc.sysinit scripts:
hard =`grep -e hd. -e sda /proc/partitions | sed -e s/[0-9]//g -e "s/ //g" -e s/-// |sort |uniq |head`
mount /dev/$hard\1 /foo


Of course I could just plug the hard disk into the promise
controller or compile a kernel without support for the promise
controller.
But I'm curious if there is a way to force linux to give ide0 and ide1
to the normal IDE controller?
Disabling the "load ata raid bios" in the bios didn't help.

Does anyone know a way to put the normal IDE controller before
the raid controller?



Boot the system with ide=reverse. This will reverse the order that controllers are seen.






[Index of Archives]     [Linux RAID]     [Linux Device Mapper]     [Linux IDE]     [Linux SCSI]     [Kernel]     [Linux Books]     [Linux Admin]     [GFS]     [RPM]     [Yosemite Campgrounds]     [AMD 64]

  Powered by Linux