StarWind iSCSI SAN
StarWind Native SAN for Hyper-V
 

.VHD to .VMDK fails Internal error (7)

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

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

.VHD to .VMDK fails Internal error (7)

Postby andrew » Tue Jun 29, 2010 2:55 pm

I have been unsuccessful in determining the meaning of "Internal error (7)" and wonder if someone can elucidate. I am attempting to convert a .vhd file to a .vmdk. I am choosing "VMWare growable image", IDE, and then selecting a file location for output.

Thanks in advance for any help.
andrew
 
Posts: 4
Joined: Tue Jun 29, 2010 2:49 pm

Re: .VHD to .VMDK fails Internal error (7)

Postby Max (staff) » Wed Jun 30, 2010 11:57 am

Hello Andrew,
What is the image size you are trying to convert?
What is the sector size of the source image?
Max Kolomyeytsev
StarWind Software
User avatar
Max (staff)
Staff
 
Posts: 533
Joined: Tue Apr 20, 2010 9:03 am

Re: .VHD to .VMDK fails Internal error (7)

Postby andrew » Thu Jul 01, 2010 8:07 pm

Max (staff) wrote:Hello Andrew,
What is the image size you are trying to convert?
What is the sector size of the source image?


The size of the image file is 31.5 GB.
I do not know how to find out what the sector size is on the VHD.
andrew
 
Posts: 4
Joined: Tue Jun 29, 2010 2:49 pm

Re: .VHD to .VMDK fails Internal error (7)

Postby Vitalii (staff) » Tue Jul 06, 2010 1:22 pm

Could you give me some more details:

Is it growable or pre-allocated VHD image?
Was it made by Hyper-V or Virtual PC?
The error appears after you choose output file and click "Next", right?

Thanks
User avatar
Vitalii (staff)
Staff
 
Posts: 44
Joined: Mon Jun 07, 2010 8:49 am

Re: .VHD to .VMDK fails Internal error (7)

Postby andrew » Tue Jul 06, 2010 9:47 pm

OK.
More info.
I am attempting to convert P 2 V, R2 Win 2K8, as here: http://sanbarrow.com/p2v2008r2.html
P2V I used Sysinternal's Disk to VHD tool, creating a .vhd file of my running server.
I then xfer the .vhd file to a (different) running system, mount it, chkdisk it, remove unnecessary partitions, resave, and attempt to use "StarWindConvertor" to create a .vmdk of it. (The outcome is the same if I do NOT mount, chkdisk, etc)

According to StarWindConvertor, the .vhd is a "MS Virtual PC growable image".
If, during attempted conversion , I select "VMWare growable image" I get the error (7) as mentioned, regardless of SCSI or IDE choice, regardless of location of store (local, NFS, etc.)

On the other hand, if I select " ESX Server image", I then get the "File I/O error (5)" message with a zero sized .vmdk file on the storage option of my choosing.
I do not have available storage to try a VMWare Pre-allocated image, nor to try a RAW image.

Though this method has not produced a "bootable" .vmdk as yet, I have successfully created a mountable readable/writeable vmdk using WIM from the mounted .vhd, so I believe the P2V .vhd conversion to be successful.
andrew
 
Posts: 4
Joined: Tue Jun 29, 2010 2:49 pm

Re: .VHD to .VMDK fails Internal error (7)

Postby Vitalii (staff) » Fri Jul 09, 2010 12:40 pm

Thanks,

I'll try to reproduce it in the nearest time and see what is wrong.
User avatar
Vitalii (staff)
Staff
 
Posts: 44
Joined: Mon Jun 07, 2010 8:49 am

Re: .VHD to .VMDK fails Internal error (7)

Postby Vitalii (staff) » Fri Jul 09, 2010 3:04 pm

See PM
User avatar
Vitalii (staff)
Staff
 
Posts: 44
Joined: Mon Jun 07, 2010 8:49 am

Re: .VHD to .VMDK fails Internal error (7)

Postby andrew » Wed Jul 14, 2010 6:30 pm

Thank you for PM.
It did work for conversion.
I have still not been able to get the .vmdk to boot, but it did do the conversion.

Thank you again!
andrew
 
Posts: 4
Joined: Tue Jun 29, 2010 2:49 pm

Re: .VHD to .VMDK fails Internal error (7)

Postby Max (staff) » Wed Jul 21, 2010 2:15 pm

Andrew,
Different hypervisors are emulating different hardware, your 2k8r2 was installed on one type of hardware and now you are trying to boot it on a completely different platform. If you were using Windows PE or Live Windows this trick would have been possible.
Our task was to convert the data: we've done it :)
Max Kolomyeytsev
StarWind Software
User avatar
Max (staff)
Staff
 
Posts: 533
Joined: Tue Apr 20, 2010 9:03 am


Return to StarWind V2V Converter

Who is online

Users browsing this forum: No registered users and 6 guests