-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Missing symlinks in /dev/zvol #12507
Comments
Some additional info.
And when it does not create symlink
Line with |
Can you please check if there are any udev timeouts in os logs? |
can you check if /dev/zvol/Unable symlink exists on a machine with missing links? |
OK, will check next time it happens
…On Wed, Sep 22, 2021 at 7:40 AM Matus Kral ***@***.***> wrote:
@Tualua <https://github.com/Tualua>
can you check if /dev/zvol/Unable symlink exists on a machine with missing
links?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#12507 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHX2DHIBCKLIOSAMMDLPCCTUDEJVVANCNFSM5CV4PY7Q>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
@mk01 no, there is no such symlink |
@Tualua Can you please also check /dev/zvol/blkid symlink exist? |
Also no
…On Thu, Sep 23, 2021 at 12:47 AM Shubham Agrawal ***@***.***> wrote:
@Tualua <https://github.com/Tualua> Can you please also check
/dev/zvol/blkid symlink exist?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#12507 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHX2DHJVQYLAYV2ZHQ47PLDUDICAXANCNFSM5CV4PY7Q>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Some fresh info
The problem is
|
This is different from the issue I am facing, in my case, I was seeing timeouts in udev and eventually it was terminating the rule which should be responsible for symlink creation. I only know this is random and have something to do with clone operation. But with this discussion we are one step further and it is destroy+clone. |
This issue may be a duplicate of #12301 if using a 5.13 or newer kernel. |
I'm using 5.4 UEK kernel from Oracle
…On Tue, Oct 5, 2021 at 3:24 AM Brian Behlendorf ***@***.***> wrote:
This issue may be a duplicate of #12301
<#12301> if using a 5.13 or newer
kernel.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#12507 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHX2DHINB2XF3SVSU5DBF43UFH5O3ANCNFSM5CV4PY7Q>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
This issue has been automatically marked as "stale" because it has not had any activity for a while. It will be closed in 90 days if no further activity occurs. Thank you for your contributions. |
Closed as a duplicate of #12301. |
System information
Describe the problem you're observing
We are serving zvols as iSCSI targets to virtual machines on other servers. We use a lot of clones and snapshots.
For example we have a rather large zvol data/reference (25.4T) and make a bunch of clones which then served as iSCSI targets using scst.
However, sometimes, after destroying a clone and making a new one symlink to this clone is missing from /dev/zvol
As you can see from the output
data/kvm/desktop/games-vm23
is missing but if I check it with zfs list or get all - everyting is looking fineDescribe how to reproduce the problem
I don't now how to reproduce this problem. I happens randomly on zfs 2.0.4 and 2.1.0, on different kernels. We have similar setup in other location with higher load and it runs without this problem.
Include any warning/errors/backtraces from the system logs
I could not find any errors except scst error when it tries to create iSCSI lun when this symlink is missing. If I manually destroy and re-create clone - symlink appears again. And if it helps we have more than 600 /dev/zd* devices
[Tue Aug 24 09:32:16 2021] [1719449]: dev_vdisk: ***ERROR***: filp_open(/dev/zvol/data/kvm/desktop/games-vm23) failed: -2
The text was updated successfully, but these errors were encountered: