Scanning for iSCSI storage devices does not detect devices and paths
search cancel

Scanning for iSCSI storage devices does not detect devices and paths

book

Article ID: 424593

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

  • The storage adapter status is online.
  • The MTU and port bind are configured correctly.
  • Connectivity checks using vmkping and nc commands to the storage are successful.
  • Rescanning or restarting the ESXi host does not resolve the issue.
  • The following output is visible in the logs:

    > The login to the session with the storage succeeds.
    syslog:
    ----
    xxxx-xx-xxTxx:xx:xx.xxxZ Wa(28) iscsid[20691805]: Login Success: iqn.1992-08.xxx.xxx:sn.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx:vs.7 if=iscsi_vmk@vmkx addr=xx.xx.xx.xx:3260 (TPGT:1032 ISID:0x3)
    xxxx-xx-xxTxx:xx:xx.xxxZ Wa(28) iscsid[20691805]: Login Success: iqn.1992-08.xxx.xxx:sn.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx:vs.7 if=iscsi_vmk@vmkx addr=xx.xx.xx.xx:3260 (TPGT:1033 ISID:0x7)
    xxxx-xx-xxTxx:xx:xx.xxxZ Wa(28) iscsid[20691805]: Login Success: iqn.1992-08.xxx.xxx:sn.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx:vs.8 if=iscsi_vmk@vmkx addr=xx.xx.xx.xx:3260 (TPGT:1034 ISID:0x3)
    xxxx-xx-xxTxx:xx:xx.xxxZ Wa(28) iscsid[20691805]: Login Success: iqn.1992-08.xxx.xxx:sn.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx:vs.8 if=iscsi_vmk@vmkx addr=xx.xx.xx.xx:3260 (TPGT:1035 ISID:0x7)
    xxxx-xx-xxTxx:xx:xx.xxxZ Wa(28) iscsid[20691805]: Login Success: iqn.1992-08.xxx.xxx:sn.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx:vs.7 if=iscsi_vmk@vmkx addr=xx.xx.xx.xx:3260 (TPGT:1032 ISID:0x4)
    xxxx-xx-xxTxx:xx:xx.xxxZ Wa(28) iscsid[20691805]: Login Success: iqn.1992-08.xxx.xxx:sn.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx:vs.7 if=iscsi_vmk@vmkx addr=xx.xx.xx.xx:3260 (TPGT:1033 ISID:0x8)
    xxxx-xx-xxTxx:xx:xx.xxxZ Wa(28) iscsid[20691805]: Login Success: iqn.1992-08.xxx.xxx:sn.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx:vs.8 if=iscsi_vmk@vmkx addr=xx.xx.xx.xx:3260 (TPGT:1034 ISID:0x4)
    xxxx-xx-xxTxx:xx:xx.xxxZ Wa(28) iscsid[20691805]: Login Success: iqn.1992-08.xxx.xxx:sn.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx:vs.8 if=iscsi_vmk@vmkx addr=xx.xx.xx.xx:3260 (TPGT:1035 ISID:0x8)
    ----

    > Failed to detect IP capability on the iSCSI HBA.
    hostd:
    ----
    xxxx-xx-xxTxx:xx:xx.xxxZ Wa(164) Hostd[2100358]: [Originator@6876 sub=Default opID=xxxxxxxxxxxxxxxx:70951414-6e-37-e506 sid=5243790d user=vpxuser:VSPHERE.LOCAL\xxxxxx] IP Capability discovery failure on iSCSI HBA: iqn.1998-01.com.vmware:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx:xxxxxx:64: Check vmkernel tcp/ip settings for network properties for software and dependent hardware iscsi adapters. It's not supported from this API.'
    ----

Environment

VMware vSphere ESXi

Cause

If the ESXi host's initiator (IQN) is missing or incorrectly registered on the storage side, the device will not be detected.

Resolution

Verify the IQN registration status on the storage and register the correct IQN.
For verification or modification steps, contact the support team of the relevant storage vendor.

Additional Information

You can verify the IQN for ESXi using the following methods.

-- UI
Connect to vSphere Client and check the following:

  > ESXi in the inventory > Configuration > Storage/Storage Adapters > “Identifier” for the relevant vmhba

-- CLI
Connect to ESXi via SSH and execute the following command:

  $ localcli storage core adapter list

Example:

HBA Name  Driver     Link State  UID                                                                     Capabilities         Description
--------  ---------  ----------  ----------------------------------------------------------------------  -------------------  -----------
:
vmhba64   iscsi_vmk  online      iqn.1998-01.com.vmware:<hostname>:********:64  Second Level Lun ID  iSCSI Software Adapter


Japanese KB: iSCSI ストレージ デバイスのスキャンを行ってもデバイスとパスが検出されません