[RHGS] Gluster quota usage calculation is not correct
Issue
I have a two node RHGS cluster with quotas enabled/set on sub-directories within a volume.
The hard-limit was reached on one of the folders, but after cleaning up some files, the hard-limit has not refreshed.
# gluster volume quota test list
Path Hard-limit Soft-limit Used Available Soft-limit exceeded? Hard-limit exceeded?
/directory 20.0GB 80%(16.0GB) 20.0GB 0Bytes Yes Yes
# du -sh /bricks/testlv/rhgs/directory
4.0G /bricks/testlv/rhgs/directory
Environment
- RHGS 3.1.3
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
