[SOLVED] Looking for solution to Backups errors when trying to migrate

dtiKev

Well-Known Member
Apr 7, 2018
78
4
48
I'm trying to migrate (cold) a machine from one node to another and get this error:

Code:
2020-08-06 10:15:18 starting migration of VM 105 to node 'pvn1' (10.11.12.251)
2020-08-06 10:15:18 found local disk 'TwoT:105/vm-105-disk-0.qcow2' (in current VM config)
2020-08-06 10:15:18 copying disk images
file '/storage/2t/images/105/vm-105-disk-0.qcow2' already exists
command 'dd 'if=/storage/2t/images/105/vm-105-disk-0.qcow2' 'bs=4k'' failed: got signal 13
send/receive failed, cleaning up snapshot(s)..
2020-08-06 10:15:19 ERROR: Failed to sync data - command 'set -o pipefail && pvesm export TwoT:105/vm-105-disk-0.qcow2 qcow2+size - -with-snapshots 1 | /usr/bin/ssh -e none -o 'BatchMode=yes' -o 'HostKeyAlias=pvn1' root@10.11.12.251 -- pvesm import TwoT:105/vm-105-disk-0.qcow2 qcow2+size - -with-snapshots 1' failed: exit code 255
2020-08-06 10:15:19 aborting phase 1 - cleanup resources
2020-08-06 10:15:19 ERROR: found stale volume copy 'TwoT:105/vm-105-disk-0.qcow2' on node 'pvn1'
2020-08-06 10:15:19 ERROR: migration aborted (duration 00:00:01): Failed to sync data - command 'set -o pipefail && pvesm export TwoT:105/vm-105-disk-0.qcow2 qcow2+size - -with-snapshots 1 | /usr/bin/ssh -e none -o 'BatchMode=yes' -o 'HostKeyAlias=pvn1' root@10.11.12.251 -- pvesm import TwoT:105/vm-105-disk-0.qcow2 qcow2+size - -with-snapshots 1' failed: exit code 255
TASK ERROR: migration aborted

Of note, I am part way through upgrading from 5.4 to 6.x. This is from the 5.4 node to the upgraded 6.x node which has all other migrations on it and is running some of the VMs. Also of note, I did STOP this particular machine's prior migration at the GUI while it was in process. On the destination node there is a partial .qcow for this VM in place. Am I safe to delete that and then try the migration again after a backup?
 
Ok... took a shot at the above guess and it seems to be working so consider this one self-answered ;)
 

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!