kvm lvm migration

ccube

Active Member
Apr 5, 2011
49
0
26
Passau, Germany, Germany
Hi, I have two proxmox 1.9 machines in one cluster.

The kvm-virtual machines are in a lvm. Is there any possibility to migrate the vms to another node without making backups?

regards
 
Just use migrate in the GUI.

If it is not shared storage, you need to turn off the machine first.

Best regards
 
Ok - i assume you use LVM on local storage then.

You can simply create the new machine and disk with the same properties, and then manually copy the content from the old LVM, one way to do it from the old machine

cat /dev/xxxx/oldlvmdisk |ssh newserver.xxx “cat > /dev/xxx/newlvmdisk”

Best regards
 
Shared storage - ex LVM storage hosted on ISCSI - OR - just files on shared NFS storage.

Best regards
 
If you use files on "local" storage you can do offline migration.

Best regards
 
With local files the backup will do a snapshot of the whole LVM while doing backup, including all virtual files - works, but is possibly slower.

Best regards
 

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!