Skip to Content

Solved: How do I unmount datastore from ESXi Host in the vSphere Web Client?

Question

When I try to unmount a datastore from the ESXi host using vSphere Web Client, an error about resource datastore is in use is showing.

  • How can I determine what is causing the datastore to be busy?
  • How do I unmount a datastore from ESXi Host in the vSphere Web Client when getting an error about resource datastore is in use?

How do I unmount datastore from ESXi Host in the vSphere Web Client?

Solution

Go to the datastore on the left and click on VMs on the right. Something might have an ISO mounted if there are no VMs directly running from it.

From the OP, perform the following actions:

  • Check for open processes using the following command: vsish -e ls /storage/scsifw/devices/<"naa. id of your datastore">/worlds/ |sed 's:/::' |while read i;do ps |grep $i;done
  • Restart management agents on the host(s): services.sh restart
  • Reboot vCenter server (or at the least, restart vCenter services).

You should be able to unmount and delete the datastore.

    Ads Blocker Image Powered by Code Help Pro

    Your Support Matters...

    We run an independent site that\'s committed to delivering valuable content, but it comes with its challenges. Many of our readers use ad blockers, causing our advertising revenue to decline. Unlike some websites, we haven\'t implemented paywalls to restrict access. Your support can make a significant difference. If you find this website useful and choose to support us, it would greatly secure our future. We appreciate your help. If you\'re currently using an ad blocker, please consider disabling it for our site. Thank you for your understanding and support.