Zoning
Cheat sheet · https://pcornel.dk/topic.php?topic=4072
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 zonesshow flogi database— logged-in portscat /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 boundary | What to verify | Proof limit |
|---|---|---|
| Identity / presentation | Initiator + target identity, portal/fabric path, LUN stable ID and mapping | Discovery or login alone does not prove correct storage ownership |
| Path / transport | Link/VLAN/IP/TCP or fabric state, path independence, session/path errors and multipath grouping | One reachable path does not prove resilience or backend health |
| Failure boundary | An 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 |
| Acceptance | Healthy 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