-
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
Snapshot directories (.zfs) not created and/or inaccessible #8393
Comments
It looks like commit |
I am not able to reproduce on clean Ubuntu18 install:
One thing to note: there is something wrong with the output provided in the report, the last command suggest the presence of directories shares/snapshot inside ".zfs/snapshot/":
|
i have made the experience that it can make quite a difference to access a path inside .zfs/subdir before accessing/cd'ing .zfs on the top level. it must have to do something with automount, as you can see when you cross the .zfs dir and access snapshots , some new mount appears for every snasphot |
Had the exact same issue, but only with a specific dataset. Strangely enough, it worked perfectly fine with the other datasets. The inconvenient workaround for me was to recreate the dataset in question.
|
I'm also experiencing this issue. I had followed this guide to setup my system. I have Also running Ubuntu v18.04.3. |
I was unable to reproduce this with a new test pool. Perhaps it has to do with some flag or mount point combination? |
I have zfs-on-root installed with this guide: https://github.com/zfsonlinux/zfs/wiki/Debian-Buster-Root-on-ZFS |
Will I have to recreate the pool? |
@rakor no, there's wouldn't be any need to recreate the pool. |
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. |
Sorry, this still seems to be an issue in Ubuntu 20.04 LTS, using
Was this fix ever verified? |
could you please retest with zfs 2.0.4 instead of 0.8.3 ? |
Same issue here. .zfs has the snapshots of zfs-auto-snapshot but not the ones done manually. Have not tested to upgrade zfs out of the mainstream packages as it I am using it on a critical server. |
@carlosaguilarmelchor same boat here, really only choice is to wait for the fix to hit main, since I can't start testing and risk the data. |
System information
Describe the problem you're observing
After using
not all (sub)filesystems have a
.zfs
directory which enables easy access to snapshots without needing to manually mount them.NOTE: I understand that the
.zfs
directories arehidden
by default, and that this behavior can be configured viazfs set snapdir=visible z
- but this is not the issue here. The.zfs
folder is not there, and it cannot be directly accessed by doingls /z/.zfs/snapshot
or usingcd
to get into it.Describe how to reproduce the problem
Create ZFS pool, create some filesystems, then create a recursive snapshot and try to access the
.zfs
snapshot directory on each of the filesystems; it fails on some of them while working on others.Include any warning/errors/backtraces from the system logs
There are no explicit errors in the log, but I see an awful lot of the following log lines:
The text was updated successfully, but these errors were encountered: