Skip to content
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

buttersink and btrfs quota issues #21

Closed
ChojinDSL opened this issue Feb 6, 2016 · 1 comment
Closed

buttersink and btrfs quota issues #21

ChojinDSL opened this issue Feb 6, 2016 · 1 comment

Comments

@ChojinDSL
Copy link

When I run buttersink on a directory with snapshots, it hangs with the message "Waiting for btrfs quota usage scan"

When I run "btrfs quota rescan -s /", it seems as if the quota scan never seems to end, as the ID never changes.

Is there any way I can abort a quota scan, or perhaps force it to rescan?
I'm guessing this process is rather essential for buttersink's functionality?

@ChojinDSL
Copy link
Author

I think I've found what causes the issue. Apparently, if you have either the source or target BTRFS partition mounted with "autodefrag", then btrfs quota scan can hang.

At least, that's how it seems on my servers. Keep in mind, this is with Debian Wheezy 64bit. Kernel 3.16 but btrfs tools 3.17 and on some servers btrfs tools 4.4.

Remounting the partitions without autodefrag seems to fix it. (At least after a reboot).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants