iSCSI LUN identification on host and iSCSI storage array
search cancel

iSCSI LUN identification on host and iSCSI storage array


Article ID: 323123


Updated On:


VMware vSphere ESXi


This article provides information on:
  • Identifying the IP address of communication between ESXi Host and ISCSI SAN array.
  • Co-relating the LUN ID on ESXi host and device on the ISCSI SAN array.
  • Establishing the mapping between the host identifier and the SAN array identifier for a particular LUN, as well as various IDs used to identify the initiator, target, and LUN references.



VMware vSphere ESXi 6.7
VMware vSphere ESXi 5.1
VMware vSphere ESXi 5.5
VMware vSphere ESXi 7.0.x
VMware vSphere ESXi 6.5
VMware vSphere ESXi 8.0.x


Note: The commands in this Knowledge Base article are to be used to display information. Do not alter the commands.

The iSCSI ID of the host

# esxcli storage core adapter list
HBA Name  Driver     Link State  UID                                     Capabilities   Description
--------  ---------  ----------  --------------------------------------  ------------   -----------
vmhba33   iscsi_vmk  online                 iSCSI Software Adapter

This is the iSCSI initiator IQN of the host It is assigned in the iSCSI SAN array during LUN assignment.

The iSCSI target IQN ID 

# esxcli iscsi adapter target list
Adapter  Target                                        Alias  Discovery Method  Last Error
-------  --------------------------------------------  -----  ----------------  ----------
vmhba65         SENDTARGETS       No Error

This is IP address of the Storage Array controller which provides the path for iSCSI communication.


The IP address and port of the storage array

# esxcli iscsi adapter target portal list
Adapter  Target                                        IP              Port  Tpgt
-------  --------------------------------------------  --------------  ----  ----
vmhba65  3260  257

The unique naa ID of the LUNs presented from the iSCSI target


# esxcli iscsi adapter target portal list
Adapter  Target                                        IP              Port  Tpgt
-------  --------------------------------------------  --------------  ----  ----
vmhba65  3260  257


LUN pathing information: 

The LUN has BUS NUMBER =0, TARGET ID=0 and LUN ID=0. These components create the Runtime Name with the HBA:vmhba33, C:BUS NUMBER, T:TARGET ID and L: LUN ID = vmhba65:C0:T0:L0.


# esxcli storage core path list -d naa.6000eb30b6e4148d000000000000000d,,t,1-naa.6000eb30b6e4148d000000000000000d
   Runtime Name: vmhba65:C0:T0:L0
   Device: naa.6000eb30b6e4148d000000000000000d
   Device Display Name: LEFTHAND iSCSI Disk (naa.6000eb30b6e4148d000000000000000d)
   Adapter: vmhba65
   Channel: 0
   Target: 0
   LUN: 0
   Plugin: NMP
   State: active
   Transport: iscsi
   Adapter Identifier:
   Target Identifier: 00023d000001,,t,257
   Adapter Transport Details:
   Target Transport Details: Alias= Session=00023d000001 PortalTag=257
   Maximum IO Size: 131072


Additional Information

To be alerted when this article is update, click Subscribe to Article.
ホストおよび iSCSI ストレージアレイ装置における iSCSI LUN の各種識別子について