Pcornel
Storage · Fibre Channel

N_Port

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

Back to the Topic

Answer

An N_Port (node port) is the Fibre Channel port on an end device, such as a host HBA or a storage array port, that connects to a switch F_Port and logs into the fabric.

Remember

  • N_Ports are on HBAs and storage ports.
  • They log into the fabric with FLOGI.
  • Each has a unique WWPN.

First checks

  • cat /sys/class/fc_host/host*/port_type — NPort
  • show flogi database — N_Ports logged in
  • systool -c fc_host -v — details

Commands

show flogi database
show fcns database

Verify in this order

N_Port ↔ F_Port

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

Confirmation

Confirm action

Continue?