Recover Vmfs Partition Table -
Total sectors = last number.
On ESXi:
partedUtil get /vmfs/devices/disks/naa.xxxxxxxxxxxx If the output shows “Unknown” or no partitions, the table is likely corrupt. recover vmfs partition table
If the partition table becomes corrupted—due to accidental overwriting, failed resizing operations, controller issues, or human error—the datastore becomes inaccessible, and all VMs hosted on it appear lost. The good news: In many cases, without data loss. Total sectors = last number
List all storage devices: