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
Syntax error on Debian Stretch, no output #9
Comments
Hi, Yes, I realized that on Raspbian 9 it doesn't work. I run it on Workarounds would need to be implemented to account for this case |
Can you ping me in 3 weeks time? I'm about to leave for a 2 week holiday then need a few days with appointments around the care of my mentally retarded brother. |
@jpluimers enjoy your holidays ;) |
Hi, same problem here on OpenSuse.
|
Got it working by:
btrfs-tools 4.4-1ubuntu1 |
Yeah that did the trick! I create automatic snapshots on my home partition every 5 minutes:
|
@mikkokaar @ArneBachmann if you find a way of auto-enabling quota (disabling it afterwards) if it is not enabled on your systems you can send a PR and we'll support your use case ;) |
It's not that easy (an decision), because enabling quotas 1) can have an impact on the system speed, and 2) takes several minutes to compute actual storage occupation. |
@ArneBachmann I know. In my HDD it takes around a minute... it's not an easy decision indeed that's why I decided to disable it after du calculation. This is what current code does: if quota is not enabled, enable it, wait for scan, calculate, disable it. If the user decides to leave quotas enabled, then there would be no need to wait, but that's their decision. Thoughts? |
Why not mount one snapshot after the other and do a normal |
Because BTRFS is a copy-on-write filesystem, so commands such as |
I still have the issue in debian stretch. Any solution or workaround? |
When quotas are disabled on the volume,
Scripts fails to parse this output. |
PR pushed, reviews are welcome before commit. |
thanks! |
Running btrfs-du stops at the first subvolume with the following error message:
Debian Stretch amd64, btrfs-progs 4.7.3-1, linux-image-4.9.0.5-amd64 4.9.65-3+deb9u2
The text was updated successfully, but these errors were encountered: