Item 4 of 17 Previous | Next

2

Fixed

Corrupt VMDKs from DiskClone

description

Hi,

I am testing DiskClone on Windows 7 to create a VHD and VMDK. The VHD works fine but all VMDKs seem to be corrupt and I cannot mount them in VirtualBox, Parallels, Fusion or even ESX.

I used the VMDK-vmfsdynamic format.

Any ideas? What do you need from me to fix this?

Thanks,

Mark

No files are attached

comments

festive_ken wrote Apr 15 at 8:35 AM

Change f3951e9c87f9 adds support for VMware workstation-style VMDKs with DiskClone.

festive_ken wrote Feb 10 at 2:12 AM

Hi Mark,

Yes - they're different. There are many VMDK formats - notably ESX and Workstation have different formats internally. Which products understand which formats is a bit hit and miss - but Workstation seems to support them all.

Right now, DiscUtils isn't able to create 'workstation' style VMDKs using DiskClone - I'll keep this item open as a reminder to go and implement that support.

Cheers,

Ken

markridley wrote Feb 6 at 9:11 AM

Hi Ken,

I created a VHD-dynamic and then used a linux tool called qemu-img to convert to VMDK and that works fine in ESX and VirtualBox.

Is vmfssparse different to VMDK-dynamic?

Thanks,

Mark

festive_ken wrote Feb 5 at 1:13 PM

Hi,

I've taken a look at this. From my experiments:
* Works with VMware workstation 7.1.x (I used the 'Map Disk' function in Explorer to check - disk must be open for read/write)
* Virtual Box doesn't work with vmfssparse disks
* VMware Player doesn't support vmfssparse disks

That it didn't work for you in ESX work Workstation is not good. What I tried for Workstation:
1, Created a new 1GB empty VHD (Using the Create VHD functionality in Win7 Disk Management)
2, Partitioned and Formatted the disk (mounted as E:)
3, Ran DiskClone on the volume
4, Right-clicked the VMDK in Explorer, chose 'Map Virtual Disk', unchecked 'open file in read-only mode'

Can you confirm cloned disks you make don't work with a recent version of Workstation. Also information about the size of the volume you're cloning, and how full the volume is (number of files and space in use/free) would be useful.

Thanks,

Ken