Description of problem: When quota is enabled on a tiered volume and limit usage on root directory is set to a high value, data usage usage shown an inflated value. A value which is more than the capacity of actual volume size. Actual value: Filesystem Size Used Avail Use% Mounted on 10.70.37.120:/krk-vol 1.9T 627G 1.3T 34% /mnt/krkvol value shown on client with quota enabled, Filesystem Size Used Avail Use% Mounted on 10.70.37.120:/krk-vol 100P 9.5T 100P 1% /mnt/krkvol Version-Release number of selected component (if applicable): glusterfs-server-3.7.5-18.el7rhgs.x86_64 How reproducible: Yet to be determined Steps to Reproduce: 1. Create a volume, enable quota and set limit usage to root directory 2. Attach tier and have files promoted, new files written to hot tier 3. create multiple sub-directories and set limit usage 4. Have data written to these sub-directories 5. Disable quota 6. Enable quota 7. Repeat steps 3 & 4 8. Detach tier and wait for it to complete Actual results: disk usage shows incorrect value Expected results: Actual disk usage should be shown Additional info:
Patch submitted upstream: http://review.gluster.org/13363 Patch submitted downstream: https://code.engineering.redhat.com/gerrit/#/c/67161/
Patch posted 3.7 -> http://review.gluster.org/13388
https://code.engineering.redhat.com/gerrit/#/c/67161/
Verified the build in glusterfs-3.7.5-19. Enabled quota on a tiered volume and set limit to root, ran several promotion/demotions, attach tier and detach tier. Data usage reported actual value.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2016-0193.html