VMware Cloud Community
FriesenTech
Contributor
Contributor

Datastore partition table corrupt or missing on ESXi 5.1

Capture.PNG

I assume the yellow highlighting means that my partition table is jacked.

partedUtil get /dev/disks/naa.600605b0008753401647ba843bf15150
364485 255 63 5855465472

Original partition was a single VMFS 3 partition that had been upgraded to VMFS 5

ESXi is installed on a USB Key

This problem occurred when I shutdown all of my VMs, shut down the machine nicely and remove a datastore worth of drives from the raid controller and replaced them with new drives.  I configured the new raid 10 array and upon bootup all of my VMS are gone.  Obviously I missed some step which was likely that I needed to delete the data store first.

Please advise as I need this back on line soon.

0 Kudos
5 Replies
continuum
Immortal
Immortal

Hi
please dump the first 30 MB of /dev/disks/naa.600605b0008753401647ba843bf15150 to a file , zip it and attach it on next post

dd if=//dev/disks/naa.600605b0008753401647ba843bf15150 of=/tmp/30mb.dd bs=1M count=30

Ulli


________________________________________________
Do you need support with a VMFS recovery problem ? - send a message via skype "sanbarrow"
I do not support Workstation 16 at this time ...

FriesenTech
Contributor
Contributor

I really appreciate your help and look forward to your response.

0 Kudos
continuum
Immortal
Immortal

the dump shows that you used a 1 mb offset

try

partedUtil setptbl "/dev/disks/naa.600605b0008753401647ba843bf15150" gpt "1 2048 5855451524 AA31E02A400F11DB9590000C2911D1B8 0"


________________________________________________
Do you need support with a VMFS recovery problem ? - send a message via skype "sanbarrow"
I do not support Workstation 16 at this time ...

0 Kudos
continuum
Immortal
Immortal

if the volume does not reappear - read it with the esxi-recovery CD I make

http://sanbarrow.com/mcs-esxi5-recovery-X-001.iso

________________________________________________
Do you need support with a VMFS recovery problem ? - send a message via skype "sanbarrow"
I do not support Workstation 16 at this time ...

FriesenTech
Contributor
Contributor

Just an update that I was never able to recover my data and I decided it was better to start over than to continue making no progress.  This doesn't mean that there was no way to recover just that with my limited budget and tech support resources with vmware it was faster for me to throw in the towel and restore most of my data from a backup.

0 Kudos