Red Hat Enterprise Linux reports lun<nnn> has a LUN larger than allowed by the host adapter

Solution Verified - Updated -

Issue

  • The following scsi errors are reported; where <nnn> is greater than lpfc module parameter lpfc_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 (RHEL)
  • 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)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content