-
-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Broken zvol links #183
Comments
Which kernel version are you using? |
happens on both pve-kernel-5.13-edge and pve-kernel-5.14-edge. pve-kernel-5.12-edge works fine |
I am now updating the ZFS version to 2.1.1. Hopefully that resolves the issue. |
|
ok it seemed to work after a second boot of the VM this time...weird. |
fyi 5.14.7-2 still reports as -1 |
Glad to hear that you got it working. Let me know if the issue reappears.
That number represents the kernel ABI revision and not the Debian release. I currently do not track ABI changes, so I will remove this number from v5.15.x onwards. |
Happens again on 5.15.0, reverting back to 5.14.16 works. |
Actually seems reverting to 5.14.16 did not work, happening there after attempting 5.15.0 again |
Does it work again if you try to reboot the VM? |
nope. However sometimes rebooting the whole machine makes it work, it's working this second but I'm scared to reboot it., it took quite a few to get it working. |
ok i don't know what causes this but the problem is not every link that's supposed to get created does. After booting for VM-103, I have
when it should be
If I manually create the link |
Your issue looks similar to the one reported upstream: openzfs/zfs#12507. This probably means that you'll have to wait until openzfs/zfs#12301 is fixed. |
The problem seems severe enough, wondering if it makes sense to add a temporary patch reverting: and then dropping it when it's fixed in ZFS upstream. Obviously, not ideal but likely better than having random VM failures |
@amoiseiev I agree, I'll create a patch reverting this change for the v5.15.x and v5.14.x branches. |
This change adds a patch that reverts a change to the Linux kernel that was intended to clean-up some internal behavior. Unfortunately, ZFS currently relies on this behavior to perform correctly. Without this patch, zvol links might not be created correctly due to a race condition. See #183 for more information about this issue.
This change adds a patch that reverts a change to the Linux kernel that was intended to clean-up some internal behavior. Unfortunately, ZFS currently relies on this behavior to perform correctly. Without this patch, zvol links might not be created correctly due to a race condition. See #183 for more information about this issue.
This change adds a patch that reverts a change to the Linux kernel that was intended to clean-up some internal behavior. Unfortunately, ZFS currently relies on this behavior to perform correctly. Without this patch, zvol links might not be created correctly due to a race condition. See #183 for more information about this issue.
@piexil Could you check whether the issue still appears in v5.14.17-1 or v5.15.1-1? |
sorry for the late reply, have been away. |
This issue should be resolved in the latest builds. |
What's going on that this still happened to me using pve 7.1.7 and 7.2? I lost a bunch of guests out of the blue on a node in a cluster. Does it mean the others will vanish too? |
@dac2020 What kernel version are you using? |
Hi, I started this thread; https://forum.proxmox.com/threads/cannot-migrate-guests.114340/ It's now this; But the problem started while the system was still 7.1.7 which I've since upgraded to 7.2 thinking it might help but didn't. I can simply rebuild it but wanted to share in case it's something I didn't do and important to the proxmox devs. |
Since you are using the stock kernel (and not this project), I am unable to help with this issue. |
No problem, wanted to share because it seems important before I rebuild. |
I'm having the same issue experienced by this person on the proxmox forums
https://forum.proxmox.com/threads/no-zvol-device-link-found-after-300-sec-found-issue.94514/
tl;dr VMs fail to start with error 'no zvols found after 300 secs'
The text was updated successfully, but these errors were encountered: