Unmounting a Datastore Fails During Planned Migration or Cleanup of VMware VMs


1.Log in to the CLI of the ESXi host that does not function properly.
2.Run esxcli storage core device detached list command to check the detached LUNs in offstatus.
For example, the command output is:

Device UID State
-------------------------------- -----
naa.60022a11000b65c62c09cbb000000016 off
naa.60022a11000b65c62c09cbd00000001b off
naa.60022a11000b65c62c09cc060000001c off NOTE:
You can delete 60022a11000b65c62c09cbb000000016, 60022a11000b65c62c09cbd00000001b and 60022a11000b65c62c09cc060000001c recorded detached LUNs in this example.

3.Run the esxcli storage core device detached remove -d naa.60022a11000b65c62c09cbb000000016 command to delete the record of detached LUNs.

This procedure uses ID 60022a11000b65c62c09cbb000000016 as an example.

Other related questions:
Starting or Shutting Down VMs Fails When You Execute a Recovery Plan for VMware VMs
1.If you want to recover a VM to an ESXi host, log in to vCenter through a vCenter client. Set the location for storing VM swap files on the ESXi host. You are advised to set the location on a dedicated datastore without affecting other VMs. The dedicated datastore must have adequate space. For details, see the VMware documentation. 2.If you want to recover a VM to an ESXi host cluster, ensure that VM swap files and the VM reside under the same directory to prevent the adverse impact on VM vMotion performance. Adjust the space of the datastore where the VM resides to ensure that the VM can correctly create swap files.

Starting VMs Timed Out When You Execute a Recovery Plan for VMware VMs
1.Log in to vCenter through a vCenter client, select the VM that fails to be started, and view the tasks and events concerning the VM. 2.If error pbm.fault.PBMFault.summary is displayed during VM startup, check the ESXi cluster settings, disable the vSphere DRS setting, and execute the recovery plan again. After the recovery plan is completed, you can enable the vSphere DRS setting the ESXi cluster based on actual requirements.

Introduction to planned migration of OceanStor ReplicationDirector
If data or applications at a production site need to be recovered from a disaster recovery site due to a power failure, upgrade, or maintenance, you need to perform planned migration at the disaster recovery site. The latest data changes at the production site will be synchronized to the disaster recovery site. Planned migration is performed only in the disaster recovery management system at the disaster recovery site.

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top