VMware Cloud Community
mustafa5820
Contributor
Contributor

Delta file corrupted - any way to recorver data?

Hello,

3 days ago i get hdd failure:/ (bad block)

I recorvered what i can but file are corrupted.

I have all file from VM but one i corrupted. (delta file) normal size 6640M and my corrupted size 6268M. Other files are fine (flat and etc). But flat file is dated -> DEC 2012...

Is any way to recorver younger data?

I read much site and faq but nothing work on my file;/ (clone vmdk, mount)

example

vmfs/volumes/527e6bd9-7595b9a7-8462-00237d3fc1a6/kopie/Ksiegowy Windows Xp # vmkfstools -i WIN_XP_KSIEGOWY-000001.vmdk test.vmdk

Failed to open 'WIN_XP_KSIEGOWY-000001.vmdk': Input/output error (327689).

vmkfstools -x check WIN_XP_KSIEGOWY-000001.vmdk

Disk is error free

vdk, vmware mount, winimage cant open file

~Mustafa

0 Kudos
9 Replies
admin
Immortal
Immortal

Check this blog I am sure it will help you..

http://xtravirt.com/blog/recover-vms-with-corrupt-snapshots/

0 Kudos
mustafa5820
Contributor
Contributor

Sorry, but it won't.

All these methods i tried. I have only one snapshot and is corrupt. When i want clone it by vmkfstools i get i/o error

0 Kudos
admin
Immortal
Immortal

continuum
Immortal
Immortal

hI
the lsltr.txt does not seem to be related to what you posted before - please check the attachment


________________________________________________
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
mustafa5820
Contributor
Contributor

@dGeorgey I read that topic 2 days ago and my conclusion:

My flat file is fine, my CID and parent CID are ok. Delta file dont have disk geometry then i dont need to change description of delta file?

@continuum 'ls ltr' i've made on copy of recorvery folder. Is fine, maybe i say something wrong?

My file in attach

0 Kudos
continuum
Immortal
Immortal

Ok - somehow I viewed the wrong file after downloading the lsltr.txt

Do you still have the disk with the bad blocks ?

My plan A would be: read the original volume with vmfs-fuse and extract the bad delta file with gddrescue.
If that works it will fill the bad sections with zeroes.

Plan B: - edit the delta-file with a hexeditor to adjust for the missing space - that is highly experimental !!!

you can call me via skype "sanbarrow"


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

mustafa5820
Contributor
Contributor

Yes i have but this isn't so simple.. I use RAID0 (yes i know...). My controller HP E200 disabling logical drive when i want read any bad block. When i use MHDD stricle on failure hdd (without E200) and want reapir any bad block then i get timeout and i need restart computer. I've used hdd serial port to recalibrate translator, clear p-list and user level format (not writen to plates). This help with bad block but is very possible to lose all data (When i do that i was sure that my recorvered 16200M will be sufficient).. And that is my story;-)

Now i go check my failure hdd what happened... i'll be back=)

@continuum Can you say more about plan B? (how do that - i know what is hex edit) structure of delta file? maybe begin_header+DATA+end_header ??

0 Kudos
continuum
Immortal
Immortal

dump the first 8mb of the deltafile with
dd if=name-00000*-delta.vmdk of=delta-8mb.dd bs=1M count=8
and archive it and attach it

I edit it and send instructions how to apply it

- and if possible - work on a backup of the delta ....


________________________________________________
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
mustafa5820
Contributor
Contributor

My file in attach

0 Kudos