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

Symptoms

  • 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

Cause

The issue occurs when the iSCSI configuration is corrupted.

Resolution

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

  • 0 A felhasználók hasznosnak találták ezt
Hasznosnak találta ezt a választ?

Kapcsolódó cikkek

Hardware and firmware requirements for 64-bit guest operating systems

PurposeThis article explains the host machine hardware and firmware requirements for installing...

Logging in to the vCenter Server 5.0 Web Client fails with the error: unable to connect to vCenter Inventory Service

DetailsAfter upgrading from vCenter Server 4.1 to 5.0, you experience these symptoms:Cannot log...

Multiple network entries in vCenter Server 5.0.x after migrating virtual machines from a virtual switch to a virtual distributed switch

SymptomsAfter migrating virtual machines from a virtual switch to a virtual Distributed...

Minimum requirements for the VMware vCenter Server 5.x Appliance

PurposeIf you are using the VMware vCenter Server Appliance, beginning with vSphere 5.0 you can...