Use this when installing or troubleshooting a Fibre Channel HBA.
HBA
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.
1. HBAs connect hosts to FC.
2. Two ports/cards for redundancy.
3. Driver and firmware per compatibility matrix.
4. Set queue depth per vendor guidance.
5. Check link speed negotiation.
host PCIe → HBA → FC link
Context & applicabilityCommon mistakes · platform/version boundaries
- Driver/firmware combination not on the array vendor's support matrix.
- Port speed auto-negotiation failing — check
port_speedand switch port settings. - HBA queue depth too low for heavy workloads, or too high causing array overload.
- One HBA port connected to both fabrics (no fabric isolation).
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Checks Verify boundary
| Platform | Command |
|---|---|
| Linux | cat /sys/class/fc_host/host*/port_name (WWPN), .../port_state |
| Windows | Get-InitiatorPort |
| ESXi | esxcli storage san fc list |
Keep HBA firmware and driver versions on the storage vendor's compatibility list, and use two HBAs (or two ports on separate cards) to separate fabric A and B.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- Each HBA port has its own WWPN.
- Driver and firmware versions matter for stability.
- Queue depth affects performance.
systool -c fc_host -v | grep -E 'port_name|speed|port_state|supported_speeds'— HBA infolspci | grep -i fibre— HBA hardwaremodinfo qla2xxx / lpfc | grep version— driver version
ReferenceImportant terms & boundaries2 sections · depth on demand
In depth
An HBA (host bus adapter) is the host's FC interface. It runs the FC protocol in hardware and presents remote LUNs to the OS as local SCSI devices. Each port has its own WWPN; dual-port HBAs or two single-port HBAs give one path into fabric A and one into fabric B.
cat /sys/class/fc_host/host*/port_name # WWPNs (Linux)
cat /sys/class/fc_host/host*/port_state # Online / Linkdown
cat /sys/class/fc_host/host*/speed
Get-InitiatorPort | Where ConnectionType -eq 'Fibre Channel' # Windows
esxcli storage san fc list # ESXi
Keep HBA firmware and driver at a combination listed in the array and OS vendor's interoperability matrix; mismatches show up as path flapping or timeouts under load.
Queue depth
| Platform | Setting |
|---|---|
| Linux (qla2xxx/lpfc) | ql2xmaxqdepth, lpfc_lun_queue_depth module parameters |
| ESXi | esxcli system module parameters set -m qlnativefc -p ql2xmaxqdepth=64 |
| Windows | HBA vendor tool or registry |
Follow the array vendor's guidance — too high a depth can overload array ports.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Fibre Channel → HBA. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.snia.org/education/what-is-fibre-channel · confidence 94%