Hi,
I would like to live migrate my proxmox KVM VM to another node without shared storage.The storage I am using is LVM based storage. If i try to do migrate using LVM based storage having same storage name within the cluster with qm migrate 1009 prox2 --online --with-local-disks, the migration does start but ends with error, the VM though is migrated to the new node.
2020-06-05 13:50:15 migration speed: 3.05 MB/s - downtime 15 ms
2020-06-05 13:50:15 migration status: completed
2020-06-05 13:50:20 ERROR: removing local copy of 'vg2:vm-1009-dpnqeng8stjwvi3x-zsornioffigt90if' failed - lvremove 'vg_prox1/vm-1009-dpnqeng8stjwvi3x-zsornioffigt90if' error: Logical volume vg_prox1/vm-1009-dpnqeng8stjwvi3x-zsornioffigt90if in use.
drive-sata0: transferred: 2147549184 bytes remaining: 0 bytes total: 2147549184 bytes progression: 100.00 % busy: 0 ready: 1
all mirroring jobs are ready
drive-sata0: Completing block job...
drive-sata0: Completed successfully.
drive-sata0 : finished
2020-06-05 13:50:21 # /usr/bin/ssh -e none -o 'BatchMode=yes' -o 'HostKeyAlias=prox2' root@ipaddr pvesr set-state 1009 \''{}'\'
Logical volume "vm-1009-dpnqeng8stjwvi3x-zsornioffigt90if" successfully removed
2020-06-05 13:50:26 ERROR: migration finished with problems (duration 00:03:31)
migration problems
And if i try to migrate the LVM based VM without shared storage and having different storage names on both nodes then i encounter this error
2020-06-05 13:45:54 copying local disk images
2020-06-05 13:45:54 starting VM 1008 on remote node 'prox1'
2020-06-05 13:45:55 [prox1] no such volume group 'v2'
2020-06-05 13:45:55 ERROR: online migrate failure - remote command failed with exit code 255
2020-06-05 13:45:55 aborting phase 2 - cleanup resources
2020-06-05 13:45:55 migrate_cancel
2020-06-05 13:45:56 ERROR: migration finished with problems (duration 00:00:03)
migration problems
Any suggestion how can i do this?
I would like to live migrate my proxmox KVM VM to another node without shared storage.The storage I am using is LVM based storage. If i try to do migrate using LVM based storage having same storage name within the cluster with qm migrate 1009 prox2 --online --with-local-disks, the migration does start but ends with error, the VM though is migrated to the new node.
2020-06-05 13:50:15 migration speed: 3.05 MB/s - downtime 15 ms
2020-06-05 13:50:15 migration status: completed
2020-06-05 13:50:20 ERROR: removing local copy of 'vg2:vm-1009-dpnqeng8stjwvi3x-zsornioffigt90if' failed - lvremove 'vg_prox1/vm-1009-dpnqeng8stjwvi3x-zsornioffigt90if' error: Logical volume vg_prox1/vm-1009-dpnqeng8stjwvi3x-zsornioffigt90if in use.
drive-sata0: transferred: 2147549184 bytes remaining: 0 bytes total: 2147549184 bytes progression: 100.00 % busy: 0 ready: 1
all mirroring jobs are ready
drive-sata0: Completing block job...
drive-sata0: Completed successfully.
drive-sata0 : finished
2020-06-05 13:50:21 # /usr/bin/ssh -e none -o 'BatchMode=yes' -o 'HostKeyAlias=prox2' root@ipaddr pvesr set-state 1009 \''{}'\'
Logical volume "vm-1009-dpnqeng8stjwvi3x-zsornioffigt90if" successfully removed
2020-06-05 13:50:26 ERROR: migration finished with problems (duration 00:03:31)
migration problems
And if i try to migrate the LVM based VM without shared storage and having different storage names on both nodes then i encounter this error
2020-06-05 13:45:54 copying local disk images
2020-06-05 13:45:54 starting VM 1008 on remote node 'prox1'
2020-06-05 13:45:55 [prox1] no such volume group 'v2'
2020-06-05 13:45:55 ERROR: online migrate failure - remote command failed with exit code 255
2020-06-05 13:45:55 aborting phase 2 - cleanup resources
2020-06-05 13:45:55 migrate_cancel
2020-06-05 13:45:56 ERROR: migration finished with problems (duration 00:00:03)
migration problems
Any suggestion how can i do this?