...
To delete a datastore, make sure it is empty and not attached to the host.
The datastore refresh will also:
Remove inaccessible datastores if they are not used by any managed VMs
Disable inaccessible datastores if they are used by any managed VMs
...
Configuration of VM disks
...