iSCSI LUNs are not detected by newly added hosts.
search cancel

iSCSI LUNs are not detected by newly added hosts.

book

Article ID: 424593

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

Symptoms:

  • iSCSI LUNs do not appear on newly added ESXi hosts despite being mapped on the storage array side.
  • Navigating to affected host > Configure > Storage Devices on the vCenter confirm that the iSCSI LUNs are missing. 
  • The iSCSI storage adapter status shows as online.
  • Network connectivity tests (vmkping, nc) succeed.
  • Storage rescan do not resolve the issue.
  • The /var/run/log/syslog.log file shows successful iSCSI login messages:

    YYYY-MM-DDTHH:MM.SSSZ Wa(28) iscsid[20691805]: Login Success: iqn.1992-08.###.###:##.################################:vs.7 if=iscsi_vmk@vmkx addr=##.##.##.##:3260 (TPGT:1032 ISID:0x3)
    YYYY-MM-DDTHH:MM.SSSZ Wa(28) iscsid[20691805]: Login Success: iqn.1992-08.###.###:##.################################:vs.7 if=iscsi_vmk@vmkx addr=##.##.##.##:3260 (TPGT:1033 ISID:0x7)
    YYYY-MM-DDTHH:MM.SSSZ Wa(28) iscsid[20691805]: Login Success: iqn.1992-08.###.###:##.################################:vs.8 if=iscsi_vmk@vmkx addr=##.##.##.##:3260 (TPGT:1034 ISID:0x3)

  • The /var/run/log/hostd.log file displays the following error:

    YYYY-MM-DDTHH:MM.SSSZ Wa(164) Hostd[2100358]: [Originator@6876 sub=Default opID=##############:########-##-##-#### sid=######## user=vpxuser:######.#####\#######] IP Capability discovery failure on iSCSI HBA: iqn.1998 01.com.vmware:################################:#####: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 7.x
  • VMware vSphere ESXi 8.x
  • VMware vSphere ESXi 9.x

Cause

  • An incorrect or mismatched iSCSI Qualified Name (IQN) is assigned to the Initiator Group on the storage array.
  • Navigate to Affected Host > Configure > Storage > Storage Adapters on the vCenter and select the active software iSCSI adapter. Under Properties, note down the correct iqn:

    Example:

    iqn.1998-01.com.vmware:HOSTFQDN:#######:##

  • Log in into storage console note down the IQN configured on the Initiator Group:

    Example:

    iqn.1998-01.com.vmware:localhost:#######:##

    From the above example it is confirmed that incorrect iqn is updated on the storage initiator group.

Resolution

Engage internal storage team or the storage vendor to update the correct iqn from the storage end.

Additional Information

Storage adapter iqn can also be verified from the command line by running the command: 

 localcli storage core adapter list

Example:

HBA Name  Driver     Link State  UID                                                                     Capabilities         Description
--------  ---------  ----------  ----------------------------------------------------------------------  -------------------  -----------
vmhba64   iscsi_vmk  online      iqn.1998-01.com.vmware:HOSTFQDN:#######:##  Second Level Lun ID  iSCSI Software Adapter


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