How can I recover an ESX VMFS partition
Posted on 2010-11-18
Seems something BAD happened to my ESXi 4.1 server at home. I tried to reboot the server last night and it wouldn’t boot. Seems like it had a corrupt bootloader. So I put in the ESX DVD and went for the repair option.
It told me the bootloader wasn’t working and that it would repair it and retain any VMFS partitions it found. It also told me that before any destructive action was taken it would warn me. It didn't show any such warning so I assume no destructive action was necessary or carried out.
I completed the process then before it rebooted it told me it was dropping the box into audit mode so that no new VMFS partitions would be created automatically. It also said though something about having to phone VMware support to recover any partitions manually :/ but obviously I don’t have VMware support.
When I boot the box it seems like it is a fresh install, ie, no configuration information retained. I figured that didn’t really matter as I could just set that stuff up again but I can’t see the VMFS partition.
If I go into storage the only option is for me to create a VMFS partition in what it things is over a TB of blank space, but I haven’t done this since I am hoping there may be a way to bring the other partition back somehow.
Any help or advice appreciated.
Below is the output of FDISK -LU
~ # fdisk -lu
Disk /dev/disks/t10.ATA_____ST31500341AS________________________________________9VS3NSK3: 1500.3 GB, 1500301910016 bytes
64 heads, 32 sectors/track, 1430799 cylinders, total 2930277168 sectors
Units = sectors of 1 * 512 = 512 bytes
Device Boot Start End Blocks Id System
/dev/disks/t10.ATA_____ST31500341AS________________________________________9VS3NSK3p1 8192 1843199 917504 5 Extended
/dev/disks/t10.ATA_____ST31500341AS________________________________________9VS3NSK3p4 * 32 8191 4080 4 FAT16 <32M
/dev/disks/t10.ATA_____ST31500341AS________________________________________9VS3NSK3p5 8224 520191 255984 6 FAT16
/dev/disks/t10.ATA_____ST31500341AS________________________________________9VS3NSK3p6 520224 1032191 255984 6 FAT16
/dev/disks/t10.ATA_____ST31500341AS________________________________________9VS3NSK3p7 1032224 1257471 112624 fc VMKcore
/dev/disks/t10.ATA_____ST31500341AS________________________________________9VS3NSK3p8 1257504 1843199 292848 6 FAT16
Partition table entries are not in disk order