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