Pcornel
Storage · Fibre Channel

Fibre Channel Troubleshooting

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

Back to the Topic

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 state
  • porterrshow / show interface counters — errors
  • dmesg | 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 details
show interface counters
show interface fc1/5 transceiver details
show flogi database
show 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

Confirmation

Confirm action

Continue?