VMware Communities
Jumpchasm
Contributor
Contributor

Help repairing Disk on VMWare Workstation 15 Player

When I try to start the VM, the error message:

The disk "C:\user\vms\ubuntu.vmdk" has internal consistency errors that were most likely caused by a host crash or host power failure. VMware Player can attempt to repair these errors. However, important guest data might have been lost and the guest OS may not function properly.  As a result, you may wish to restore this virtual machine from backup.

When researching solutions I tried repairing it using the command "vmware-vdiskmanager -R "<path of the vmdk(virtual disk)>" However I need to be in the

C:\Program Files (x86)\VMware\VMware Workstation

directory to do this but this doesn't exist on my machine the only directory is

C:\Program Files (x86)\VMware\VMware Player

This means when I run the command mentioned I get the error: 'vmware-vdiskmanager' is not recognized as an internal or external command,

operable program or batch file. Does anyone know how to repair the disk?

Thanks

0 Kudos
4 Replies
a_p_
Leadership
Leadership

Welcome to the Community,

vmware-vdiskmanager may be able fix certain issues, but has its limits.

Please download dsfok.zip from http://faq.sanbarrow.com/index.php?action=artikel&cat=47&id=111&artlang=en, extract the executables, run the below command in the VM's folder, then compress/zip all "xxx-....bin" files and attach the .zip archive to a reply post.

for %i in (*.vmdk) do @dsfo.exe "%i" 0 1536 "xxx-%~ni.bin"

This will extract the header information from all .vmdk files, which I need to provide you with another command to extract all metadata from that file.

In addition to this, please run dir *.* /one > filelist.txt in the VM's folder, and attach the filelist.txt to your next reply too.

If the VM's latest vmware.log contains details about the errors, please attach this file too.

I also recommend that - unless already done - you backup the VM's files now.

André

0 Kudos
IrishPod
Contributor
Contributor

I have the same issue and am using VMware Player 15. Would you be willing to help me, please? The link for the tool in your reply is not available. Any help is appreciated, thank you

0 Kudos
wila
Immortal
Immortal

Hi,

you can see that page here:
http://web.archive.org/web/20200616215934/http://faq.sanbarrow.com/index.php?action=artikel&cat=47&i...

but the dsfok tools are at the main site anyways: https://sanbarrow.com/files/dsfok.zip

--
Wil

| Author of Vimalin. The virtual machine Backup app for VMware Fusion, VMware Workstation and Player |
| More info at vimalin.com | Twitter @wilva
0 Kudos
a_p_
Leadership
Leadership

Please use the scripts that I've attached to https://communities.vmware.com/t5/VMware-Workstation-Pro/The-disk-has-one-or-more-internal-errors-th... to extract the virtual disk's metadata, and provide the metadata files as mentioned in the linked post.

André

0 Kudos