Storage · Fibre Channel
Fibre Channel Troubleshooting
Cheat sheet · https://pcornel.dk/topic.php?topic=4096
Answer
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.
Remember
- CRC and link errors point to optics or cables.
- Credit starvation causes slow paths.
- Zoning changes cause RSCN events.
First checks
cat /sys/class/fc_host/host*/{port_state,speed}— link stateporterrshow / show interface counters— errorsdmesg | grep -i -e lpfc -e qla2xxx— HBA driver messages
Commands
systool -c fc_host -v- Operational command for Inspect Fibre Channel host attributes. Focus fields: host WWPN/WWNN, port_state, port_type, spe…
show interface transceiver detailsshow interface countersshow interface fc1/5 transceiver detailsshow flogi databaseshow zone member pwwn …esxcli storage core adapter rescan --all
Verify in this order
link → login → zoning → masking → LUN
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=4096