Pcornel
Browse topics
Options
Recent
Favorites
Storage · Technical reference

HBA

Direct 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.

When to use this

Use this when installing or troubleshooting a Fibre Channel HBA.

First 30 seconds

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.

Operational verification

host PCIe → HBA → FC link

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common problems
  • Driver/firmware combination not on the array vendor's support matrix.
  • Port speed auto-negotiation failing — check port_speed and 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).
Platform / version applicability
SAN and storage networking
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformSAN and storage networking
Scope / prerequisiteUse this when installing or troubleshooting a Fibre Channel HBA.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Checks Verify boundary
PlatformCommand
Linuxcat /sys/class/fc_host/host*/port_name (WWPN), .../port_state
WindowsGet-InitiatorPort
ESXiesxcli 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 references

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.

observation · 1
Key points
  • Each HBA port has its own WWPN.
  • Driver and firmware versions matter for stability.
  • Queue depth affects performance.
Key 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
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

PlatformSetting
Linux (qla2xxx/lpfc)ql2xmaxqdepth, lpfc_lun_queue_depth module parameters
ESXiesxcli system module parameters set -m qlnativefc -p ql2xmaxqdepth=64
WindowsHBA vendor tool or registry

Follow the array vendor's guidance — too high a depth can overload array ports.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docSAN and storage networking current

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%
Confirmation

Confirm action

Continue?