Red Hat Enterprise Linux reports lun<nnn> has a LUN larger than allowed by the host adapter
Issue
-
The following scsi errors are reported; where <nnn> is greater than
lpfcmodule parameterlpfc_max_luns.kernel: scsi: host X channel Y id Z lun<nnn> has a LUN larger than allowed by the host adapter -
This issue can be also seen if you have a LUN ID that is greater than 255 even though you have a much fewer number of LUNs than 255.
-
After hba rescan on physical server we are unable to add new LUN. We see this error in the system logs:
scsi: host 0 channel 0 id 0 lun557 has a LUN larger than allowed by the host adapter scsi: host 1 channel 0 id 0 lun557 has a LUN larger than allowed by the host adapter -
Unable to install RHEL 6.1 on LUNs exported from SAN when LUN id value is less than FC driver's supported maximum lun id value.
ERR kernel:lpfc 0000:0f:00.0: 1:1303 Link Up Event x1 received Data: x1 xf7 x20 x0 x0 x0 0 NOTICE kernel:scsi 3:0:0:0: RAID EMC SYMMETRIX 5874 PQ: 0 ANSI: 4 WARNING kernel:scsi: host 3 channel 0 id 0 lun16384 has a LUN larger than allowed by the host adapter
Environment
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 5
- Emulex LightPulse Fibre Channel Host Adapter (lpfc driver)
- QLogic Corp Fibre Channel to PCI Express HBA (qla driver)
- Cisco Systems Inc VIC FCoE Host Adapter (fnic driver)
- Exceptions:
- For really large lun values
- As in "...
lun4194304 has a LUN larger than allowed by the host adapter, see the inforamation in: "Red Hat Enterprise Linux reports lunXXX has a LUN larger than allowed by the host adapter, where XXX is a very large number"
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
