I have two hosts, one has a zfs raid1 with two NVME drives. They are both connected to a JBOD via NFS. To upgrade the first host, I did this:
move all disks from nvme pool to jbod (shared) pool
migrate all guests from host1 to host2
upgrade and reboot host1.
Unfortunately, if I try to migrate guests from host2 to host1, I get this:
root@pve2:~# qm migrate 101 pve --online
Apr 01 15:05:30 starting migration of VM 101 to node 'pve' (10.0.0.5)
Apr 01 15:05:30 copying disk images
Apr 01 15:05:30 ERROR: Failed to sync data - could not activate storage 'NVME', zfs error: cannot import 'nvme': no such pool available
Apr 01 15:05:30 aborting phase 1 - cleanup resources
Apr 01 15:05:30 ERROR: migration aborted (duration 00:00:00): Failed to sync data - could not activate storage 'NVME', zfs error: cannot import 'nvme': no such pool available
migration aborted
this is mystifying for two reasons. 1. the nvme pool IS active, and 2. the guest is currently running on pve2, which has no access to that pool. the guest config:
root@pve2:/etc/pve/nodes/pve2/qemu-server# cat 101.conf
agent: 1
bootdisk: virtio0
cores: 1
memory: 1024
name: ssh-server
net0: virtio=0A:3C:87:2E:46:93,bridge=vmbr0
numa: 0
onboot: 1
ostype: l26
scsihw: virtio-scsi-pci
smbios1: uuid=15e0c475-c3c8-40f1-aeb0-764f078b0d27
sockets: 1
virtio0: JBOD:101/vm-101-disk-1.raw,cache=writeback,size=32G
so it has no references to the nvme storage, so why is it doing this? i really don't want to have to shut down all the guests to migrate them
move all disks from nvme pool to jbod (shared) pool
migrate all guests from host1 to host2
upgrade and reboot host1.
Unfortunately, if I try to migrate guests from host2 to host1, I get this:
root@pve2:~# qm migrate 101 pve --online
Apr 01 15:05:30 starting migration of VM 101 to node 'pve' (10.0.0.5)
Apr 01 15:05:30 copying disk images
Apr 01 15:05:30 ERROR: Failed to sync data - could not activate storage 'NVME', zfs error: cannot import 'nvme': no such pool available
Apr 01 15:05:30 aborting phase 1 - cleanup resources
Apr 01 15:05:30 ERROR: migration aborted (duration 00:00:00): Failed to sync data - could not activate storage 'NVME', zfs error: cannot import 'nvme': no such pool available
migration aborted
this is mystifying for two reasons. 1. the nvme pool IS active, and 2. the guest is currently running on pve2, which has no access to that pool. the guest config:
root@pve2:/etc/pve/nodes/pve2/qemu-server# cat 101.conf
agent: 1
bootdisk: virtio0
cores: 1
memory: 1024
name: ssh-server
net0: virtio=0A:3C:87:2E:46:93,bridge=vmbr0
numa: 0
onboot: 1
ostype: l26
scsihw: virtio-scsi-pci
smbios1: uuid=15e0c475-c3c8-40f1-aeb0-764f078b0d27
sockets: 1
virtio0: JBOD:101/vm-101-disk-1.raw,cache=writeback,size=32G
so it has no references to the nvme storage, so why is it doing this? i really don't want to have to shut down all the guests to migrate them