Hi Anthony,<div><br></div><div>To debug this further, can you send the output of </div><div><br></div><div>getfattr -n trusted.glusterfs.quota.size -e hex /soft/venus</div><div><meta http-equiv="content-type" content="text/html; charset=utf-8">getfattr -n trusted.glusterfs.quota.size -e hex /soft/venus/test</div>

<div><meta http-equiv="content-type" content="text/html; charset=utf-8">getfattr -n trusted.glusterfs.quota.size -e hex /soft/venus/psa</div><div><meta http-equiv="content-type" content="text/html; charset=utf-8">getfattr -n trusted.glusterfs.quota.size -e hex /soft/venus/soft</div>

<div><br></div><div>from both the machine. Also check the output of</div><div><br></div><div>gluster volume quota <meta http-equiv="content-type" content="text/html; charset=utf-8"><span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">Replicate list</span></div>

<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">Sometimes it takes a small amount of time to bring up the sizes. Also, what kind of data where you creating (I mean large amount of small files or large files because in case of small files, the directory sizes are not accounted by quota to calculate the size unlike the du -h command which uses the directory size as well).<br>

</span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">Junaid<br>

</span></font><div class="gmail_quote">On Thu, Sep 1, 2011 at 1:37 PM, anthony garnier <span dir="ltr">&lt;<a href="mailto:sokar6012@hotmail.com">sokar6012@hotmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">





<div><div dir="ltr">
Hi all,<br><br>I&#39;ve enable quota but I&#39;m a bit confused by values displayed by GlusterFS<br><br>Here is my volume : <br><br>Volume Name: venus<br>Type: Replicate<br>Status: Started<br>Number of Bricks: 2<br>Transport-type: tcp<br>

Bricks:<br>Brick1: ylal3020:/soft/venus<br>Brick2: ylal3030:/soft/venus<br>Options Reconfigured:<br>features.limit-usage: /test:100MB,/psa:200MB,/soft:1500MB,/:2GB<br>features.quota: on<br>diagnostics.client-log-level: ERROR<br>

diagnostics.brick-log-level: ERROR<br>network.ping-timeout: 10<br>performance.cache-size: 2GB<br>nfs.port: 2049<br><br>I&#39;ve got 3 folders in the backend (/soft/venus) : <br>psa        160MB  (with du -sh)<br>soft         1.2GB<br>

test         12KB<br>Total       1.4GB<br><br>But when I list the quota with gluster I got : <br># gluster volume quota venus list<br>    path          limit_set         size<br>----------------------------------------------------------------------------------<br>

/test                     100MB               12.0KB                  &lt;= This one is OK<br>/psa                      200MB               64.4MB           &lt;= not OK<br>/soft                    1500MB              281.8MB           &lt;= not OK<br>

/                           2GB              346.2MB               &lt;= not OK<br><br>Any idea ?<br><br>Regards,<br><font color="#888888"><br>Anthony Garnier<br><br><br><br>                                               </font></div></div>
<br>_______________________________________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
<a href="http://gluster.org/cgi-bin/mailman/listinfo/gluster-users" target="_blank">http://gluster.org/cgi-bin/mailman/listinfo/gluster-users</a><br>
<br></blockquote></div><br></div>