HomeVirtualizationVMwareESXi iSCSI initiator unable to scan Targets

ESXi iSCSI initiator unable to scan Targets

Problem:

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.

Solution:

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:

https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=8858900
Juan Mulford
Juan Mulford
Hey there! I've been in the IT game for over fifteen years now. After hanging out in Taiwan for a decade, I am now in the US. Through this blog, I'm sharing my journey as I play with and roll out cutting-edge tech in the always-changing world of IT.

Leave a Reply

- Advertisement -

Popular Articles

mulcas.com-Raspberry-Pi

Raspberry Pi OS in a Virtual Machine with VMware

4
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

7
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

1
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.
mulcas.com-VMware-OVF-Tool

How to export a Virtual Machine using the VMware OVF Tool

9
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 - mulcas.com

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

5
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