Red Hat Bugzilla – Bug 997588
'quota rescan' fails
Last modified: 2014-05-14 12:02:53 EDT
Description of problem:
Kernel 3.10 supports quota-rescan, but userspace tools might be too old and do not use correct ioctls:
# btrfs quota rescan .
ERROR: quota command failed: Invalid argument
Version-Release number of selected component (if applicable):
A new git snapshot of btrfs-progs has been pushed to F19 testing. If possible, please re-test these bugs & feel free to close or comment as appropriate.
This is a mass update of F19 and F20 btrfs-progs bugs.
A btrfs-progs git snapshot has been built in Rawhide and submitted for F19 and F20 testing.
If your bug was reproducible, please re-test with the new build, and update this bug to let us know if it's been resolved. If so I can add it to the Bodhi errata.
btrfs-progs-3.14.1 has been pushed to Fedora 19 and 20 for testing.
I frankly have no idea if this will resolve your bug or not, but if you test it and find that it does, please take the opportunity to close this bug. :)
with a recent kernel & recent btrfs-progs, this all works;
# btrfs quota enable /mount/point
# btrfs quota rescan /mount/point
so closing CURRENTRELEASE.
(did you do a quota enable first? if not, you will get the EINVAL return)