[Gluster-users] Quota wrong Value

DUBOURG Kevin
Fri, 27 Sep 2013 09:54:24 -0000

Hello All,

I installed glusterFS 3.2.7 on a debian Squeeze.

I created a volumed name "clients". I am able to mount this volume
with NFS or NFS.glusterfs on my client.

I tried to activate the quota on the volume, it's ok :

root at fs2:~# gluster volume info

Volume Name: clients
Type: Distribute
Status: Started
Number of Bricks: 1
Transport-type: tcp
Bricks:
Brick1: fs2.rezoo.fr:/home/data
Options Reconfigured:
performance.io-thread-count: 32
performance.cache-size: 256MB
performance.cache-refresh-timeout: 4
performance.cache-max-file-size: 2MB
nfs.disable: on
nfs.addr-namelookup: off
nfs.enable-ino32: on
diagnostics.client-log-level: WARNING
diagnostics.brick-log-level: WARNING
features.limit-usage: /:1GB
features.quota: on
auth.allow: 127.0.0.1,X.X.X.X,X.X.X.X
features.quota-timeout: 5
nfs.rpc-auth-allow: 127.0.0.1,X.X.X.X,X.X.X.X

But i have a problem when i try to display the quota :

I had this :

root at fs2:~# gluster volume quota clients list
? ? ? ? path ? ? ? ? ? ? ?limit_set ? ? ? ? ?size
----------------------------------------------------------------------------------
/ ? ? ? ? ? ? ? ? ? ? ? ? ? 1GB ? ? ? ? ? ? ?200.0MB


But the size is wrong (indeed, the directory is empty).

At the same time i had this in the
log?/var/log/glusterfs/etc-glusterfs-glusterd.vol.log (when i try to display the
quota) :

2013-09-27 11:51:45.626371] I [glusterd-handler.c:420:glusterd_op_txn_begin]
0-glusterd: Acquired local lock
[2013-09-27 11:51:45.626403] I
[glusterd-op-sm.c:6737:glusterd_op_ac_send_stage_op] 0-glusterd: Sent op req to
0 peers
[2013-09-27 11:51:45.626464] I
[glusterd-op-sm.c:6854:glusterd_op_ac_send_commit_op] 0-glusterd: Sent op req to
0 peers
[2013-09-27 11:51:45.626480] I [glusterd-op-sm.c:7250:glusterd_op_txn_complete]
0-glusterd: Cleared local lock
[2013-09-27 11:51:45.637229] W [socket.c:1494:__socket_proto_state_machine]
0-socket.management: reading from socket failed. Error (Transport endpoint is
not connected), peer (127.0.0.1:1016)
[2013-09-27 11:51:49.845087] W [socket.c:1494:__socket_proto_state_machine]
0-socket.management: reading from socket failed. Error (Transport endpoint is
not connected), peer (127.0.0.1:1022)
[2013-09-27 11:51:49.845224] W [socket.c:1494:__socket_proto_state_machine]
0-socket.management: reading from socket failed. Error (Transport endpoint is
not connected), peer (127.0.0.1:1017)

Any ideas about my problem ?

Many thanks,


-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://supercolony.gluster.org/pipermail/gluster-users/attachments/20130927/f81d5ea4/attachment.html>