Run the following command to list available disks and identify the one that previously held the datastore. Look for the correct size.
vmkfstools -V
Sudden power loss or ESXi host crashes during snapshot operations can leave the datastore unmountable. recover vmfs datastore esxi 6
Note the Device ID (e.g., naa.6005076300810186d00000000000001 ).
This command probes for new file systems. If the datastore appears, you can browse it in the Datastore Browser to verify the VMs are present. Run the following command to list available disks
This is the preferred method if the partition is still intact but unmounted, which often happens after a hardware change or RAID rebuild.
If a rescan doesn’t bring the datastore back, proceed to recovery. Note the Device ID (e
Use the setptbl command to rewrite the partition entry. partedUtil setptbl "/vmfs/devices/disks/<DeviceID>" DiskLabel PartNumber StartSector EndSector Type GUID