Pcornel
Storage · Fibre Channel

HBA

Cheat sheet · https://pcornel.dk/topic.php?topic=4081

Back to the Topic

Answer

An HBA (host bus adapter) is the card that connects a server to Fibre Channel storage. It has its own WWPN per port, and its driver, firmware and queue depth settings affect SAN stability.

Remember

  • Each HBA port has its own WWPN.
  • Driver and firmware versions matter for stability.
  • Queue depth affects performance.

First checks

  • systool -c fc_host -v | grep -E 'port_name|speed|port_state|supported_speeds' — HBA info
  • lspci | grep -i fibre — HBA hardware
  • modinfo qla2xxx / lpfc | grep version — driver version

Commands

esxcli storage san fc list
esxcli system module parameters set -m qlnativefc -p ql2xmaxqdepth=64

Verify in this order

host PCIe → HBA → FC link

Where it usually breaks

First mismatch in initiator → link/fabric/network → session/login → target port → LUN/namespace presentation → multipath → block consumer; preserve identity/pre-state before mutation.

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4081

Confirmation

Confirm action

Continue?