-
Notifications
You must be signed in to change notification settings - Fork 130
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 sizes support? #703
Comments
From what I see that should work. Additionally, if querying the sizes fails the column is simply not shows, but there should be a response anyway. What distributions are you using? And suspicious is dmesg, journtalctl or /var/log/snapper.log? |
while doing dmesg:
I'm using fedora 35 I think snapper trigger rescan again , everytime i run probably related to #692 |
Yes, a rescan is triggered very time - it is so far the only way to get the values right. |
Is it necessary after |
Right after a qgroup scan is should not be needed but snapper does not know that a qgroup scan was just done. Simply looking for the inconsistency flag did not work back when I implemented the display of those values in snapper. Anyway, if the qgroup rescan takes that long it looks like a kernel or filesystem problem to me (unless the filesystem is very big, has lots of snapshots, ...). |
On my system with 938 GiB already allocated, qgroup scan takes 13 minutes, this makes |
If it is too slow you can use the option |
Yes, the problem is I would like to see the used space information, even if it is slightly incorrect (I prefer that instead of waiting 13 mins for the exact numbers). I started working on |
i think after |
The problem is snapper always triggers a rescan. So every time I invoke |
The Arch wiki states that qgroups might be slightly out of date until Additionally, the implementation currently first rescans, then syncs the filesystem. This also seems like doubling up the work. |
Snapper should probably do the ioctl equivalent of ( |
Hi, it seems we're encountering the same issue. The The filesystem isn't particularly large: 17 TB, with 234,954 files and 12,676 folders. Currently, there are only 5 snapshots, and the refresh time is relatively long, about 15 minutes. However, I assume this behavior is normal and expected. It's unfortunate that I'm considering repackaging snapper with quota support disabled so that the client isn't disrupted by quota refreshes. Instead, I'd monitor snapshot usage using |
Is this still the case? For me it seems that btrfs fi sync path is only needed after quota is enabled to get right values with kernel 6.x. |
Does snapper support showing snapshot sizes for
btrfs
?I've read http://snapper.io/2018/10/04/used-space.html , still don't understand what to put in config:
QGROUP
enable quota and rescan, causes lock up :
Thanks
The text was updated successfully, but these errors were encountered: