4 – Red Hat/SuSE Linux Driver Installation
System Driver Parameter max_scsi_luns
FL0054601-00 B
4-3
4.3.1
Multiple LUN Support Through the Kernel
The kernel must be configured to enable multiple LUN support so that nonzero
LUNs can be configured and accessible. Use the
make menuconfig
command
to build a kernel that has the option under
SCSI Support
enabled to probe all LUNs
on SCSI devices.
If you have multiple HBAs, set max_scsi_luns to the largest number
of LUNs supported by any one of these HBAs.
4.3.2
Multiple LUN Support when the SCSI Mid-Layer is Compiled in the Kernel
If the SCSI Mid-Layer is compiled in the kernel, the boot loader can be configured
to scan for multiple LUNs each time the system boots.
For LILO IA-32 systems, perform the following steps:
Step 1.
Add the following line to each of the kernel images listed in the /etc/lilo.conf
file:
append="max_scsi_luns=128"
Step 2.
Type the following command:
# lilo
Step 3.
Reboot the system.
For GRUB IA-32 Red Hat systems, perform the following steps:
Step 1.
Append the max_scsi_luns parameter to each of the kernel images listed
in the /etc/grub.conf file. For example:
kernel /vmlinux-2.4.7-10 ro root=/dev/hda2 max_scsi_luns=128
Step 2.
Reboot the system.
For GRUB IA-32 SuSE systems, perform the following steps:
Step 1.
Append the max_scsi_luns parameter to each of the kernel images listed
in the /boot/grub/menu.lst file. For example:
kernel (hd0,1)/boot/vmlinuz root=/dev/hda2 max_scsi_luns=128
Step 2.
Reboot the system.
NOTE