<div dir="ltr"><div><div><div><div>Hi Mauro, <br></div><br>This may be an issue with update of backend xattrs. <br>To RCA further and provide resolution could you provide me with the logs by running the following fsck script.<br><a href="https://review.gluster.org/#/c/19179/6/extras/quota/quota_fsck.py">https://review.gluster.org/#/c/19179/6/extras/quota/quota_fsck.py</a><br><br></div>Try running the script and revert with the logs generated.<br><br></div>Thanks,<br></div>Sanoj<br><div><div><div><br></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jul 2, 2018 at 2:21 PM, Mauro Tridici <span dir="ltr"><<a href="mailto:mauro.tridici@cmcc.it" target="_blank">mauro.tridici@cmcc.it</a>></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>Dear Users,</div><div><br></div><div>I just noticed that, after some data deletions executed inside "/tier2/CSP/ans004” folder, the amount of used disk reported by quota command doesn’t reflect the value indicated by du command.</div><div>Surfing on the web, it seems that it is a bug of previous versions of Gluster FS and it was already fixed.</div><div>In my case, the problem seems unfortunately still here.</div><div><br></div><div>How can I solve this issue? Is it possible to do it without starting a downtime period?</div><div><br></div><div>Thank you very much in advance,</div><div>Mauro</div><div><br></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">[root@s01 ~]# glusterfs -V</span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">glusterfs 3.10.5</span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">Repository revision: <a>git://git.gluster.org/<wbr>glusterfs.git</a></span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">Copyright (c) 2006-2016 Red Hat, Inc. <<a href="https://www.gluster.org/" target="_blank">https://www.gluster.org/</a>></span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">GlusterFS comes with ABSOLUTELY NO WARRANTY.</span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">It is licensed to you under your choice of the GNU Lesser</span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">General Public License, version 3 or any later version (LGPLv3</span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">or later), or the GNU General Public License, version 2 (GPLv2),</span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">in all cases as published by the Free Software Foundation.</span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"><br></span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">[root@s01 ~]# gluster volume quota tier2 list /CSP/ans004</span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"> Path Hard-limit Soft-limit Used Available Soft-limit exceeded? Hard-limit exceeded?</span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">------------------------------<wbr>------------------------------<wbr>------------------------------<wbr>------------------------------<wbr>-------</span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"><font color="#b8b43b">/CSP/ans004 1.0TB 99%(1013.8GB) </font><b><font color="#ff2600">3.9TB</font></b><font color="#b8b43b"> 0Bytes Yes Yes</font></span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"><br></span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">[root@s01 ~]# du -hs /tier2/CSP/ans004/</span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"><font color="#ff2600"><b>295G</b></font><span class="m_-8075369099156815665Apple-tab-span" style="color:rgb(184,180,59);white-space:pre-wrap">        </span><font color="#b8b43b">/tier2/CSP/ans004/</font></span></div><div><span style="font-variant-ligatures:no-common-ligatures"><br></span></div><div>
<span class="m_-8075369099156815665Apple-style-span" style="border-collapse:separate;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-variant-east-asian:normal;line-height:normal;border-spacing:0px"><span class="m_-8075369099156815665Apple-style-span" style="border-collapse:separate;color:rgb(0,0,0);font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div></div><br></span></span>
</div>
<br></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://lists.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" target="_blank">http://lists.gluster.org/<wbr>mailman/listinfo/gluster-users</a><br></blockquote></div><br></div>