06-02-2008 03:05 AM
Solved! Go to Solution.
06-03-2008 05:04 AM
Up to 255 HBAs (could be separate fabrics),
Up to 255 controllers per HBA (nports),
Up to 255 LUNs per controller.
So for each hba, the maximum luns is therefore 65,025.
BTW, the lun range is 0..254. Lun 255 is assigned to an internal layer within the kernel (xpt) if memory serves.
The bus/target/lun nomenclature used within the system refers to hba, controller (nport), and lun behind that controller respectively.
Hope that helps.
06-03-2008 05:32 AM
But unclear to me. Does HBA not mean host bus adapter which in that case means controller.
Thus to my knowledge the hba plugs into the pci backplane and according to the documentation can only handle 256 LUN's (scsi-3 standard)Please try and explain in more detail.
06-03-2008 05:51 AM
The scsi standard refers to at most 256 LUNs per target, where the target is a particular controller port for SANs.
So the HBA can send commands to any one of 255 different storage controllers that it can see and has logged into out on the SAN, and behind each of those storage controllers up to 255 LUNs can be addressed. This is one less than the standard because the kernel uses one of the LUNs internally.
Although the scsi command has which LUN the command is addressed to, the FC-SCSI protocol determines how that scsi command is routed to the target storage controller. This routing is controlled by information outside of the scsi command itself. Only after the command arrives within the storage controller is LUN really relavant.