Pcornel
Storage · SAN

Zoning

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

Back to the Topic

Answer

Zones constrain visibility/connectivity between fabric members. They are typically designed with least privilege, often one initiator plus required target ports per zone. LUN mapping/masking remains a separate target-side authorization layer.

Remember

  • Zoning ≠ LUN masking/mapping.
  • Zone configured ≠ active effective configuration.
  • Same zone ≠ LUN access if target-side mapping denies it.
  • iSCSI commonly uses IP/VLAN/firewall controls rather than FC-style zoning.

First checks

  • show zoneset active (FC switch) — active zones
  • show flogi database — logged-in ports
  • cat /sys/class/fc_remote_ports/rport-*/port_name — targets visible to host

Verify in this order

initiator WWPN + target WWPNs → zone → active zoneset

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.

SAN → Zoning SAN/iSCSI map

SAN/iSCSI boundaryWhat to verifyProof limit
Identity / presentationInitiator + target identity, portal/fabric path, LUN stable ID and mappingDiscovery or login alone does not prove correct storage ownership
Path / transportLink/VLAN/IP/TCP or fabric state, path independence, session/path errors and multipath groupingOne reachable path does not prove resilience or backend health
Failure boundaryAn active zone proves selected endpoints may communicate through that fabric; it does not prove target login, LUN authorization, multipath or I/O.Correlate host, network/fabric and target/array evidence for the same time window
AcceptanceHealthy evidence: active zones match least-privilege design on each fabric and intended initiator-target pairs communicate without exposing unrelated ports.Close only after the original block workload and upper-layer consistency check succeeds

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4072

Confirmation

Confirm action

Continue?