<div class="gmail_quote">Hi Anthony,<div><br></div><div>Previously, you had a volume which was pure replicate and it had the servers</div><div><br></div><div><span style="border-collapse:collapse;font-family:arial, sans-serif;font-size:13px">Volume Name: venus<br>


Type: Replicate<div class="im"><br>Status: Started<br>Number of Bricks: 2<br></div><div class="im">Transport-type: tcp<br>Bricks:<br>Brick1: ylal3020:/soft/venus<br></div></span><span style="border-collapse:collapse;font-family:arial, sans-serif;font-size:13px">Brick2: ylal3030:/soft/venus</span></div>


<div><font face="arial, sans-serif"><span style="border-collapse:collapse"><br></span></font></div><div><font face="arial, sans-serif"><span style="border-collapse:collapse">and then you created another distributed-replicate volume which used the bricks of previous volume as part of the  new volume<br>


</span></font></div><div class="im"><div><font face="arial, sans-serif"><span style="border-collapse:collapse"><br></span></font></div><div><font face="arial, sans-serif"><span style="border-collapse:collapse"><span style="font-size:13px">Volume Name: venus<br>


Type: Distributed-Replicate<br>Status: Started<br>Number of Bricks: 2 x 2 = 4<br>Transport-type: tcp<br>Bricks:<br>Brick1: ylal3020:/soft/venus<br>Brick2: ylal3030:/soft/venus<br>Brick3: yval1000:/soft/venus<br></span></span></font><font face="arial, sans-serif"><span style="border-collapse:collapse"><span style="font-size:13px">Brick4: yval1010:/soft/venus</span><br>


</span></font></div></div><div><div class="gmail_quote"><br></div><div class="gmail_quote">So, what I suspect is the extended attributes were carried forward as part of the of the new volume. So, when a file is created in the new volume, for quota it will the extended attribute value + the new file size. If this is true in your case, then please use fresh backend directories(newly created directories) and kindly report if you see the same behavior.</div>


<div class="gmail_quote"><br></div><font color="#888888"><div class="gmail_quote">Junaid</div></font><div><div></div><div class="h5"><div class="gmail_quote"><br></div><div class="gmail_quote">On Mon, Sep 5, 2011 at 11:45 PM, Mohammed Junaid <span dir="ltr">&lt;<a href="mailto:junaid@gluster.com" target="_blank">junaid@gluster.com</a>&gt;</span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Anthony,<div><br></div><div>Are  you reachable on #gluster  irc, it will be easy to debug this issue on irc. I will be available at gluster irc after 11am IST. I will reply to your mail but it will speedup the debug process if you are on irc.</div>



<div><br></div><div><font color="#888888">Junaid</font><div><div></div><div><br><br><div class="gmail_quote">On Mon, Sep 5, 2011 at 8:03 PM, anthony garnier <span dir="ltr">&lt;<a href="mailto:sokar6012@hotmail.com" target="_blank">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">



<div dir="ltr">Hi Junaid,<br><br>Sorry about the confusion, indeed I gave you the
wrong output. So let&#39;s start to the beginning. I disabled quota and I
reactivated it<br><br>My configuration : <br><br>Volume Name: venus<br>Type: Distributed-Replicate<br>Status: Started<br>Number of Bricks: 2 x 2 = 4<br>Transport-type: tcp<br>Bricks:<br>Brick1: ylal3020:/soft/venus<br>Brick2: ylal3030:/soft/venus<br>



Brick3: yval1000:/soft/venus<br>Brick4: yval1010:/soft/venus<br>Options Reconfigured:<br>nfs.port: 2049<br>performance.cache-refresh-timeout: 60<br>performance.cache-size: 1GB<br>network.ping-timeout: 10<br>features.quota: on<br>



features.limit-usage: /test:100MB,/psa:200MB,/:7GB,/soft:5GB<br>features.quota-timeout: 120<br><br>Size of each folder from the mount point : <br>/test  : 4.1MB<a title="Bo?te de r?ception (1)" href="http://RteFrame_16.0.1823.0824.html?dl=dl#" target="_blank"><span></span></a><br>



/psa  : 160MB<br>/soft  : 1.2GB<br>Total size 1.4GB<br>(If you want the complete output of  du, don&#39;t hesitate)<br><br><br>gluster volume quota venus list<br>    path          limit_set         size<br>----------------------------------------------------------------------------------<br>



/psa                      200MB              167.0MB       &lt;=OK<br>/soft                       5GB                4.7GB            &lt;= NO OK<br>/test                     100MB                4.0MB          &lt;= OK<br>



/                           7GB                5.2GB             &lt;= NO OK<br><br>Is seems this is 4 time the original size for / and /soft<br><br><br>Getfattr for the four nodes : <br><br>ylal3020:/etc/ucarp/interface # getfattr -n trusted.glusterfs.quota.size -e hex /soft/venus ; getfattr -n trusted.glusterfs.quota.size -e hex /soft/venus/test ; getfattr -n trusted.glusterfs.quota.size -e hex /soft/venus/psa;getfattr -n trusted.glusterfs.quota.size -e hex /soft/venus/soft<br>



getfattr: Removing leading &#39;/&#39; from absolute path names<br># file: soft/venus<br>trusted.glusterfs.quota.size=0x00000000b3ad6c00<br><br>getfattr: Removing leading &#39;/&#39; from absolute path names<br># file: soft/venus/test<br>



trusted.glusterfs.quota.size=0x00000000001f8000<br><br>getfattr: Removing leading &#39;/&#39; from absolute path names<br># file: soft/venus/psa<br>trusted.glusterfs.quota.size=0x0000000004f62c00<br><br>getfattr: Removing leading &#39;/&#39; from absolute path names<br>



# file: soft/venus/soft<br>trusted.glusterfs.quota.size=0x0000000098f4b200<br><br>----<br>ylal3030:/etc/ucarp/interface # getfattr -n trusted.glusterfs.quota.size -e hex /soft/venus ; getfattr -n trusted.glusterfs.quota.size -e hex /soft/venus/test ; getfattr -n trusted.glusterfs.quota.size -e hex /soft/venus/psa;getfattr -n trusted.glusterfs.quota.size -e hex /soft/venus/soft<br>



getfattr: Removing leading &#39;/&#39; from absolute path names<br># file: soft/venus<br>trusted.glusterfs.quota.size=0x00000000b38e1c00<br><br>getfattr: Removing leading &#39;/&#39; from absolute path names<br># file: soft/venus/test<br>



trusted.glusterfs.quota.size=0x00000000001f8000<br><br>getfattr: Removing leading &#39;/&#39; from absolute path names<br># file: soft/venus/psa<br>trusted.glusterfs.quota.size=0x0000000004f62c00<br><br>getfattr: Removing leading &#39;/&#39; from absolute path names<br>



# file: soft/venus/soft<br>trusted.glusterfs.quota.size=0x0000000098b5e200<br><br>----<br>yval1000:/soft/venus # getfattr -n trusted.glusterfs.quota.size -e hex /soft/venus ; getfattr -n trusted.glusterfs.quota.size -e hex /soft/venus/test ; getfattr -n trusted.glusterfs.quota.size -e hex /soft/venus/psa;getfattr -n trusted.glusterfs.quota.size -e hex /soft/venus/soft<br>



getfattr: Removing leading &#39;/&#39; from absolute path names<br># file: soft/venus<br>trusted.glusterfs.quota.size=0x0000000098a8ac00<br><br>getfattr: Removing leading &#39;/&#39; from absolute path names<br># file: soft/venus/test<br>



trusted.glusterfs.quota.size=0x0000000000210000<br><br>getfattr: Removing leading &#39;/&#39; from absolute path names<br># file: soft/venus/psa<br>trusted.glusterfs.quota.size=0x000000000579e000<br><br>getfattr: Removing leading &#39;/&#39; from absolute path names<br>



# file: soft/venus/soft<br>trusted.glusterfs.quota.size=0x00000000930dcc00<br><br>----<br>yval1010:/soft/venus # getfattr -n trusted.glusterfs.quota.size -e hex /soft/venus ; getfattr -n trusted.glusterfs.quota.size -e hex /soft/venus/test ; getfattr -n trusted.glusterfs.quota.size -e hex /soft/venus/psa;getfattr -n trusted.glusterfs.quota.size -e hex /soft/venus/soft<br>



getfattr: Removing leading &#39;/&#39; from absolute path names<br># file: soft/venus<br>trusted.glusterfs.quota.size=0x0000000098a2ac00<br><br>getfattr: Removing leading &#39;/&#39; from absolute path names<br># file: soft/venus/test<br>



trusted.glusterfs.quota.size=0x0000000000210000<br><br>getfattr: Removing leading &#39;/&#39; from absolute path names<br># file: soft/venus/psa<br>trusted.glusterfs.quota.size=0x000000000579e000<br><br>getfattr: Removing leading &#39;/&#39; from absolute path names<br>



# file: soft/venus/soft<br>trusted.glusterfs.quota.size=0x000000009307cc00<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br></div>                                               </div></div>
</blockquote></div><br></div></div></div>
</blockquote></div><br></div></div></div>
</div><br>