Storage · Fibre Channel
WWPN
Cheat sheet · https://pcornel.dk/topic.php?topic=4084
Answer
A WWPN (World Wide Port Name) uniquely identifies one Fibre Channel port. It is the value used in zoning and LUN masking, so record it for every HBA and storage port.
Remember
- A WWPN is unique per port.
- Zoning and LUN masking use it.
- Record it when replacing HBAs.
First checks
cat /sys/class/fc_host/host*/port_name— host WWPNsshow flogi database— logged in WWPNsshow device-alias database— aliases
Commands
esxcli storage san fc listshow flogi databaseshow fcns database
Verify in this order
port → WWPN → zones/masks
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=4084