HomeVirtualizationVMwareESXi iSCSI initiator unable to scan Targets

ESXi iSCSI initiator unable to scan Targets


I tried to scan new created LUNs from my storage array and for unknown reasons one of the ESXi hosts my cluster couldn’t find targets, where all the other server could. Previously all the server could see all my targets with no issues. Still not sure what happened.

I tried:

  • Restarting the services.
  • Rebooting the ESXi server
  • Rebooting the vSphere Client host
  • Unmapping LUNs from the target, adding new LUNs and new targets.


What worked for me was cleaning up the whole iSCSI configuration from the ESXi server. For doing so, just copy and paste (or input) the following command lines via the ESXi shell.

  • Go to the iSCSI directory: cd /etc/vmware/vmkiscsid
  • Disable the iSCSI initiator: esxcfg-swiscsi–d
  • Delete iSCSI initiator configuration: rm -fiscsi iscsid.conf vmkiscsid.db

After doing so, reboot the ESXi host, then add the iSCSI initiator again and configure the storage network.

Other solutions:

Juan Mulford
Juan Mulford
I have been active in IT for over fourteen years now. I am a solutions architect, working with storage, virtualization, and VDI solutions. For the past ten years, I have been living and working in Taiwan.

Leave a Reply

- Advertisement -

Popular Articles


Raspberry Pi OS in a Virtual Machine with VMware

Although the Raspberry Pi OS is designed and optimized for the Raspberry Pi module, it is possible to test and use it without its hardware, with VMware. This solution can be useful if you are a developer (or just a curious guy) and don't have a Raspberry Pi module with you
Unable to delete inaccessible datastore

Unable to delete an "inaccessible" datastore

I was switching my storage array, so I migrated the VMs from that old datastore/storage to a new datastore/storage. The old datastore was shared by 3 ESXi hosts, no cluster. After migrating the VMs and unmount/delete the datastore, it was still presented in two of the ESXi hosts and was marked as inaccessible.
This is not a valid source path / URL

This is not a valid source path / URL - SourceTree and Gitlab

I have been working on a project with a friend who set up a repository in Gitlab but even though I was able to view all projects on it, I couldn’t really join the repository. I was using SourceTree and Gitlab.

How to export a Virtual Machine using the VMware OVF Tool

The VMware OVF Tool is implemented by VMware for easily importing and exporting virtual machines in Open Virtualization Format (OVF) standard format. Here, I want to show you how to download and install it, and then how to use it from a Windows machine.
Couldn't load private key - Putty key format too new

Couldn't load private key - Putty key format too new

couldn't load private key - Putty key format too new.” This issue happens when you use PuTTygen to generate or convert to a ppk key. Here is how to fix it. 
- Advertisement -

Recent Comments