IQN
Cheat sheet · https://pcornel.dk/topic.php?topic=4101
Answer
IQNs normally follow the iqn.yyyy-mm.reversed-domain:unique-string style and should remain stable because target access-control and LUN mappings often reference them. Changing IP addressing should not require changing the iSCSI name.
Remember
- IQN ≠ IP address.
- IQN ≠ DNS hostname.
- Matching human-readable suffix ≠ proof of the same exact initiator.
- Changing an IQN can change storage authorization even when network connectivity is unchanged.
First checks
cat /etc/iscsi/initiatorname.iscsi— initiator IQNiscsiadm -m node | awk '{print $2}'— target IQNsGet-InitiatorPort | ft NodeAddress— Windows IQN
Verify in this order
host IQN → target ACL
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.
iSCSI → IQN 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 IQN identifies an iSCSI endpoint but does not prove that endpoint is reachable, authenticated or authorized to a LUN. | Correlate host, network/fabric and target/array evidence for the same time window |
| Acceptance | Healthy evidence: IQNs are stable, unique within the design, match target ACL/mapping records and produce the expected sessions/LUN presentation. | 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=4101