Detach VMware Inactive Datastore on ESXi 5.5

While covering for a colleague at one of our clients, I noticed that one of the datastores was showing as inactive on one of the hosts (ESXi 5.5 Express Patch 10, 3568722)


After rescanning the hosts, and then trying to unmount the datastore it had become clear that it was an issue with a single host as all the other hosts had successfully unmounted the LUN.

When I tried to remove it from the troublesome host, I got the error message:

Operation failed, diagnostics report: Unable to query live VMFS state of volume.: No such file or directory

After trying to unmount it via by PowerCLI


Remove-Datastore -Datastore Datastore -VMHost -Confirm:$false

I also tried via ESXCLI to stop start storage IO

# restart


# /etc/init.d/storageRM stop | start

..all was unsuccessful.

In the end, a host reboot resolved the issue. Sometimes, the simplest answer is the quickest answer.

Be First to Comment

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.