Help answer threads with 0 replies.
Go Back > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.


  Search this Thread
Old 07-28-2004, 05:43 PM   #1
Registered: Mar 2004
Posts: 50

Rep: Reputation: 15
SAN LUN device order

I have a RHL EN3.0 server attached to my SAN via 2 Emulex HBAs. When I loaded the drivers for the HBAs, it discovered the LUN (LUN 19) and mapped it to /dev/sda. The problem is that my local disk used to be /dev/sda1-4. I want to make sure that the local disk stays /dev/sda so when I add new SAN disks, they dont change things. A good example is that every time I boot the system I get errors trying to mount the swap on /dev/sda3.

in /etc/modules.conf I have the Emulex drivers listed after the local SCSI drivers, but they for some reason still get loaded first.
alias scsi_hostadapter mptbase
alias scsi_hostadapter1 mptscsih
alias scsi_hostadapter lpfcdd

in /var/log/messages I notice that the following are being mapped:

SCSI0 = Emulex 0
SCSI1 = Emulex 1
SCSI2 = IBM local SCSI
SCSI3 = IBM local SCSI

any ideas on how to make the local SCSI drivers load first? i.e SCSI0 = IBM local SCSI?

Old 07-28-2004, 07:25 PM   #2
LQ Newbie
Registered: Nov 2002
Location: Manila, Philippines
Distribution: RH 6.2, 7.0, 7.1, 7.2, 7.3, 8.0
Posts: 12

Rep: Reputation: 0

Arrange properly the modules.conf then rebuild your initial ramdisk. This should fix this.

Old 07-28-2004, 07:29 PM   #3
Registered: Mar 2004
Posts: 50

Original Poster
Rep: Reputation: 15
I have the lpfcdd module last, and that is the Emulex driver. How else can I arange it?
Old 07-29-2004, 07:24 PM   #4
Registered: Mar 2004
Posts: 50

Original Poster
Rep: Reputation: 15
in /etc/modules.conf
name the alias items so they will load in that order

alias scsi_hostadapter mptbase
alias scsi_hostadapter1 mptscsih
alias scsi_hostadapter2 lpfcdd

I just added the 2 to the lpfcdd driver alias name and that solved it.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Hot-add SAN LUN dcostakos Linux - Hardware 5 03-11-2005 01:16 PM
LUN device mapping jdepaul Linux - Hardware 0 08-02-2004 02:42 PM
SAN LUN disk device order jhumeston Linux - Software 1 07-28-2004 06:02 PM
Rearrange device order in boot up 3DZign Linux - Laptop and Netbook 1 03-27-2004 08:09 PM
changing the order of the pcmcia device superbee600 Red Hat 1 09-22-2003 08:15 PM

All times are GMT -5. The time now is 08:50 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration