Description of problem: ========================== quota: Used space of the volume is wrongly calculated Version-Release number of selected component (if applicable): =================== quota: Used space of the volume is wrongly calculated How reproducible: Steps to Reproduce: =================== 1.Create 1X4 replica volume and enable quota 2.Set quota usage-limit as 10GB 3.Mount the volume on client using fuse and create 360 MB data on the mount 4.Using quota list check the used space and it is showing as 1.1 GB used Note: Used space is calcuated as 4X (say for each 1MB data on mount used space is showing as 4MB) Actual results: Expected results: =============== Used space should show correctly Additional info: =================== 10.70.33.235:/testquota on /mnt/testquota type fuse.glusterfs (rw,default_permissions,allow_other,max_read=131072) [root@scarface data]# du -h /mnt/testquota/ 512 /mnt/testquota/.trashcan/internal_op 1.0K /mnt/testquota/.trashcan 360M /mnt/testquota/data 360M /mnt/testquota/ [root@rhs-client37 data]# gluster vol quota testquota list Path Hard-limit Soft-limit Used Available Soft-limit exceeded? Hard-limit exceeded? --------------------------------------------------------------------------------------------------------------------------- / 10.0GB 80% 1.1GB 8.9GB No No
Hi Rajesh, any rename/mv/rmdir operation performed?
No rename/mv/rmdir operations performed on that volume, just created few files on it
Not able to re-create with glusterfs-3.7.1-10, so moving to ON_QA for verification
Tested with build glusterfs-3.7.1-12 and used space information is showing properly so closing the bug
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/RHSA-2015-1845.html