Portal Home > Knowledgebase > VMware Knowledge Base > Software iSCSI LUNs disappear after rebooting or upgrading the ESX/ESXi host

Software iSCSI LUNs disappear after rebooting or upgrading the ESX/ESXi host


  • After rebooting or upgrading the ESX/ESXi host, the Software iSCSI LUNs disappear
  • After upgrading from ESXi 4.x to ESXi 5.0 the Software iSCSI adapter is missing
  • The iSCSI initiator cannot find the targets presented to it
  • Dynamic IP addresses are listed under the iSCSI Server Location in the Dynamic Discovery tab of the iSCSI Initiator properties
  • Removing existing Dynamic IPs for the software iSCSI target fails
  • Rescanning for new iSCSI targets fails
  • The vSphere Client reports the error:

    iScsiLibException: status(80000000): unknown error; Message= IMA_RemoveDiscoveryAddress


The issue occurs when the iSCSI configuration is corrupted.


The first thing to check on ESXi is if the Ramdisk space is full. For more/related information, see ESXi 4.1.x ramdisk MAINSYS use is at 100% (2001457).
ITo resolve this issue, you must reinitialize the iSCSI configuration.
To reinitialize the iSCSI configuration:
  1. Log in to the ESX/ESXi host as the root user.
  2. Run this command to disable the Software iSCSI initiator:

    # esxcfg-swiscsi -d

  3. In the ESX/ESXi host, rename all files in the /etc/vmware/vmkiscsid folder . This folder has these files:

    • initiatorname.iscsi
    • iscsid.conf
    • vmkiscsid.db

    To rename the files, run these commands:

    # mv initiatorname.iscsi initiatorname.iscsi.old
    # mv iscsid.conf iscsid.conf.old
    # mv vmkiscsid.db vmkiscsid.db.old

    Additional files, such as vmkiscsid.db-journal, if present, must also be renamed.

  4. Reboot the ESX/ESXi host.
  5. After rebooting the host, run this command to re-enable the Software iSCSI initiator:

    # esxcfg-swiscsi -e

    Note: A new software iSCSI initiator ID is generated. This IQN needs to be added to the SAN.

  6. Run this command to scan for disks that are available through the Software iSCSI interface:

    # esxcfg-swiscsi -s
Based on VMware KB 1038065

Also Read