Unmount Datastores in VMWare

Antzs
Antzs used Ask the Experts™
on
How to determine a datastore is no longer in use by VMWare and Guest VM and the procedure to remove/unmount it.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
ICT Senior Infraestructure  Engineer  
Commented:
You can check if you have any VMs in that Datatore by clicking in the datastore and choose tab Virtual Machine, if there is no VMs in it, then is not beeing use by any VM.

But I have created a script a couple weeks ago for another user here that request a list of Datastores and VMs, you can use that:

https://www.experts-exchange.com/questions/29005138/D-Powercli-List-all-VM's-Per-SCSILUN-Part-2.html

Regarding how to remove/unmount, you can follow one of my articles regarding this subject:

https://www.experts-exchange.com/articles/17602/vCenter-Troubleshooting-TIPS-HOW-TO-Delete-and-detach-properly-iSCSI-volumes-manually-in-a-ESXi-Shell.html

Hope this can help

Jail

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial