From ESXi shell:
esxcfg-datastore -u "DatastoreName"
Unmount first:
df -h | grep vmfs
| Action | Command | |--------|---------| | List datastores | esxcfg-datastore -l | | Check partitions | partedUtil get /dev/disks/naa... | | Unmount datastore | esxcfg-datastore -u "DSname" | | Check VMFS | voma -m vmfs -f check -d /vmfs/devices/disks/naa... | | Fix VMFS | voma -m vmfs -f fix -d /vmfs/devices/disks/naa... | | Mount datastore | esxcfg-datastore -m "/vmfs/devices/disks/naa...:1" "DSname" | recover vmfs datastore esxi 5