Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 01-07-2003, 03:01 PM   #1
LQ Newbie
Registered: Jan 2003
Distribution: The Hat; SuSE
Posts: 1

Rep: Reputation: 0
Multi-LUN SCSI support?

Hi all,

I've installed Red Hat 7.2 and 8.0 on a couple of test machines I have here at work. The intention is to test some SAN equipment, where the device presents a single SCSI ID to the FC HBA (Qlogic 2200), but multiple devices are represented as multiple LUNs in the SCSI addressing world.

Can someone help me adapt my already-installed kernels to support multiple LUNs? I know that it's possible to turn on the support through make menuconfig, but there is another step that I'm missing.

Please help!

Matt Cole
Old 01-27-2003, 01:54 PM   #2
LQ Newbie
Registered: Jan 2003
Distribution: RedHat
Posts: 5

Rep: Reputation: 0
Multi-LUN support

You're "box" kernel should already support multiple LUNs by default but you need to pass along the information to the kernel.
On some distribs all you need to do is place an append statement in the /etc/lilo.conf file along the lines of: append=max_scsi_luns=32 (and rerunning /sbin/lilo)
In RedHat you need to place the following line in the /etc/modules.conf file: options scsi_mod max_scsi_luns=xxx
(Where xxx represents the amount of LUNs desired.)
Don't forget that QLogic offers a failover driver for it's cards. I've found it works quite well with the 22xx and 23xx models cards on LSILogic and IBM logo'd versions of the same called FastT.
(The README that comes with the QLogic drivers describes the way each distro needs to be editted in order to get where you want to go with multi-LUN support.) Best of Luck.
Old 02-01-2003, 07:51 AM   #3
LQ Newbie
Registered: Feb 2003
Posts: 1

Rep: Reputation: 0
Re: Multi-LUN support


i was trying this:

/etc/lilo.conf file along the lines of: append=max_scsi_luns=32

and this too:

/etc/modules.conf file: options scsi_mod max_scsi_luns=xxx

but still i can not access all slots in my multi cardreader.
i have redhat 7.2, and will get all the time only 1 lun #

maybe some one can help me again

thanx, chris

Old 02-16-2003, 11:52 PM   #4
LQ Newbie
Registered: Mar 2002
Location: Minnesota
Distribution: Red Hat
Posts: 8

Rep: Reputation: 0


Still having problems. What storage device are you attaching to your Qlogic cards? Make sure your bios on your Qlogic cards are set to see more than one lun (enter Qlogic bios at startup Ctrl+Q or something like that). Let me know if you have tested with that, and what storage you are trying to attach. Another thing, do "cat /proc/scsi/scsi" and see if you see any storage devices there, your Qlogic FC card should show any FC devices there.

Post reply back.



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
Working with array of multi-lun troyzeng Linux - General 4 11-15-2003 04:48 AM
added a CD-R ... now can't enable multi-LUN support ewto Linux - Newbie 0 10-16-2003 07:59 AM
How to set multi LUN for scsi CloudBuilder Red Hat 0 10-13-2003 05:51 PM
enable multi LUN support @ boot? ewto Linux - Newbie 0 10-13-2003 09:05 AM
Multiple LUN support & need scsi inquiry command... mvega Linux - Newbie 2 09-23-2003 05:48 PM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:26 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