Use it when the symptom is “Fibre Channel Path Failure”: work through the layers in order and stop at the first one that fails.
Fibre Channel Path Failure
A Fibre Channel path failure means one route from host to LUN stops working. Check each step — HBA link, fabric login, zoning, array port, LUN masking and multipath — to find the failed component while I/O continues on the remaining paths.
1. FC path failure: link, SFP, zoning change, target port.
2. Check port state and logins.
3. Check switch errors.
4. Re-zone if changed.
5. Verify rports.
HBA → link → switch → zone → target
Context & applicabilityCommon mistakes · platform/version boundaries
An FC path failure shows one initiator-to-target route is unusable, but it does not show the array, LUN or alternate fabric path is failed.
Suspicious evidence includes loss of sync, fabric login failures, CRC/link errors, missing target WWPN, zoning mismatch or array mapping changes.
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 Verification path Verify boundary
Host multipath device → FC HBA/WWPN → physical link → fabric login/zoning → target WWPN → LUN mapping → backend → completion
Healthy evidence shows expected HBA/target logins, effective zoning, LUN presentation and stable multipath I/O with no fabric errors.
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.
- HBA link up ≠ target logged in or zoned.
- Zoning correct ≠ LUN mapping/masking correct.
- Target WWPN visible ≠ intended LUN visible.
- One surviving FC path ≠ full fabric redundancy restored.
cat /sys/class/fc_host/host*/port_state— HBA portshow flogi database— switch loginshow zoneset active— zoning
ReferenceImportant terms & boundaries3 sections · depth on demand
Scope and what the checks show
An FC path failure shows one initiator-to-target route is unusable, but it does not show the array, LUN or alternate fabric path is failed.
In depth
Fibre Channel path failure, seen from Linux
The kernel's FC transport class represents each reachable storage port as a remote port (rport). The documentation places FC hosts under /sys/class/fc_host/ and remote ports under /sys/class/fc_remote_ports/, with attributes such as port_name, node_name, port_id, roles and port_state.
# cat /sys/class/fc_host/host*/port_state
Online
Linkdown
# for r in /sys/class/fc_remote_ports/rport-*; do echo "$r $(cat $r/port_name) $(cat $r/port_state)"; done
/sys/class/fc_remote_ports/rport-3:0-0 0x500a098188a1b2c3 Online
/sys/class/fc_remote_ports/rport-4:0-0 0x500a098188a1b2c4 Blocked
Layer by layer
| Layer | Check | Failure hint |
|---|---|---|
| HBA link | fc_host/*/port_state, speed | Linkdown: cable, SFP, switch port |
| Fabric login | Switch shows the HBA WWPN logged in | Port disabled, wrong speed/topology |
| Zoning | Zone contains HBA WWPN and target WWPN | Login works, but no remote port |
| LUN masking | Array maps the LUN to this WWPN | Remote port online, no LUN |
| Multipath | multipath -ll | One path group failed faulty |
Typical causes
- Single HBA or switch failure: all paths of one fabric disappear together.
- Optics/cable degradation: link up, but rising CRC/encoding errors on the switch port and path flapping.
- Zoning change during maintenance removed one target port.
- Storage controller reboot: paths to that controller fail, ALUA moves I/O to the other controller.
Verify the repair
Every expected remote port should be Online, every multipath map should show the planned number of active ready paths, and the switch port error counters should stop increasing.
*The port states and remote WWPNs illustrate an interrupted fabric link rather than a captured SAN incident.*
Method
Fibre Channel path failure checklist:
1. Host: cat /sys/class/fc_host/host*/port_state (Online/Linkdown), HBA logs, dmesg rport messages.
2. Switch: port status and error counters (CRC, ITW, link failures, loss of sync), SFP RX/TX power.
3. Login: WWPN in show flogi database / nsshow.
4. Zoning: was a zone set activated recently? Compare with the last known-good config.
5. Array: target port online, host still defined with this WWPN.
Rising CRC/ITW errors on one port with good light levels point at a dirty connector or damaged patch cable; clean and reseat before replacing optics.
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 Storage Troubleshooting → Fibre Channel Path Failure. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://docs.kernel.org/block/index.html · confidence 94%Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
Storage Troubleshooting → Fibre Channel Path Failure proof map
Fast scope, dependency, failure-boundary and acceptance checks for Storage Troubleshooting → Fibre Channel Path Failure.
| Troubleshooting boundary | What to verify | Proof limit |
|---|---|---|
| Scope / identity | Exact workload, object/device identity, affected hosts and incident window | Symptom naming alone is not root-cause proof |
| Dependency path | Host multipath device → FC HBA/WWPN → physical link → fabric login/zoning → target WWPN → LUN mapping → backend → completion | Healthy adjacent layers do not prove end-to-end health |
| Failure boundary | An FC path failure proves one initiator-to-target route is unusable; it does not prove the array, LUN or alternate fabric path is failed. | Correlate evidence for the same operation and timestamps |
| Acceptance | Healthy evidence shows expected HBA/target logins, effective zoning, LUN presentation and stable multipath I/O with no fabric errors. | Close only after the original workload/recovery test and regression check |