Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Installation - Getting started with Red Hat Linux
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
SCSI devices and device reordering

SCSI devices and device reordering

2006-01-11       - By Tom Sightler

 Back
Reply:     1     2     3     4     5  

On Wed, 2006-01-11 at 16:14 +1100, Guy Waugh wrote:
> I'm thinking it is probably because of the fact that, on the 6650, the
> megaraid SCSI controller has a Host value of 2 (from
> /proc/scsi/megaraid), where the QLogic HBA has a Host value of 1 (from
> /proc/scsi/qla2300) (excuse me if I've got the 'Host value' terminology
> wrong). On the other boxes, the megaraid SCSI controller has a Host
> value of 1, and the QLogic HBA has a Host value of 2.
>
> I suspect that this is quite a common problem, but I can't locate any
> info on what to do about it (probably not using the right search terms).
> Can I do anything about it?
>
> Can anyone suggest what I might do to keep the local disk as /dev/sda,
> or point me at relevant info?

Well, you're certainly on the right track.  Basically the system is
loading the Qlogic driver before the megaraid driver.  In your simple
case the easy answer is to simply manually reorder the drivers.  To do
this take a look in /etc/modules.conf.  My guess is that, on your
system, you will see two lines that are something like this:

alias scsi_hostadapter qla2300
alias scsi_hostadapter1 megaraid

Just reverse these two like this:

alias scsi_hostadapter megaraid
alias scsi_hostadapter1 qla2300

And then rebuild the initrd with a command something like:

mkinitrd /boot/initrd-2 (See http://trd-2.ora-code.com).4.21-37.ELsmp.img 2.4.21-37.ELsmp

Of course you may need to modify the mkinitrd command slightly if you're
using a different kernel.

Reboot, and that's it, you should have the behavior you want.

Of course, you could also use LVM and device labels rather than caring
where disks devices end up, but I understand why you might want this
behavior.

Later,
Tom


--
Taroon-list mailing list
Taroon-list@(protected)
https://www.redhat.com/mailman/listinfo/taroon-list