VMware Communities
Troiden
Contributor
Contributor
Jump to solution

VMDK has internal errors and cannot be fixed (multiple GTEs and GT Error (DD))

USB SSD with Win7 virtual machine was disconnected while VM was running.
After reconnecting - VM doesn't start with message "VMDK has one or more internal errors that cannot be fixed".
StarWind V2V Converter can't copy it.
Latest vmware-vdiskmanager can't repair it.
Old 1023856-vdiskmanager-windows-7.0.1 logs out "The virtual disk, 'Windows 7 x64.vmdk', was corrupted and has been successfully repaired", but still can't run VM.

Vmware log has a lot of errors "Grain is pointed to by multiple GTEs" and "GT Error (DD)"

Is there any fix for this situation?

Attaching vmware log and extracted metadata.

Reply
0 Kudos
1 Solution

Accepted Solutions
a_p_
Leadership
Leadership
Jump to solution

I had to make some assumptions to fix the metadata,  but I can't tell you how much damage is in the user data.

I strongly recommend that - unless already done - you backup the VM's files/folder prior to injecting the fixed metadata!

To inject the fixed metadata into the .vmdk file, please extract dsfi.exe from https://sanbarrow.com/files/dsfok.zip. With "dsfi.exe" and the extracted .bin file from the attached .zip archive in the VM's folder, run the following command.

dsfi.exe "Windows 7 x64.vmdk" 0 12648448 "Metadata-Windows 7 x64-88811044864 - Fixed.bin"

Usage: dsfi.exe <destination> <offset> <size> <source>

Make sure that you create a VM snapshot prior to powering the VM on, so that the current files won't get modified.

André

View solution in original post

2 Replies
a_p_
Leadership
Leadership
Jump to solution

I had to make some assumptions to fix the metadata,  but I can't tell you how much damage is in the user data.

I strongly recommend that - unless already done - you backup the VM's files/folder prior to injecting the fixed metadata!

To inject the fixed metadata into the .vmdk file, please extract dsfi.exe from https://sanbarrow.com/files/dsfok.zip. With "dsfi.exe" and the extracted .bin file from the attached .zip archive in the VM's folder, run the following command.

dsfi.exe "Windows 7 x64.vmdk" 0 12648448 "Metadata-Windows 7 x64-88811044864 - Fixed.bin"

Usage: dsfi.exe <destination> <offset> <size> <source>

Make sure that you create a VM snapshot prior to powering the VM on, so that the current files won't get modified.

André

Troiden
Contributor
Contributor
Jump to solution

Thanks, VM is booting now.

Will try to figure damage and transfer critical data.

Reply
0 Kudos