[Bugs] [Bug 1288186] New: Double counting of quota

bugzilla at redhat.com bugzilla at redhat.com
Thu Dec 3 19:02:46 UTC 2015


https://bugzilla.redhat.com/show_bug.cgi?id=1288186

            Bug ID: 1288186
           Summary: Double counting of quota
           Product: GlusterFS
           Version: 3.5.5
         Component: quota
          Severity: high
          Assignee: bugs at gluster.org
          Reporter: nvanlysel at morgridge.org
                CC: bugs at gluster.org, gluster-bugs at redhat.com



Description of problem:
Disk usage of the volume is being double counted.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Create 8x2 distributed-replicate volume
2. Enable quota on volume
3. Set quota limit of /test to 1TB
4. Mount volume on client and write data to it using dd
5. Check disk usage using du from client
6. List /test quota usage from gluster server

Actual results:
Disk usage is being double counted.

Expected results:
Disk usage should be calculated correctly.

Additional info:
ON CLIENT:
[root at client-1 ~]# df -h /home
Filesystem                        Size  Used Avail Use% Mounted on
storage-1:home                    273T   15T  259T   6% /home
[root at client-1 ~]# cd /home/test
[root at client-1 test]# du -sh
791G    .

ON GLUSTER SERVER:
[root at storage-1 ~]# gluster volume quota home list
                  Path                   Hard-limit Soft-limit   Used 
Available
--------------------------------------------------------------------------------
/test                                    1.0TB       90%       1.6TB  0Bytes

[root at storage-1 ~]# gluster volume info
Volume Name: home
Type: Distributed-Replicate
Volume ID: 2694f438-08f6-48fc-a072-324d4701f112
Status: Started
Number of Bricks: 8 x 2 = 16
Transport-type: tcp
Bricks:
Brick1: storage-7:/brick1/home
Brick2: storage-8:/brick1/home
Brick3: storage-9:/brick1/home
Brick4: storage-10:/brick1/home
Brick5: storage-1:/brick1/home
Brick6: storage-2:/brick1/home
Brick7: storage-3:/brick1/home
Brick8: storage-4:/brick1/home
Brick9: storage-5:/brick1/home
Brick10: storage-6:/brick1/home
Brick11: storage-11:/brick1/home
Brick12: storage-12:/brick1/home
Brick13: storage-13:/brick1/home
Brick14: storage-14:/brick1/home
Brick15: storage-15:/brick1/home
Brick16: storage-16:/brick1/home
Options Reconfigured:
performance.cache-size: 100MB
performance.write-behind-window-size: 100MB
nfs.disable: on
features.quota: on
features.default-soft-limit: 90%


GLUSTER SERVER PACKAGES:
[root at storage-1 ~]# rpm -qa |grep gluster
glusterfs-cli-3.5.5-2.el6.x86_64
glusterfs-server-3.5.5-2.el6.x86_64
glusterfs-libs-3.5.5-2.el6.x86_64
glusterfs-fuse-3.5.5-2.el6.x86_64
glusterfs-3.5.5-2.el6.x86_64
glusterfs-api-3.5.5-2.el6.x86_64


GLUSTER CLIENT PACKAGES:
[root at client-1 ~]# rpm -qa |grep gluster
glusterfs-api-3.5.5-2.el6.x86_64
glusterfs-libs-3.5.5-2.el6.x86_64
glusterfs-fuse-3.5.5-2.el6.x86_64
glusterfs-3.5.5-2.el6.x86_64

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list