Migrate KVM img to Proxmox LVM PVE

gkontos

New Member
Oct 7, 2016
2
0
1
52
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
 

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!