migrate hyperv to proxmox raw disk

blackmetal

Member
Jan 17, 2017
11
0
6
40
Hello,
i want convert a hyperv virtual machine (it is centos 6) to proxmox but my proxmox use raw disk image and not using qcow2 .. as i see some article on google regarding convert from hyperv to qcow2,
now how can i convert my hyperv export to proxmox raw disk?
thanks
 
  • Like
Reactions: GadgetPig
I've been testing migrations from Hyper-V to Proxmox lately. I would suggest configuring some Proxmox storage to allow for image file storage, for qcow2 type files. There are limitations to converting the VHDX on a Proxmox host, like not supporting dynamic sized VHDXs. I have quite successfully used this tool - http://www.cloudbase.it/qemu-img-windows/ to do the conversion to qcow2 on the windows hosts. This can save steps like converting the VHDX to fixed size and leaves less work to do on the Proxmox end.

Just do the conversion on the Windows host, create a VM on the Proxmox side using a blank qcow2 for it's storage, copy over the qcow2 from the Windows host and replace the blank one in your new VM. Power it up and finish your normal physical/virtual migration steps.

Once it's up and running, you can then move the disk to raw format storage and you're done. I have done this a few times now with test VMs and it's working well for me.
 
Only for information. You can use every storage format on proxmox. qcow2, raw, zvol, lvm....
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!