<div dir="ltr">Hi Sergei,<div><br></div><div>Apologies for the delay. I am extremely sorry, I was struck on something important</div><div>It&#39;s great that you figured out the solution.</div><div><br></div><div>Whenever you set a dirty flag as mentioned in the previous thread, the quota values will be recalcualted.</div><div>Yep, as you mentioned there are lot of changes that has gone in from 3.7. We have</div><div>introduced Inode-quota feature in 3.7, then we have implemented the Quota versioning</div><div>in 3.7.5 and then enhance quota enable/disable feature in 3.7.12. So a lot of code changes</div><div>has been done.</div><div><br></div><div>In case would you like to know more, you can refer our specs[1].</div><div><br></div><div>[1] <a href="https://github.com/gluster/glusterfs-specs">https://github.com/gluster/glusterfs-specs</a></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Aug 30, 2016 at 9:27 PM, Sergei Gerasenko <span dir="ltr">&lt;<a href="mailto:gerases@gmail.com" target="_blank">gerases@gmail.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 style="word-wrap:break-word"><div>The problem must have started because of an upgrade to 3.7.12 from an older version. Not sure exactly how.</div><div><div class="h5"><br><div><blockquote type="cite"><div>On Aug 30, 2016, at 10:44 AM, Sergei Gerasenko &lt;<a href="mailto:gerases@gmail.com" target="_blank">gerases@gmail.com</a>&gt; wrote:</div><br><div><div style="word-wrap:break-word"><div>It seems that it did the trick. The usage is being recalculated. I’m glad to be posting a solution to the original problem on this thread. It’s so frequent that threads contain only incomplete or partially complete solutions.</div><div><br></div><div>Thanks,</div><div>  Sergei</div><br><div><blockquote type="cite"><div>On Aug 29, 2016, at 3:41 PM, Sergei Gerasenko &lt;<a href="mailto:sgerasenko74@gmail.com" target="_blank">sgerasenko74@gmail.com</a>&gt; wrote:</div><br><div><div dir="ltr"><div><font color="#777777"><span style="font-size:12.8px;white-space:nowrap">I found an informative thread on a similar problem:</span></font></div><div><font color="#777777"><span style="font-size:12.8px;white-space:nowrap"><br></span></font></div><div><font color="#777777"><span style="font-size:12.8px;white-space:nowrap"><a href="http://www.spinics.net/lists/gluster-devel/msg18400.html" target="_blank">http://www.spinics.net/lists/<wbr>gluster-devel/msg18400.html</a></span><br></font></div><div><font color="#777777"><span style="font-size:12.8px;white-space:nowrap"><br></span></font></div><div><font color="#777777"><span style="font-size:12.8px;white-space:nowrap">According to the thread, it seems that the solution is to disable the quota, which will clear the relevant xattrs and then re-enable the quota which should force a recalc. I will try this tomorrow.</span></font><span style="color:rgb(119,119,119);font-size:12.8px;white-space:nowrap"> </span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Aug 11, 2016 at 9:31 AM, Sergei Gerasenko <span dir="ltr">&lt;<a href="mailto:gerases@gmail.com" target="_blank">gerases@gmail.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 style="word-wrap:break-word">Hi Selvaganesh,<div><br></div><div>Thanks so much for your help. I didn’t have that option on probably because I originally had a lower version of cluster and then upgraded. I turned the option on just now.</div><div><br></div><div>The usage is still off. Should I wait a certain time?</div><div><br></div><div>Thanks,</div><div>  Sergei</div><div><br><div><blockquote type="cite"><div>On Aug 9, 2016, at 7:26 AM, Manikandan Selvaganesh &lt;<a href="mailto:mselvaga@redhat.com" target="_blank">mselvaga@redhat.com</a>&gt; wrote:</div><br><div><div dir="ltr">Hi Sergei,<div><br></div><div>When quota is enabled, quota-deem-statfs should be set to ON(By default with the recent versions). But apparently </div><div>from your &#39;gluster v info&#39; output, it is like quota-deem-statfs is not on. </div><div><br></div><div>Could you please check and confirm the same on /var/lib/glusterd/vols/&lt;VOLNAM<wbr>E&gt;/info. If you do not find an option </div><div>&#39;features.quota-deem-statfs=on<wbr>&#39;, then this feature is turned off. Did you turn off this one? You could turn it on by doing this</div><div>&#39;gluster volume set &lt;VOLNAME&gt; quota-deem-statfs on&#39;.</div><div><br></div><div>To know more about this feature, please refer here[1] </div><div><br></div><div>[1] <a href="https://gluster.readthedocs.io/en/latest/Administrator%20Guide/Directory%20Quota/" target="_blank">https://gluster.readthedoc<wbr>s.io/en/latest/Administrator%<wbr>20Guide/Directory%20Quota/</a> </div><div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Aug 9, 2016 at 5:43 PM, Sergei Gerasenko <span dir="ltr">&lt;<a href="mailto:gerases@gmail.com" target="_blank">gerases@gmail.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 style="word-wrap:break-word"><div>Hi ,</div><div><br></div><div>The gluster version is 3.7.12. Here’s the output of `gluster info`:</div><div><br></div><div><div><font face="Courier">Volume Name: ftp_volume</font></div><div><font face="Courier">Type: Distributed-Replicate</font></div><div><font face="Courier">Volume ID: SOME_VOLUME_ID</font></div><div><font face="Courier">Status: Started</font></div><div><font face="Courier">Number of Bricks: 3 x 2 = 6</font></div><div><font face="Courier">Transport-type: tcp</font></div><div><font face="Courier">Bricks:</font></div><div><font face="Courier">Brick1: host03:/data/ftp_gluster_brick</font></div><div><font face="Courier">Brick2: host04:/data/ftp_gluster_brick</font></div><div><font face="Courier">Brick3: host05:/data/ftp_gluster_brick</font></div><div><font face="Courier">Brick4: host06:/data/ftp_gluster_brick</font></div><div><font face="Courier">Brick5: host07:/data/ftp_gluster_brick</font></div><div><font face="Courier">Brick6: host08:/data/ftp_gluster_brick</font></div><div><font face="Courier">Options Reconfigured:</font></div><div><font face="Courier">features.quota: on</font></div></div><div><font face="Courier"><br></font></div><div>Thanks for the reply!! I thought nobody would reply at this point :)</div><span><font color="#888888"><div><br></div><div>Sergei</div></font></span><div><div><br><div><blockquote type="cite"><div>On Aug 9, 2016, at 6:03 AM, Manikandan Selvaganesh &lt;<a href="mailto:mselvaga@redhat.com" target="_blank">mselvaga@redhat.com</a>&gt; wrote:</div><br><div><div dir="ltr"><span style="font-size:12.8px">Hi,</span><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Sorry, I missed the mail. May I know which version of gluster you are using and please paste the output of</div><div style="font-size:12.8px">gluster v info?</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Aug 6, 2016 at 8:19 AM, Sergei Gerasenko <span dir="ltr">&lt;<a href="mailto:gerases@gmail.com" target="_blank">gerases@gmail.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 dir="ltr"><div style="font-size:small">Hi,</div><div style="font-size:small"><br></div><div style="font-size:small">I&#39;m playing with quotas and the quota list command on one of the directories claims it uses 3T, whereas the du command says only 512G is used.</div><div style="font-size:small"><br></div><div style="font-size:small">Anything I can do to force a re-calc, re-crawl, etc?</div><div style="font-size:small"><br></div><div style="font-size:small">Thanks,</div><div style="font-size:small"> Sergei</div></div>
<br>______________________________<wbr>_________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org" target="_blank">Gluster-users@gluster.org</a><br>
<a href="http://www.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" target="_blank">http://www.gluster.org/mailman<wbr>/listinfo/gluster-users</a><br></blockquote></div><br><br clear="all"><span><font color="#888888"><div><br></div>-- <br><div data-smartmail="gmail_signature"><div dir="ltr"><div>Regards,<br></div>Manikandan Selvaganesh.<br></div></div>
</font></span></div><span><font color="#888888">
</font></span></div></blockquote></div><span><font color="#888888"><br></font></span></div></div></div></blockquote></div><span><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div data-smartmail="gmail_signature"><div dir="ltr"><div>Regards,<br></div>Manikandan Selvaganesh.<br></div></div>
</font></span></div></div>
</div></blockquote></div><br></div></div></blockquote></div><br></div>
</div></blockquote></div><br></div></div></blockquote></div><br></div></div></div><br>______________________________<wbr>_________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
<a href="http://www.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" target="_blank">http://www.gluster.org/<wbr>mailman/listinfo/gluster-users</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Regards,<br></div>Manikandan Selvaganesh.<br></div></div>
</div></div>