Rockstor "ERROR: can't list qgroups: quotas not enabled"

@Flox Hello again.

Don’t know but Rockstor does make some (still incomplete) efforts to account for snapshots via size calculations based on the following command:

btrfs qgroup show /mnt2/share2/

called in the following function:

Also those warning log entries are normal and we do need to improve our quota re-scans a little bit, see @Flyer’s:

https://github.com/rockstor/rockstor-core/issues/1624

Yes, that’s the one; and I don’t think it’s changed: at least for a goodly while:

Not sure if you are still running 3.9.2-11 (that you reported in another forum thread we are both in) but there have been a number of improvements in the quota / size calculation area of things since then, including the ability to disable and re-enable quotas on a pool:

I was able to copy the work done by @ganti_priya on using inline edit in other areas of the UI for this feature which was handy. Thanks Priyanka.

And upon re-enabling quotas a fresh quota rescan is auto initiated. So that might be of interest. That post includes a pic of where this feature was put in the UI and a rough guide on it’s expected behaviour.

But there are known limitations / bugs still existing in how we calculate size but we are getting better at it. I have planned another session on this area of the code but it may take me a while to get to it as there are a few more pressing Rockstor engagements for me to tack first.

Hope that helps and do keep in mind that it can take several minutes for a quota rescan to complete and while it is on going Rockstor will display ‘interim’ values that are obviously incomplete.