vsphere: can’t remove datastore because file system is busy/in use
i was trying to remove an old test datastore earlier today and no matter what i tried was unable to. i verified there were no remaining vms or templates on the datastore. i manually deleted any folders i could (i could not remove the vmkdump folder). i tried unmounting first then deleting. i could not even unmount the datastore. i tried the same tactics via the command line with no luck.
i found the following command from a blog (source below):
esxcli system coredump file remove –force
that removed the in use dumpfile and after a reboot i was able to remove the datastore
source:
http://www.virten.net/2014/02/cannot-remove-datastore-because-file-system-is-busy/