LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Multi-LUN SCSI support? (https://www.linuxquestions.org/questions/linux-hardware-18/multi-lun-scsi-support-40622/)

mattcole 01-07-2003 03:01 PM

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!

TIA,
Matt Cole

comp_vredebreuk 01-27-2003 01:54 PM

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.

ctheb 02-01-2003 07:51 AM

Re: Multi-LUN support
 
hi,

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

:confused: :confused: :confused:

Nitemare 02-16-2003 11:52 PM

Chris,

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.

Nitemare


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