Unable to increase lpfc_max_luns

Solution Verified - Updated -

Issue

# 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=2048 to the kernel line in /etc/grub.conf and 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_luns is not working.

Environment

  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 7
  • Emulex HBA

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.