<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html>
<head>
  <meta name="Generator" content="Zarafa WebApp v7.1.4-41394">
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <title>Quota wrong Value</title>
</head>
<body>
<font face="tahoma" style="color: rgb(0, 0, 0); font-family: tahoma; font-size: 12px;">Hello All,</font><div style="color: rgb(0, 0, 0); font-family: tahoma; font-size: 12px;"><font face="tahoma"><br></font></div><div style="color: rgb(0, 0, 0); font-family: tahoma; font-size: 12px;"><font face="tahoma">I installed glusterFS 3.2.7 on a debian Squeeze.</font></div><div style="color: rgb(0, 0, 0); font-family: tahoma; font-size: 12px;"><font face="tahoma"><br></font></div><div style="color: rgb(0, 0, 0); font-family: tahoma; font-size: 12px;">I created a volumed name "clients". I am able to mount this volume with NFS or NFS.glusterfs on my client.</div><div style="color: rgb(0, 0, 0); font-family: tahoma; font-size: 12px;"><br></div><div style="color: rgb(0, 0, 0); font-family: tahoma; font-size: 12px;">I tried to activate the quota on the volume, it's ok :</div><div style="color: rgb(0, 0, 0); font-family: tahoma; font-size: 12px;"><br></div><div><div><font face="tahoma"><span style="font-size: 12px;">root@fs2:~# gluster volume info</span></font></div><div><font face="tahoma"><span style="font-size: 12px;"><br></span></font></div><div><font face="tahoma"><span style="font-size: 12px;">Volume Name: clients</span></font></div><div><font face="tahoma"><span style="font-size: 12px;">Type: Distribute</span></font></div><div><font face="tahoma"><span style="font-size: 12px;">Status: Started</span></font></div><div><font face="tahoma"><span style="font-size: 12px;">Number of Bricks: 1</span></font></div><div><font face="tahoma"><span style="font-size: 12px;">Transport-type: tcp</span></font></div><div><font face="tahoma"><span style="font-size: 12px;">Bricks:</span></font></div><div><font face="tahoma"><span style="font-size: 12px;">Brick1: fs2.rezoo.fr:/home/data</span></font></div><div><font face="tahoma"><span style="font-size: 12px;">Options Reconfigured:</span></font></div><div><font face="tahoma"><span style="font-size: 12px;">performance.io-thread-count: 32</span></font></div><div><font face="tahoma"><span style="font-size: 12px;">performance.cache-size: 256MB</span></font></div><div><font face="tahoma"><span style="font-size: 12px;">performance.cache-refresh-timeout: 4</span></font></div><div><font face="tahoma"><span style="font-size: 12px;">performance.cache-max-file-size: 2MB</span></font></div><div><font face="tahoma"><span style="font-size: 12px;">nfs.disable: on</span></font></div><div><font face="tahoma"><span style="font-size: 12px;">nfs.addr-namelookup: off</span></font></div><div><font face="tahoma"><span style="font-size: 12px;">nfs.enable-ino32: on</span></font></div><div><font face="tahoma"><span style="font-size: 12px;">diagnostics.client-log-level: WARNING</span></font></div><div><font face="tahoma"><span style="font-size: 12px;">diagnostics.brick-log-level: WARNING</span></font></div><div><font face="tahoma"><span style="font-size: 12px;">features.limit-usage: /:1GB</span></font></div><div><font face="tahoma"><span style="font-size: 12px;">features.quota: on</span></font></div><div><font face="tahoma"><span style="font-size: 12px;">auth.allow: 127.0.0.1,X.X.X.X,X.X.X.X</span></font></div><div><font face="tahoma"><span style="font-size: 12px;">features.quota-timeout: 5</span></font></div><div><font face="tahoma"><span style="font-size: 12px;">nfs.rpc-auth-allow: 127.0.0.1,</span></font><span style="font-family: tahoma; font-size: 12px;">X.X.X.X,X.X.X.X</span></div></div><div style="color: rgb(0, 0, 0); font-family: tahoma; font-size: 12px;"><br></div><div style="color: rgb(0, 0, 0); font-family: tahoma; font-size: 12px;">But i have a problem when i try to display the quota :</div><div style="color: rgb(0, 0, 0); font-family: tahoma; font-size: 12px;"><br></div><div style="color: rgb(0, 0, 0); font-family: tahoma; font-size: 12px;">I had this :</div><div style="color: rgb(0, 0, 0); font-family: tahoma; font-size: 12px;"><br></div><div><div><font face="tahoma"><span style="font-size: 12px;">root@fs2:~# gluster volume quota clients list</span></font></div><div><font face="tahoma"><span style="font-size: 12px;">&nbsp; &nbsp; &nbsp; &nbsp; path &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;limit_set &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;size</span></font></div><div><font face="tahoma"><span style="font-size: 12px;">----------------------------------------------------------------------------------</span></font></div><div><font face="tahoma"><span style="font-size: 12px;">/ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 1GB &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;200.0MB</span></font></div><div style="color: rgb(0, 0, 0); font-family: tahoma; font-size: 12px;"><br></div></div><div style="color: rgb(0, 0, 0); font-family: tahoma; font-size: 12px;"><br></div><div style="color: rgb(0, 0, 0); font-family: tahoma; font-size: 12px;">But the size is wrong (indeed, the directory is empty).</div><div style="color: rgb(0, 0, 0); font-family: tahoma; font-size: 12px;"><br></div><div style="color: rgb(0, 0, 0); font-family: tahoma; font-size: 12px;">At the same time i had this in the log&nbsp;/var/log/glusterfs/etc-glusterfs-glusterd.vol.log (when i try to display the quota) :</div><div style="color: rgb(0, 0, 0); font-family: tahoma; font-size: 12px;"><br></div><div><div><font face="tahoma"><span style="font-size: 12px;">2013-09-27 11:51:45.626371] I [glusterd-handler.c:420:glusterd_op_txn_begin] 0-glusterd: Acquired local lock</span></font></div><div><font face="tahoma"><span style="font-size: 12px;">[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</span></font></div><div><font face="tahoma"><span style="font-size: 12px;">[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</span></font></div><div><font face="tahoma"><span style="font-size: 12px;">[2013-09-27 11:51:45.626480] I [glusterd-op-sm.c:7250:glusterd_op_txn_complete] 0-glusterd: Cleared local lock</span></font></div><div><font face="tahoma"><span style="font-size: 12px;">[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)</span></font></div><div><font face="tahoma"><span style="font-size: 12px;">[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)</span></font></div><div><font face="tahoma"><span style="font-size: 12px;">[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)</span></font></div><div style="color: rgb(0, 0, 0); font-family: tahoma; font-size: 12px;"><br></div></div><div style="color: rgb(0, 0, 0); font-family: tahoma; font-size: 12px;">Any ideas about my problem ?</div><div style="color: rgb(0, 0, 0); font-family: tahoma; font-size: 12px;"><br></div><div style="color: rgb(0, 0, 0); font-family: tahoma; font-size: 12px;">Many thanks,</div><div style="color: rgb(0, 0, 0); font-family: tahoma; font-size: 12px;"><br></div><div style="color: rgb(0, 0, 0); font-family: tahoma; font-size: 12px;"><br></div>
</body>
</html>