VMware Cloud Community
continuum
Immortal
Immortal

partedUtil that comes with ESXi 6.0 vs gdisk Linux

I just came across an interesting case:
An ESXi 6.0 host with 3 datastores run into a powerfailure.
Result: all 3 partitiontables were blank. partedUtil only displayed an unknown partitiontable type and no partitions at all.
Next I booted into my Linux LiveCD and here all 3 LUNs were displayed with complete and apparently correct partitiontables.
Question: what exactly does partedUtil ?
Does it do some checks on VMFS-volumes and only displays them when additional checks are passed ?
If it does NOT do any additional checks and just reads the MBR or GPT-table then partedUtil must be considered as buggy.
Any ideas ?


________________________________________________
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
1 Reply
continuum
Immortal
Immortal

Just for the record ....
Recovery case is now solved successfully.
Unfortunately ESXi itself was not able to handle this self inflicted corruption of the partition tables.
So I had to use a time consuming workaround and extracted all VMs with my Linux Recovery LiveCD.
Not trivial if vmdks larger than 256GB are used - but possible.
Lesson learned:
Running a standalone host with ESXi 6  without sufficient USV must be considered as an unacceptable risk.
If you have an unreliable powersupply rather stick with ESXi 5.1.
Do not use thin provisioned VMDKs ...
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 ...

0 Kudos