Migrate error

dvjstefan

Member
Oct 3, 2020
7
0
6
45
Hi,

I'm trying to migrate a few VM from a host called proxhost001 to proxhost02.

I have the VM at local-lvm on proxhost001 and i want to migrate to A1-vm-002 on proxhost02 - but it's impossible...





Code:
Task viewer: CT 101 - Migrate (proxhost001 ---> proxhost02)



OutputStatus



Stop

2020-10-04 23:57:11 starting migration of CT 101 to node 'proxhost02' (192.168.0.253)

2020-10-04 23:57:12 found local volume 'local-lvm:vm-101-disk-0' (in current VM config)

2020-10-04 23:57:13 can't activate LV 'pve/vm-101-disk-0' to zero-out its data: Failed to find logical volume "pve/vm-101-disk-0"

2020-10-04 23:57:13 lvcreate 'pve/vm-101-disk-0' error: Volume group "pve" has insufficient free space (4095 extents): 8192 required.

2020-10-04 23:57:13 command 'dd 'if=/dev/pve/vm-101-disk-0' 'bs=64k'' failed: got signal 13

send/receive failed, cleaning up snapshot(s)..

2020-10-04 23:57:13 ERROR: storage migration for 'local-lvm:vm-101-disk-0' to storage 'local-lvm' failed - command 'set -o pipefail && pvesm export local-lvm:vm-101-disk-0 raw+size - -with-snapshots 0 | /usr/bin/ssh -e none -o 'BatchMode=yes' -o 'HostKeyAlias=proxhost02' root@192.168.0.253 -- pvesm import local-lvm:vm-101-disk-0 raw+size - -with-snapshots 0 -allow-rename 0' failed: exit code 5

2020-10-04 23:57:13 aborting phase 1 - cleanup resources

2020-10-04 23:57:13 ERROR: found stale volume copy 'local-lvm:vm-101-disk-0' on node 'proxhost02'

2020-10-04 23:57:13 start final cleanup

2020-10-04 23:57:13 ERROR: migration aborted (duration 00:00:02): storage migration for 'local-lvm:vm-101-disk-0' to storage 'local-lvm' failed - command 'set -o pipefail && pvesm export local-lvm:vm-101-disk-0 raw+size - -with-snapshots 0 | /usr/bin/ssh -e none -o 'BatchMode=yes' -o 'HostKeyAlias=proxhost02' root@192.168.0.253 -- pvesm import local-lvm:vm-101-disk-0 raw+size - -with-snapshots 0 -allow-rename 0' failed: exit code 5

TASK ERROR: migration aborted


Why can't i choose where it'll be migrated to?

//Stefan
 
Last edited:
2020-10-04 23:57:13 lvcreate 'pve/vm-101-disk-0' error: Volume group "pve" has insufficient free space (4095 extents): 8192 required.
Looks like your storage does not have enough space left.
 
Thats correct - that's why i wanted to choose another location instead - but it wasn't possible.

Choose Node then choose which storage. AND it only allowed me to migrate from NodeX local-lvm to NodeY local-lvm.. So if i didn't have local-lvm on NodeY, it refused to migrate too.
 
The target storage has to have 'image' content set for VMs, otherwise it won't show up as available target storage.
 
The target storage has to have 'image' content set for VMs, otherwise it won't show up as available target storage.
Yeah, I know.. But if you have two storage with 'image' - it choose the first in the list. I want to choose which one. Maybe its just stupid with two storage with both 'image' :)
 
It should let you select the storage if your PVE installation is up-to-date.