LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 07-28-2004, 06:43 PM   #1
jhumeston
Member
 
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?

thanks
 
Old 07-28-2004, 08:25 PM   #2
greyhoundz1718
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
Hi,

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

 
Old 07-28-2004, 08:29 PM   #3
jhumeston
Member
 
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, 08:24 PM   #4
jhumeston
Member
 
Registered: Mar 2004
Posts: 50

Original Poster
Rep: Reputation: 15
Solution:
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.
 
  


Reply


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 02:16 PM
LUN device mapping jdepaul Linux - Hardware 0 08-02-2004 03:42 PM
SAN LUN disk device order jhumeston Linux - Software 1 07-28-2004 07:02 PM
Rearrange device order in boot up 3DZign Linux - Laptop and Netbook 1 03-27-2004 09:09 PM
changing the order of the pcmcia device superbee600 Red Hat 1 09-22-2003 09:15 PM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 12:19 PM.

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