-
Notifications
You must be signed in to change notification settings - Fork 138
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
Quota file exists error on Share resize #2854
Comments
Updated output using current testing branch:
|
Initially this looks like we try to assign a qgroup when it is already assigned: i.e. we have: rockstor-core/src/rockstor/fs/btrfs.py Lines 1567 to 1575 in 185a8d0
to avoid the assignment when it already exists. Where we establish if the qgroup is assigned already via: rockstor-core/src/rockstor/fs/btrfs.py Lines 1500 to 1503 in 185a8d0
|
For the development 15.6 reproducer system we have the following, note this Pool has a little history:
The history may be part of the reproducer here. N.B. as our original call is logged as:
and these same values are passed to our pre-check re assignment of qgroup_is_assigned(qid, pqid, mnt_pt) we can see that:
[edit to correct diagnostic mistake]
|
Our qgroup selection in the call to
rockstor-core/src/rockstor/fs/btrfs.py Lines 1555 to 1564 in 185a8d0
indicating the source as from share.qgroup. |
It appears that this failure is around qgroup_is_assigned() and it's inability to inform us that we already have this assignment in place. There is also no test coverage for qgroup_is_assigned(), but the procedure itself has some example data and this issue can provide more. I.e. see in qgroup_is_assigned() rockstor-core/src/rockstor/fs/btrfs.py Lines 1540 to 1548 in 185a8d0
We also now look to have an additional path column: i.e.
|
Fix insensitivity re Share quota id membership of Pool associated quote group, when the Share's quota id has multiple parent quota groups. Avoiding consequent failure during redundant quota group assignment. Includes: - Previously missing test for qgroup assignment probe. - Removes prior limitation re single quota parent. - Incidental removal of unused import in test_btrfs.py and re-black formatting of the same file.
…on-Share-resize Quota file exists error on Share resize #2854
Closing as: |
Thanks to forum member Stevek for highlighting this problem. We currently don't enforce Share size limiting via quotas: with the following Web-UI proviso in Shares overview & Details views:
But we currently, under some circumstances, error out when a Share resize is attempted:
As part of our planned enforcement of quota limits, and to provide a better user experience; even on this currently unsupported limitation, we should initially fix this bad user experience.
Forum reference: https://forum.rockstor.com/t/created-5gb-share-and-put-175gb-of-data-into-it-cant-resize/9539
The text was updated successfully, but these errors were encountered: