[CentOS] Speaking of 3Ware/RAID/SATA/9550SX...

Thu Jul 13 02:32:12 UTC 2006
Aleksandar Milivojevic <alex at milivojevic.org>

Seth Bardash wrote:

> 3) Install kernel source rpm and rebuild kernel from existing .config
> file BUT turn on multiple LUN function in the SCSI functions of the
> kernel.

Hmmm...  You don't need to rebuild kernel to get multiple LUNs support. 
  You just need to use max_luns option of scsi_mod module.  The default 
value for max_luns is 1, hence you see only first LUN.  For example, to 
be able to see first 8 LUNs, simply place this into /etc/modprobe.conf 
and rebuild initrd image(s) in /boot:

options scsi_mod max_luns=8


If using LILO as boot loader, you'd need to rerun it after rebuilding 
initrd images.  If using Grub no special action is needed for it. 
Reboot and you are done.