Migrate KVM img to Proxmox LVM PVE

gkontos

New Member
Oct 7, 2016
2
0
1
54
Hello everybody,

We are test driving the new Proxmox VE which looks very promising. I have searched a lot and so far I have not found a way to migrate some .img VM's from our CentOS to Proxmox. I have read the documentation:

https://pve.proxmox.com/wiki/Migration_of_servers_to_Proxmox_VE

However, what I am trying to do is to migrate standard raw img to the LVM pve. I can convert them to LVM volumes but I really don't understand how to transfer them.

Any help would be appreciated!

Thanks for your time.
 
I think that something like that would work:

ssh user@remote "dd if=vm.img | gzip -1 -" | dd of=/dev/pve/vm-100-disk-1