How to regenerate /dev/zvol ZFS missing links? [SOLVED as there are no missing links]

mailinglists

Renowned Member
Mar 14, 2012
641
69
93
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:
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
 
no, this is not the snapshot but the state volume that stores the RAM state for that PVE snapshot:
vm-200-state-proxylb

since it does not show up in your zfs list output, something must have gone wrong when creating or removing the proxylb snapshot..
 

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!