As title states, how to regenerate /dev/zvol ZFS missing links (without reboot)?
Back story:
I added two new nodes (6.2-15/48bd51b6) to 6.0-7/28984024 cluster. I wanted to live migrate VMs to them and then upgrade old nodes.
There were quite a few issues which I worked around to make live migration work (disable HA, remove replication, etc..) but there is still this error, which I could probably get around by removing VMs snapshot, which is the ZFS missing link, but for future reference, for myself and others, I would like to regenerate this link. I have a few ideas, but would like to see what you guys have to suggest.
Some prof of the situation:
Back story:
I added two new nodes (6.2-15/48bd51b6) to 6.0-7/28984024 cluster. I wanted to live migrate VMs to them and then upgrade old nodes.
There were quite a few issues which I worked around to make live migration work (disable HA, remove replication, etc..) but there is still this error, which I could probably get around by removing VMs snapshot, which is the ZFS missing link, but for future reference, for myself and others, I would like to regenerate this link. I have a few ideas, but would like to see what you guys have to suggest.
Some prof of the situation:
Code:
root@X1:~# qm migrate 200 X4 --online --with-local-disks
2020-11-25 17:20:58 ERROR: migration aborted (duration 00:04:59): timeout: no zvol device link for 'vm-200-state-proxylb' found after 300 sec found.
migration aborted
root@X1:~# zfs list -t all | grep vm-200
rpool/data/vm-200-disk-0 7.37G 146G 6.40G -
rpool/data/vm-200-disk-0@proxylb 993M - 5.79G -
root@X1:~# ls -la /dev/zvol/rpool/data/ | grep -i vm-200
lrwxrwxrwx 1 root root 13 Mar 5 2020 vm-200-disk-0 -> ../../../zd48