Storage · Fibre Channel
PLOGI
Cheat sheet · https://pcornel.dk/topic.php?topic=4087
Answer
PLOGI (port login) is the login between two N_Ports, such as a host and a storage port, after FLOGI. It sets up communication parameters before the upper-layer PRLI and SCSI traffic.
Remember
- PLOGI follows FLOGI.
- Zoning must allow the pair.
- PRLI establishes the upper protocol.
First checks
ls /sys/class/fc_remote_ports/— remote ports (targets) after PLOGIcat /sys/class/fc_remote_ports/rport-*/port_state— Onlineshow fcns database— targets registered
Verify in this order
initiator → PLOGI → target → 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=4087