[SOLVED] PVE 7.0.13 Migration on nfs not working

Aug 7, 2017
45
3
48
54
We have a cluster with two nodes for testing PVE 7. The qcow2 images (virtio0 and ide0 for cloudinit) are on a shared nfs storage. Migration form on node to the other fails in this scenario:

Code:
root@node2:/etc/pve # qm migrate 112 node1 --online
2021-10-22 22:32:37 starting migration of VM 112 to node 'node1' (10.10.10.1)
2021-10-22 22:32:37 replicating disk images
2021-10-22 22:32:37 start replication job
2021-10-22 22:32:37 guest => VM 112, running => 2657180
2021-10-22 22:32:37 volumes =>
2021-10-22 22:32:39 (remote_prepare_local_job) no volumes specified
2021-10-22 22:32:39 end replication job with error: command '/usr/bin/ssh -e none -o 'BatchMode=yes' -o 'HostKeyAlias=node1' root@10.10.10.1 -- pvesr prepare-local-job 112-0 --scan zfs --last_sync 1634817613' failed: exit code 255
2021-10-22 22:32:39 ERROR: command '/usr/bin/ssh -e none -o 'BatchMode=yes' -o 'HostKeyAlias=node1' root@10.10.10.1 -- pvesr prepare-local-job 112-0 --scan zfs --last_sync 1634817613' failed: exit code 255
2021-10-22 22:32:39 aborting phase 1 - cleanup resources
2021-10-22 22:32:39 ERROR: migration aborted (duration 00:00:02): command '/usr/bin/ssh -e none -o 'BatchMode=yes' -o 'HostKeyAlias=node1' root@10.10.10.1 -- pvesr prepare-local-job 112-0 --scan zfs --last_sync 1634817613' failed: exit code 255

On our production cluster (three nodes, all 6.3-2) live migration with shared nfs works very well. Is this a bug in version 7 or what do we miss?

What is strange in the log is the part --scan zfs. Why is this there? virtio0 and ide0 where before on a shared zfs storage but not anymore.


112.conf:

Code:
acpi: 1
agent: 1
autostart: 0
balloon: 2048
boot: cnd
bootdisk: virtio0
ciuser: robot
cores: 2
cpu: kvm64,flags=+pcid
cpuunits: 1000
hotplug: network,disk,cpu,memory
ide0: nfs:112/vm-112-cloudinit.qcow2,media=cdrom,size=4M
ipconfig0: ip=10.10.10.12/24,gw=10.10.10.254
kvm: 1
memory: 4096
name: db
nameserver: 10.10.10.254
net0: virtio=EA:E5:4B:1C:FA:8B,bridge=vmbr0
numa: 1
onboot: 1
ostype: l26
protection: 0
scsihw: virtio-scsi-pci
searchdomain: example.com
serial0: socket
smbios1: uuid=7a26c644-9ae3-4995-acb1-7c0cb0801849
sockets: 1
sshkeys: THEKEYS
tablet: 0
template: 0
vga: std
virtio0: nfs:112/vm-112-disk-0.qcow2,cache=writethrough,size=8G
vmgenid: 218e011e-6132-4e4c-842f-dde32f8b0b12
 

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!