Page 1 of 2

VMDK to VHD - Invalid File Format

Posted: Mon Oct 08, 2012 4:12 pm
by jjohnson
I have copied a VMDK from a VMWare ESXi datastore that I want to convert to VHD. The VMWare virtual guest was shutdown prior to the copy from the ESXi host. When I try to run the Starwind V2V converter it says Invalid File Format (10) [0] . Then on the line below that it says Desciptor is too large. Can anyone tell me what I need to do in order to successfully convert a guest from VMWare ESXi to Hyper-V?

Re: VMDK to VHD - Invalid File Format

Posted: Thu Oct 11, 2012 11:11 am
by Anatoly (staff)
Hello,

The reason of the issue is that we do not support this format yet.

Stay tuned.

Re: VMDK to VHD - Invalid File Format

Posted: Fri Oct 12, 2012 3:37 pm
by jjohnson
Please explain that.....you say you don't support that format. The main description of the program is to convert from VMDK to VHD. This is a VMDK file that I am trying to convert; but you say it is not supported?

Re: VMDK to VHD - Invalid File Format

Posted: Fri Oct 12, 2012 7:02 pm
by jjohnson
For anyone who searches this forum looking for an answer to this I would like to let you know if have finally solved the issue. After downloaded the VMDK file from vSphere I ended up with two .VMDK files. One file was only a few hundred KB while the other was multiple GB. The multi GB sized file has -flat as part of the file name. Since the -flat file is so large I assumed that was the file that I needed to point the Starwind V2V program to in order to convert it to VHD. That was a faulty assumption on my part. Today I tried pointing the Starwind V2V program to the smaller file and it worked perfectly. My lack of VMWare knowledge lead to a faulty assumption. Nevertheless, it works great now.

So, for anyone in the future that might stumble upon this post hopefully this can save you some time. When doing an export from ESXi you will get two files; one of them will have -flat as part of the file name. Use the other one to initiate the conversion!

Re: VMDK to VHD - Invalid File Format

Posted: Mon Oct 15, 2012 9:01 am
by Anatoly (staff)
That is interesting. Thank you for your input it is really useful.

Re: VMDK to VHD - Invalid File Format

Posted: Fri Apr 05, 2013 6:50 pm
by jakesterpdx
We've got the same problem, but pointing to the small file didn't help - it returns the error: Error opening file (2) [5]. We're using ESXi v5.1. I can't find anywhere that StarWind specifies which versions of ESXi are supported, so maybe 5.1 doesn't work?

Re: VMDK to VHD - Invalid File Format

Posted: Mon Apr 08, 2013 10:30 am
by Anatoly (staff)
so maybe 5.1 doesn't work?
AFAIK - you are correct in this assumption. We will add this possibility but I haven't got any ETA unfortunately.

Re: VMDK to VHD - Invalid File Format

Posted: Wed Jul 24, 2013 7:43 am
by jessicasmith
very nice forum

Re: VMDK to VHD - Invalid File Format

Posted: Wed Jul 24, 2013 9:54 am
by Anatoly (staff)
very nice forum
Thank you for the feedback, we really appreciate it!

Re: VMDK to VHD - Invalid File Format

Posted: Thu Aug 29, 2013 10:50 am
by manoj.faria
Is there any update on VMDK to VHD conversion. I am trying to convert the Cloudera CHD4 VMware VM (posted here http://www.cloudera.com/content/support ... &version=4) to Hyper-V VHD format.

Thanks!
-Manoj

Re: VMDK to VHD - Invalid File Format

Posted: Thu Aug 29, 2013 4:21 pm
by Anatoly (staff)
So, the process is not successful, correct?

Re: VMDK to VHD - Invalid File Format

Posted: Tue Sep 10, 2013 9:05 am
by manoj.faria
Correct Antoly. Unable to successfully convert Cloudera provided VMDK to VHD.

Re: VMDK to VHD - Invalid File Format

Posted: Thu Sep 12, 2013 9:30 am
by Anatoly (staff)
Are you receiving any errors during the conversion or you have difficulties with importing it to Hyper-V?
Also, are you sure that it suppose to work on Hyper-V? I`m asking cause I haven`t found any downloads for MS solution, and I guess that it just wasn`t design to work on it.

Re: VMDK to VHD - Invalid File Format

Posted: Fri Sep 20, 2013 11:42 am
by manoj.faria
I downloaded the VMWare VM and I am trying to convert that VMDK to VHD.

I get below stated error during conversion:
Invalid file format (10) [0]
Not all descriptor fields are present

Thanks!
-Manoj

Re: VMDK to VHD - Invalid File Format

Posted: Mon Sep 23, 2013 10:39 am
by Anatoly (staff)
Will it be possbile to provide us the file that you are attempting to convert somehow so we could to try it out in our lab?

Thanks