-
Notifications
You must be signed in to change notification settings - Fork 50
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
You need to run this command as root when kernel is 5.0 #101
Comments
Same here on ubuntu 19.04 beta. |
Same on Arch Linux with 5.0.9 kernel. |
I can confirm this using the 5.0 and 5.1 kernel. Running bedup using sudo su doesn't help. |
Its regarding to the ioctl changes comig with this kernels. |
That was 4 months ago. Are you saying that's the reason why it's not fixed, and that it's not fixable? |
Its the reason why its not working with Kernel 5+ i switched back to 4.20 and its working. I think it can be fixed but then its maybe not working anymore for Kernel below 5. |
I tried to reproduce this on 5.4.42, and got the following:
The call stack Modern (i.e. after 2013) dedupe on btrfs does not have to know or care whether files are in use. There is no need to fix any of these functions--just delete them (or at least ignore errors that occur in them), and stop using the If you have root, you can open any file in read-only mode and call There is a branch This is a patch that introduces zstd compression level support. I don't see any connection with either bedup or kernel permission checking rules. |
Hi
While running sudo bedup dedup --no-crossvol on FC28 linux 5.0.5-100.fc28.x86_64 I get the "need to run this command as root" on any deduplication attempt. Running linux <=4.20 restores correct behaviour, deduplication works fine again.
I only guess this indicates some kernel (ioctl?) incompatibility in 5?.
https://btrfs.wiki.kernel.org/index.php/Changelog offers no explanation (no pull requests past 4.20)
Thanks for great utility btw! I will update if I find out anything new
The text was updated successfully, but these errors were encountered: