[Bugs] [Bug 1172348] New: new installation of glusterfs3.5.3-1; quota not displayed to client.

bugzilla at redhat.com bugzilla at redhat.com
Tue Dec 9 21:40:06 UTC 2014


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

            Bug ID: 1172348
           Summary: new installation of glusterfs3.5.3-1; quota not
                    displayed to client.
           Product: GlusterFS
           Version: 3.5.3
         Component: quota
          Severity: medium
          Assignee: bugs at gluster.org
          Reporter: khoi.mai2008 at gmail.com
                CC: bugs at gluster.org, gluster-bugs at redhat.com



Created attachment 966508
  --> https://bugzilla.redhat.com/attachment.cgi?id=966508&action=edit
glusterfs3.5.3 server log

Description of problem:  Fresh installation of glusterfs3.5.3-1 on a 2 node
replicated setup.  Quota enabled, but does not appear to be presented to
fuse-client for specified quota.  

On the storage node that I enabled the quota and tried to list it in the CLi
the prompt never returns during listing.  There is a local mount that is
mounted on the server I initiated the command on.  The other server did not
have this mount.

localhost:test       1073217536  33152 1073184384   1% /var/run/gluster/test


I've tried to recycle glusterd and no changes and when I killed the glusterfs
process that was still writing to the locally mounted filesystem, it now leaves
it in a transport disconnect state, and I cannot remove it but nobody is using
it.

[root at omhq1436 glusterfs]# ll /var/run/gluster
ls: cannot access /var/run/gluster/test: Transport endpoint is not connected
total 4
d????????? ? ?    ?    ?            ? test
-rw-r--r-- 1 root root 6 Dec  9 15:01 test.pid

My fuse-client/gFNS mounts still shows the size of the brick rather than the
quota hard limit.  


I also ran 
dd if=/dev/zero of=filename bs=1024 count=2GB
in my fuse-client and it saw the limit.

[root at vx1ac9 test]# dd if=/dev/zero of=filename bs=1024 count=2GB
dd: writing `filename': Disk quota exceeded
dd: closing output file `filename': Disk quota exceeded

[root at omdx1445 test]# gluster volume info

Volume Name: test
Type: Replicate
Volume ID: 24f22448-cf5b-4941-9c89-6159ea847352
Status: Started
Number of Bricks: 1 x 2 = 2
Transport-type: tcp
Bricks:
Brick1: omhq1436:/static/test
Brick2: omdx1445:/static/test
Options Reconfigured:
features.quota: on
[root at omdx1445 test]# gluster volume quota test list
                  Path                   Hard-limit Soft-limit   Used 
Available
--------------------------------------------------------------------------------
/                                          1.0GB       80%       1.0GB  0Bytes


Version-Release number of selected component (if applicable):
storage:
[root at omdx1445 test]# uname -a
Linux omdx1445 2.6.32-504.1.3.el6.x86_64 #1 SMP Fri Oct 31 11:37:10 EDT 2014
x86_64 x86_64 x86_64 GNU/Linux
[root at omdx1445 test]# rpm -qa --last|grep glusterfs
glusterfs-server-3.5.3-1.el6.x86_64           Tue 09 Dec 2014 01:51:29 PM CST
glusterfs-fuse-3.5.3-1.el6.x86_64             Tue 09 Dec 2014 01:51:29 PM CST
glusterfs-cli-3.5.3-1.el6.x86_64              Tue 09 Dec 2014 01:51:29 PM CST
glusterfs-api-3.5.3-1.el6.x86_64              Tue 09 Dec 2014 01:51:29 PM CST
glusterfs-libs-3.5.3-1.el6.x86_64             Tue 09 Dec 2014 01:51:28 PM CST
glusterfs-3.5.3-1.el6.x86_64                  Tue 09 Dec 2014 01:51:28 PM CST


fuse-client:
[root at vx1ac9 test]# uname -a
Linux vx1ac9 2.6.32-504.1.3.el6.x86_64 #1 SMP Fri Oct 31 11:37:10 EDT 2014
x86_64 x86_64 x86_64 GNU/Linux
[root at vx1ac9 test]# rpm -qa --last|grep glusterfs
glusterfs-fuse-3.5.3-1.el6.x86_64             Fri 05 Dec 2014 06:12:51 PM CST
glusterfs-3.5.3-1.el6.x86_64                  Fri 05 Dec 2014 06:12:50 PM CST
glusterfs-libs-3.5.3-1.el6.x86_64             Fri 05 Dec 2014 06:12:49 PM CST



How reproducible:
everytime you run a df on the client you will not see the appropriate quota
limit set for that volume

Steps to Reproduce:
1.  create gluster volume, enable quota, set quota hard limit, mount to fuse
client
2. df on client


Actual results:
the client df displays 1TB rather than 1GB

Expected results:
1GB

Additional info:
i've attached the /var/log/glusterfs to this ticket.

-- 
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