<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Hi Sanoj,</div><div class=""><br class=""></div><div class="">unfortunately the output of the command execution was not helpful.</div><div class=""><br class=""></div><div class=""><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">[root@s01 ~]# find /tier2/CSP/ans004&nbsp; | xargs getfattr -d -m. -e hex</span></div><div style="margin: 0px; line-height: normal; font-family: 'Courier New'; color: rgb(184, 180, 59); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">[root@s01 ~]#&nbsp;</span></div></div><div class=""><br class=""></div><div class="">Do you have some other idea in order to detect the cause of the issue?</div><div class=""><br class=""></div><div class="">Thank you again,</div><div class="">Mauro</div><div class=""><br class=""></div><br class=""><div><blockquote type="cite" class=""><div class="">Il giorno 05 lug 2018, alle ore 09:08, Sanoj Unnikrishnan &lt;<a href="mailto:sunnikri@redhat.com" class="">sunnikri@redhat.com</a>&gt; ha scritto:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="">Hi Mauro,<br class=""><br class="">A script issue did not capture all necessary xattr. <br class="">Could you provide the xattrs with.. <br class="">find <span style="font-variant-ligatures:no-common-ligatures" class="">/tier2/CSP/ans004&nbsp;</span> | xargs getfattr -d -m. -e hex<br class=""><br class=""></div><div class="">Meanwhile, If you are being impacted, you could do the following<br class="">back up quota limits <br class="">disable quota<br class="">enable quota<br class="">freshly set the limits.<br class=""><br class=""></div><div class="">Please capture the xattr values first, so that we can get to know what went wrong.<br class=""></div><div class="">Regards,<br class=""></div><div class="">Sanoj<br class=""></div><br class=""></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Tue, Jul 3, 2018 at 4:09 PM, Mauro Tridici <span dir="ltr" class="">&lt;<a href="mailto:mauro.tridici@cmcc.it" target="_blank" class="">mauro.tridici@cmcc.it</a>&gt;</span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class="">Dear Sanoj,<div class=""><br class=""></div><div class="">thank you very much for your support.</div><div class="">I just downloaded and executed the script you suggested.</div><div class=""><br class=""></div><div class="">This is the full command I executed:</div><div class=""><br class=""></div><div class=""><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">./quota_fsck_new.py --full-logs --sub-dir /tier2/CSP/ans004/ /gluster</span></div></div><div class=""><br class=""></div><div class="">In attachment, you can find the logs generated by the script.</div><div class="">What can I do now?</div><div class=""><br class=""></div><div class="">Thank you very much for your patience.</div><span class="HOEnZb"><font color="#888888" class=""><div class="">Mauro</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""></div></font></span></div><br class=""><div style="word-wrap:break-word" class=""><div class=""></div><div class=""><br class=""><div class=""><blockquote type="cite" class=""><div class="">Il giorno 03 lug 2018, alle ore 11:34, Sanoj Unnikrishnan &lt;<a href="mailto:sunnikri@redhat.com" target="_blank" class="">sunnikri@redhat.com</a>&gt; ha scritto:</div><br class="m_-4820292875394831812Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class=""><div class=""><div class=""><div class="">Hi Mauro, <br class=""></div><br class="">This may be an issue with update of backend xattrs. <br class="">To RCA further and provide resolution could you provide me with the logs by running the following fsck script.<br class=""><a href="https://review.gluster.org/#/c/19179/6/extras/quota/quota_fsck.py" target="_blank" class="">https://review.gluster.org/#/<wbr class="">c/19179/6/extras/quota/quota_<wbr class="">fsck.py</a><br class=""><br class=""></div>Try running the script and revert with the logs generated.<br class=""><br class=""></div>Thanks,<br class=""></div>Sanoj<br class=""><div class=""><div class=""><div class=""><br class=""></div></div></div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Mon, Jul 2, 2018 at 2:21 PM, Mauro Tridici <span dir="ltr" class="">&lt;<a href="mailto:mauro.tridici@cmcc.it" target="_blank" class="">mauro.tridici@cmcc.it</a>&gt;</span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class=""><div class="">Dear Users,</div><div class=""><br class=""></div><div class="">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 class="">Surfing on the web, it seems that it is a bug of previous versions of Gluster FS and it was already fixed.</div><div class="">In my case, the problem seems unfortunately still here.</div><div class=""><br class=""></div><div class="">How can I solve this issue? Is it possible to do it without starting a downtime period?</div><div class=""><br class=""></div><div class="">Thank you very much in advance,</div><div class="">Mauro</div><div class=""><br class=""></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">[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)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">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)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Repository revision: <a class="">git://git.gluster.org/glusterf<wbr class="">s.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)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Copyright (c) 2006-2016 Red Hat, Inc. &lt;<a href="https://www.gluster.org/" target="_blank" class="">https://www.gluster.org/</a>&gt;</span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">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)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">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)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">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)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">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)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">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)" class=""><span style="font-variant-ligatures:no-common-ligatures" class=""><br class=""></span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">[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)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Path &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Hard-limit&nbsp; Soft-limit&nbsp; &nbsp; &nbsp; Used&nbsp; Available&nbsp; 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)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">------------------------------<wbr class="">------------------------------<wbr class="">------------------------------<wbr class="">------------------------------<wbr class="">-------</span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class=""><font color="#b8b43b" class="">/CSP/ans004&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 1.0TB &nbsp; &nbsp; 99%(1013.8GB)&nbsp; &nbsp; </font><b class=""><font color="#ff2600" class="">3.9TB</font></b><font color="#b8b43b" class="">&nbsp; 0Bytes &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Yes&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 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)" class=""><span style="font-variant-ligatures:no-common-ligatures" class=""><br class=""></span></div><div style="margin:0px;line-height:normal;font-family:'Courier New';color:rgb(184,180,59);background-color:rgb(0,0,0)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">[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)" class=""><span style="font-variant-ligatures:no-common-ligatures" class=""><font color="#ff2600" class=""><b class="">295G</b></font><span class="m_-4820292875394831812m_-8075369099156815665Apple-tab-span" style="color:rgb(184,180,59);white-space:pre-wrap">        </span><font color="#b8b43b" class="">/tier2/CSP/ans004/</font></span></div><div class=""><span style="font-variant-ligatures:no-common-ligatures" class=""><br class=""></span></div><div class="">
<span class="m_-4820292875394831812m_-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_-4820292875394831812m_-8075369099156815665Apple-style-span" style="border-collapse:separate;font-family:Helvetica;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-variant-east-asian: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 class=""></div><br class=""></span></span>
</div>
<br class=""></div><br class="">______________________________<wbr class="">_________________<br class="">
Gluster-users mailing list<br class="">
<a href="mailto:Gluster-users@gluster.org" target="_blank" class="">Gluster-users@gluster.org</a><br class="">
<a href="http://lists.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" target="_blank" class="">http://lists.gluster.org/mailm<wbr class="">an/listinfo/gluster-users</a><br class=""></blockquote></div><br class=""></div>
</div></blockquote></div><br class=""></div></div></blockquote></div></div></div></blockquote></div><br class=""></body></html>