[RHGS] Gluster quota usage calculation is not correct

Solution Verified - Updated -

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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content