<div dir="ltr"><div>Hi Mauro,<br><br>A script issue did not capture all necessary xattr. <br>Could you provide the xattrs with.. <br>find <span style="font-variant-ligatures:no-common-ligatures">/tier2/CSP/ans004 </span> | xargs getfattr -d -m. -e hex<br><br></div><div>Meanwhile, If you are being impacted, you could do the following<br>back up quota limits <br>disable quota<br>enable quota<br>freshly set the limits.<br><br></div><div>Please capture the xattr values first, so that we can get to know what went wrong.<br></div><div>Regards,<br></div><div>Sanoj<br></div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jul 3, 2018 at 4:09 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">Dear Sanoj,<div><br></div><div>thank you very much for your support.</div><div>I just downloaded and executed the script you suggested.</div><div><br></div><div>This is the full command I executed:</div><div><br></div><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">./quota_fsck_new.py --full-logs --sub-dir /tier2/CSP/ans004/ /gluster</span></div></div><div><br></div><div>In attachment, you can find the logs generated by the script.</div><div>What can I do now?</div><div><br></div><div>Thank you very much for your patience.</div><span class="HOEnZb"><font color="#888888"><div>Mauro</div><div><br></div><div><br></div><div></div></font></span></div><br><div style="word-wrap:break-word"><div></div><div><br><div><blockquote type="cite"><div>Il giorno 03 lug 2018, alle ore 11:34, Sanoj Unnikrishnan <<a href="mailto:sunnikri@redhat.com" target="_blank">sunnikri@redhat.com</a>> ha scritto:</div><br class="m_-4820292875394831812Apple-interchange-newline"><div><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" target="_blank">https://review.gluster.org/#/<wbr>c/19179/6/extras/quota/quota_<wbr>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/glusterf<wbr>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)"><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_-4820292875394831812m_-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_-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></div><br></span></span>
</div>
<br></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://lists.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" target="_blank">http://lists.gluster.org/mailm<wbr>an/listinfo/gluster-users</a><br></blockquote></div><br></div>
</div></blockquote></div><br><div>
<span class="m_-4820292875394831812Apple-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_-4820292875394831812Apple-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><br class="m_-4820292875394831812Apple-interchange-newline">-------------------------</div><div>Mauro Tridici</div><div><br></div><div>Fondazione CMCC</div><div>CMCC Supercomputing Center</div><div>presso Complesso Ecotekne - Università del Salento -</div><div>Strada Prov.le Lecce - Monteroni sn</div><div>73100 Lecce IT</div><div><a href="http://www.cmcc.it" target="_blank">http://www.cmcc.it</a></div><div><br></div><div>mobile: (+39) 327 5630841</div><div>email: <a href="mailto:mauro.tridici@cmcc.it" target="_blank">mauro.tridici@cmcc.it</a></div></span></span>
</div>
<br></div></div><br></blockquote></div><br></div>