Undelete Vmfs Datastore

partedUtil setptbl /vmfs/devices/disks/naa.XXXXX gpt "1 2048 <EndSector> AA31E02A400F11DB9590000C2911D1B8 0"

: In the vSphere Client, go to Configure > Storage > Storage Devices and locate the device (LUN) that held the datastore. undelete vmfs datastore

Depending on your environment, you have three pathways to recovery. partedUtil setptbl /vmfs/devices/disks/naa

If the partition table was deleted, you can often reconstruct it using the fdisk or partedUtil utilities on an ESXi host. Using fdisk (MBR/Legacy) undelete vmfs datastore