
RedHat Enterprise Linux (RH-EL) multiple LUN support
Multiple LUN support can be added with an option to the SCSI midlayer Kernel module
scsi_mod. To have multiple LUN support added permanently at boot time of the system, add the following line to the file /etc/modules.conf:
options scsi_mod max_scsi_luns=128
After saving the file, rebuild the module dependencies by running:
depmod
Now you have to rebuild the InitialRAMDisk, using the command:
mkinitrd
Issue mkinitrd
Fibre Channel disks discovered before internal SCSI disks
In some cases, when the Fibre Channel HBAs are added to a RedHat Enterprise Linux system, they will be automatically configured in a way that they are activated at boot time, before the
To prevent the FC HBA driver from being loaded before the driver for the internal SCSI HBA you have to change the /etc/modules.conf file:
Locate the lines containing scsi_hostadapterx entries where x is a number.
Reorder these lines: first come the lines containing the name of the internal HBA driver module, then the ones with the FC HBA module entry.
Renumber the lines: no number for the first entry, 1 for the second, 2 for the 3rd, and so on.
After saving the file, rebuild the module dependencies by running:
depmod
Now you have to rebuild the InitialRAMDisk, using the command:
mkinitrd
Issue mkinitrd
Example
Example: A-12 Sample /etc/modules.conf
scsi_hostadapter aic7xxx scsi_hostadapter1 aic7xxx scsi_hostadapter2 qla2300
Appendix A. Operating systems specifics | 317 |