Pcornel
Storage · Fibre Channel

Fabric Login

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

Back to the Topic

Answer

Fabric login covers the logins a Fibre Channel device performs: FLOGI to the switch for an FC ID, then PLOGI and PRLI to each target. Without completed logins, hosts cannot see LUNs.

Remember

  • FLOGI to fabric, then PLOGI and PRLI to targets.
  • All logins must complete before LUNs appear.
  • Zoning blocks PLOGI to unzoned ports.

First checks

  • show flogi database — fabric logins
  • show fcns database — name server registrations
  • cat /sys/class/fc_host/host*/port_state — Online

Commands

show flogi database

Verify in this order

link up → FLOGI → name server → PLOGI → PRLI

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=4085

Confirmation

Confirm action

Continue?