[root@localhost /]# tgtadm --lld iscsi --mode target --op show Target 1: iqn.2001-04.com.example:storage.disk2.amiens.sys1.xyz System information: Driver: iscsi State: ready I_T nexus information: I_T nexus: 4 Initiator: iqn.2005-03.com.max:01.e86ccc Connection: 0 IP Address: 218.236.XXX.XXX I_T nexus: 5 Initiator: iqn.1991-05.com.microsoft:smile001 Connection: 1 IP Address: 211.110.XXX.XXX I_T nexus: 6 Initiator: iqn.1991-05.com.microsoft:your-7vev3rb6dt Connection: 1 IP Address: 222.122.XXX.XXX |
Addressing
Special names refer to both iSCSI initiators and targets. iSCSI provides three name-formats:
- iSCSI Qualified Name (IQN)
- Format: The iSCSI Qualified Name is documented in RFC 3720, with further examples of names in RFC 3721. Briefly, the fields are:
-
- literal iqn
- date (yyyy-mm) that the naming authority took ownership of the domain
- reversed domain name of the authority (org.alpinelinux, com.example, to.yp.cr)
- Optional ":" prefixing a storage target name specified by the naming authority.
- From the RFC:
Naming String defined by
Type Date Auth "example.com" naming authority
+--++-----+ +---------+ +-----------------------------+
| || | | | | |
iqn.2001-04.com.example:storage:diskarrays-sn-a8675309
iqn.2001-04.com.example
iqn.2001-04.com.example:storage.tape1.sys1.xyz
iqn.2001-04.com.example:storage.disk2.sys1.xyz