VMDK to VHD - Invalid File Format

VM image converter (VMDK, VHD, VHDX, IMG, RAW, QCOW and QCOW2), P2V migrator

Moderators: anton (staff), art (staff), Max (staff), Anatoly (staff)

jjohnson
Posts: 3
Joined: Mon Oct 08, 2012 4:02 pm

Mon Oct 08, 2012 4:12 pm

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?
User avatar
Anatoly (staff)
Staff
Posts: 1675
Joined: Tue Mar 01, 2011 8:28 am
Contact:

Thu Oct 11, 2012 11:11 am

Hello,

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

Stay tuned.
Best regards,
Anatoly Vilchinsky
Global Engineering and Support Manager
www.starwind.com
av@starwind.com
jjohnson
Posts: 3
Joined: Mon Oct 08, 2012 4:02 pm

Fri Oct 12, 2012 3:37 pm

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?
jjohnson
Posts: 3
Joined: Mon Oct 08, 2012 4:02 pm

Fri Oct 12, 2012 7:02 pm

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!
User avatar
Anatoly (staff)
Staff
Posts: 1675
Joined: Tue Mar 01, 2011 8:28 am
Contact:

Mon Oct 15, 2012 9:01 am

That is interesting. Thank you for your input it is really useful.
Best regards,
Anatoly Vilchinsky
Global Engineering and Support Manager
www.starwind.com
av@starwind.com
jakesterpdx
Posts: 1
Joined: Fri Apr 05, 2013 6:48 pm

Fri Apr 05, 2013 6:50 pm

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?
User avatar
Anatoly (staff)
Staff
Posts: 1675
Joined: Tue Mar 01, 2011 8:28 am
Contact:

Mon Apr 08, 2013 10:30 am

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.
Best regards,
Anatoly Vilchinsky
Global Engineering and Support Manager
www.starwind.com
av@starwind.com
jessicasmith
Posts: 1
Joined: Wed Jul 24, 2013 7:35 am

Wed Jul 24, 2013 7:43 am

very nice forum
Last edited by jessicasmith on Tue Jan 05, 2016 7:11 am, edited 2 times in total.
User avatar
Anatoly (staff)
Staff
Posts: 1675
Joined: Tue Mar 01, 2011 8:28 am
Contact:

Wed Jul 24, 2013 9:54 am

very nice forum
Thank you for the feedback, we really appreciate it!
Best regards,
Anatoly Vilchinsky
Global Engineering and Support Manager
www.starwind.com
av@starwind.com
manoj.faria
Posts: 5
Joined: Thu Aug 29, 2013 10:47 am

Thu Aug 29, 2013 10:50 am

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
User avatar
Anatoly (staff)
Staff
Posts: 1675
Joined: Tue Mar 01, 2011 8:28 am
Contact:

Thu Aug 29, 2013 4:21 pm

So, the process is not successful, correct?
Best regards,
Anatoly Vilchinsky
Global Engineering and Support Manager
www.starwind.com
av@starwind.com
manoj.faria
Posts: 5
Joined: Thu Aug 29, 2013 10:47 am

Tue Sep 10, 2013 9:05 am

Correct Antoly. Unable to successfully convert Cloudera provided VMDK to VHD.
User avatar
Anatoly (staff)
Staff
Posts: 1675
Joined: Tue Mar 01, 2011 8:28 am
Contact:

Thu Sep 12, 2013 9:30 am

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.
Best regards,
Anatoly Vilchinsky
Global Engineering and Support Manager
www.starwind.com
av@starwind.com
manoj.faria
Posts: 5
Joined: Thu Aug 29, 2013 10:47 am

Fri Sep 20, 2013 11:42 am

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
User avatar
Anatoly (staff)
Staff
Posts: 1675
Joined: Tue Mar 01, 2011 8:28 am
Contact:

Mon Sep 23, 2013 10:39 am

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
Best regards,
Anatoly Vilchinsky
Global Engineering and Support Manager
www.starwind.com
av@starwind.com
Post Reply