I had a host that was showing devices with no datastore, saying “Not Consumed”. This is what you’d expect to see for a device where the device has yet to be formatted with VMFS. Now in this case it definitely had a VMFS filesystem created.
The fix for this was fairly simple. Essentially the host considers the datastore unmounted. To resolve this SSH to the host and run:
esxcfg-volume -l
You’ll see the VMFS UUID/Label listed, you just need the alphanumeric string without the datastore name (if present). Now run to mount it:
esxcfg-volume -M <UUID>
Give it a few seconds and the GUI should update to show the datastore has been mounted successfully.