Storage · Fibre Channel
FC Ports
Cheat sheet · https://pcornel.dk/topic.php?topic=4088
Answer
Fibre Channel ports have roles that define what connects to them: N_Port on hosts and storage, F_Port on the switch facing them, and E_Port between switches. Switches usually auto-detect the role.
Remember
- N_Port on hosts and storage, F_Port on switch facing them, E_Port between switches.
- Switches usually auto-detect the role.
- Wrong role means no login.
First checks
show interface brief— port types and statesportshow <port> (Brocade)— detailcat /sys/class/fc_host/host*/port_type— host port type
Commands
show interface fc1/5 brief
Verify in this order
port → negotiated type/speed
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=4088