Use this when hosts lose paths or performance on a Fibre Channel SAN.
Fibre Channel Troubleshooting
Troubleshoot Fibre Channel by checking link status and speed, SFP light levels and error counters, FLOGI and name-server entries, active zoning and LUN masking, then multipathing on the host.
1. Link down: cable, SFP, speed, port disabled.
2. No LUNs: zoning, masking, rescan.
3. Errors: dirty optics, bad cables.
4. Slow drain devices cause congestion.
5. Check both fabrics.
link → login → zoning → masking → LUN
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
systool -c fc_host -vPrimary Commands
Configuration and operational commands for this Topic.
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 Troubleshooting order Narrow the fault
1. Physical: port up, speed, light levels (show interface transceiver details), CRC/encoding errors.
2. Login: host in FLOGI database?
3. Zoning: host and target in the same active zone?
4. LUN masking/host group on the array includes the host WWPNs?
5. Host: rescan, multipath shows all paths, HBA driver/firmware supported.
6. Performance: credit starvation (show interface counters B2B credits, porterrshow er_tx_c3_timeout), slow-drain devices.
Step 2 Common mistakes Narrow the fault
- Checking zoning but not LUN masking.
- CRC and link errors point to optics or cables.
- Credit starvation causes slow paths.
- Zoning changes cause RSCN events.
cat /sys/class/fc_host/host*/{port_state,speed}— link stateporterrshow / show interface counters— errorsdmesg | grep -i -e lpfc -e qla2xxx— HBA driver messages
ReferenceHow it works1 section · depth on demand
Commands
show interface fc1/5 counters
show flogi database interface fc1/5
show zone member pwwn <wwpn>
porterrshow # Brocade
ReferenceImportant terms & boundaries2 sections · depth on demand
Method
Work from the physical layer up and stop at the first failed step:
1. Link – port online, correct speed, optics light levels (show interface fc1/5 transceiver details, sfpshow).
2. Errors – CRC, ITW, link failures rising = cable, optic or patch panel.
3. Login – WWPN in show flogi database / nsshow.
4. Zoning – host and target in the same active zone (show zone member pwwn …).
5. Host definition – array has the WWPN in the host/host group and maps the LUN.
6. Host rescan – echo '- - -' > /sys/class/scsi_host/hostN/scan, esxcli storage core adapter rescan --all, Update-HostStorageCache.
7. Multipath – expected path count and policy.
Congestion symptoms (slow I/O everywhere, credit-zero counters, frame discards on ISLs) point at a slow-drain device rather than a single host.
Common symptoms
| Symptom | Likely cause |
|---|---|
| No FLOGI | Cable/optic, port disabled, wrong VSAN |
| FLOGI but no target | Zoning |
| Target but no LUN | LUN masking/host group |
| Paths flapping | CRC errors, bad optics, slow drain |
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 → Fibre Channel Troubleshooting. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.snia.org/education/what-is-fibre-channel · confidence 94%