Pcornel
Storage · iSCSI

IQN

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

Back to the Topic

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 IQN
  • iscsiadm -m node | awk '{print $2}' — target IQNs
  • Get-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 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 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
AcceptanceHealthy 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

Confirmation

Confirm action

Continue?