Unable to increase lpfc_max_luns
Issue
-
I followed the steps described in "What is the theoretical maximum number of sd* devices supported? " article to increase
lpfc_max_luns. -
Add
options lpfc lpfc_max_luns=2048to/etc/modprobe.d/lpfc.conf, rebuild initramfs and reboot:# cat etc/modprobe.d/lpfc.conf options lpfc_nodev_tmo=10 options lpfc_lun_queue_depth=32 options lpfc lpfc_max_luns=2048 <--- # cat /sys/class/scsi_host/host7/lpfc_max_luns 255 <--- Not changed. -
Add
lpfc_max_luns=2048to the kernel line in/etc/grub.confand reboot:kernel /vmlinuz-2.6.32-431.20.3.el6.x86_64 ro root=/dev/mapper/vg_root-lv_root rd_NO_LUKS rd_LVM_LV=vg_root/lv_root LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16 rd_LVM_LV=vg_root/lv_swap KEYBOARDTYPE=pc KEYTABLE=us crashkernel=auto rhgb quiet rd_NO_DM rhgb quiet lpfc_max_luns=2048 # cat /sys/class/scsi_host/host7/lpfc_max_luns 255 <--- Not changed. -
Increase of
lpfc_max_lunsis not working.
Environment
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Emulex HBA
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.