Recover Vmfs Datastore Esxi 5 -
partedUtil get /dev/disks/naa.YOUR_DISK_ID Look for VMFS partition type ( FB ). If partition table lost, recreate first partition starting at sector 128 (typical) or 2048 with VMFS type:
df -h | grep vmfs a) Rescan storage adapter From ESXi shell: recover vmfs datastore esxi 5
partedUtil set /dev/disks/naa.YOUR_DISK_ID 1 128 <end_sector> FB 0 Then rescan and mount. If native tools fail, use a Linux VM with the corrupted disk attached (physical RDM or passthrough). partedUtil get /dev/disks/naa
vim-cmd hostsvc/storage/refresh Unmount first: recover vmfs datastore esxi 5
First, if mounted: