Converting VMDK

bemar

Member
Nov 16, 2011
69
0
6
Switzerland
Hello,

I'm currently trying to convert a vmdk to a KVM Image.
I've read the guide at http://pve.proxmox.com/wiki/Migration_of_servers_to_Proxmox_VE#VMware_to_Proxmox_VE_.28KVM.29 but with no success.

The future KVM VM will be on a iSCSI LVM Storage. The only way to create such a new KVM on is to choose storage type RAW. Every other type ends with Error like
"TASK ERROR: create failed - unsupported format 'vmdk' at /usr/share/perl5/PVE/Storage.pm line 1272."

So my question is: Do I have to convert the vmdk to RAW with the qemu-img command to be successfull? (qemu-img convert -f vmdk win2003-pve.vmdk -O raw win2003-pve.raw)
Thx in forward

Ben
 
Hello,

I'm currently trying to convert a vmdk to a KVM Image.
I've read the guide at http://pve.proxmox.com/wiki/Migration_of_servers_to_Proxmox_VE#VMware_to_Proxmox_VE_.28KVM.29 but with no success.

The future KVM VM will be on a iSCSI LVM Storage. The only way to create such a new KVM on is to choose storage type RAW. Every other type ends with Error like
"TASK ERROR: create failed - unsupported format 'vmdk' at /usr/share/perl5/PVE/Storage.pm line 1272."

So my question is: Do I have to convert the vmdk to RAW with the qemu-img command to be successfull? (qemu-img convert -f vmdk win2003-pve.vmdk -O raw win2003-pve.raw)
Thx in forward

Ben
Hi,
right. After this step you can copy this raw on the iScsi-storage like
Code:
dd if=win2003-pve.raw of=/dev/iscsi/vm-107-disk-1 bs=1024k
The lv (disk of the VM) must exist and have the same (or bigger) size than the raw-file.

Udo