<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi Hari,<div class=""><br class=""></div><div class="">thank you very much for the fast answer.</div><div class="">I think that the we will try to solve the issue disabling and enabling quota.</div><div class="">So, if I understand I have to do the following actions:</div><div class=""><br class=""></div><div class="">- save on my notes the current quota limits;</div><div class="">- disable quota using "gluster volume quota /tier2 disable” command;</div><div class="">- wait a while for the crawl (question: how can I understand that crawl is terminated!? how logn should I wait?);</div><div class="">- enable quota using &nbsp;"gluster volume quota /tier2 enable”;</div><div class="">- set again the previous quota limits.</div><div class=""><br class=""></div><div class="">Is this correct?</div><div class=""><br class=""></div><div class="">Many thanks for your support,</div><div class="">Mauro</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 19 Jul 2019, at 12:48, Hari Gowtham &lt;<a href="mailto:hgowtham@redhat.com" class="">hgowtham@redhat.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Hi Mauro,<br class=""><br class="">The fsck script is the fastest way to resolve the issue.<br class="">The other way would be to disable quota and once the crawl for disable<br class="">is done, we have to enable and set the limits again.<br class="">In this way, the crawl happens twice and hence its slow.<br class=""><br class="">On Fri, Jul 19, 2019 at 3:27 PM Mauro Tridici &lt;<a href="mailto:mauro.tridici@cmcc.it" class="">mauro.tridici@cmcc.it</a>&gt; wrote:<br class=""><blockquote type="cite" class=""><br class="">Dear All,<br class=""><br class="">I’m experiencing again a problem with gluster file system quota.<br class="">The “df -hT /tier2/CSP/sp1” command output is different from the “du -ms” command executed against the same folder.<br class=""><br class="">[root@s01 manual]# df -hT /tier2/CSP/sp1<br class="">Filesystem &nbsp;&nbsp;&nbsp;&nbsp;Type &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Size &nbsp;Used Avail Use% Mounted on<br class="">s01-stg:tier2 &nbsp;fuse.glusterfs &nbsp;&nbsp;25T &nbsp;&nbsp;22T &nbsp;3.5T &nbsp;87% /tier2<br class=""><br class="">[root@s01 sp1]# du -ms /tier2/CSP/sp1<br class="">14TB /tier2/CSP/sp1<br class=""><br class="">In the past, I used successfully the quota_fsck_new-6.py script in order to detect the SIZE_MISMATCH occurrences and fix them.<br class="">Unfortunately, the number of sub-directories and files saved in /tier2/CSP/sp1 grew so much and the list of SIZE_MISMATCH entries is very long.<br class=""><br class="">Is there a faster way to correct the mismatching outputs?<br class="">Could you please help me to solve, if it is possible, this issue?<br class=""><br class="">Thank you in advance,<br class="">Mauro<br class=""><br class=""><br class=""><br class=""><br class=""><br class=""><br class=""><br class="">_______________________________________________<br class="">Gluster-users mailing list<br class=""><a href="mailto:Gluster-users@gluster.org" class="">Gluster-users@gluster.org</a><br class="">https://lists.gluster.org/mailman/listinfo/gluster-users<br class=""></blockquote><br class=""><br class=""><br class="">-- <br class="">Regards,<br class="">Hari Gowtham.<br class=""></div></div></blockquote></div><br class=""><div class="">
<div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;"><br class=""></div></div></div></div></body></html>