detection of LUNs

Michael Kearey mkearey at redhat.com
Fri May 20 23:29:00 UTC 2005


On Fri, 2005-05-20 at 16:34 +0100, John O'Loughlin wrote:
> Will RHEL3 automatically detect multiple LUNS on a scsi device or do I
> need to tweak something?
> 
> Cheers
> john
> 

Hi John.
You can add to your /etc/modules.conf:

 options scsi_mod max_scsi_luns=n

Where 'n' is the maximum number you want the kernel to probe for.

Then rebuild the initrd for the kernel.
A simple way to rebuild the initrd:

new-kernel-pkg --mkinitrd --depmod --install `uname -r`

This will create a new initrd for the currently running kernel BTW.

You can find a little more detail about why this is necessary by
visiting the Red Hat Knowledge Base  https://kbase.redhat.com and do a
search on 'SCSI LUNS'

Cheers,
Michael









More information about the redhat-list mailing list