<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="">I hope that the crawl will run at most for a couple of days.</div><div class="">Do you know if there is a way to solve the issue definitely ?</div><div class=""><br class=""></div><div class="">GlusterFS version is 3.12.14.</div><div class="">You can find below some additional info.</div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-stretch: normal; font-size: 16px; line-height: normal; font-family: "Courier New"; color: rgb(170, 168, 46); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Volume Name: tier2</span></div><div style="margin: 0px; font-stretch: normal; font-size: 16px; line-height: normal; font-family: "Courier New"; color: rgb(170, 168, 46); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Type: Distributed-Disperse</span></div><div style="margin: 0px; font-stretch: normal; font-size: 16px; line-height: normal; font-family: "Courier New"; color: rgb(170, 168, 46); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Volume ID: a28d88c5-3295-4e35-98d4-210b3af9358c</span></div><div style="margin: 0px; font-stretch: normal; font-size: 16px; line-height: normal; font-family: "Courier New"; color: rgb(170, 168, 46); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Status: Started</span></div><div style="margin: 0px; font-stretch: normal; font-size: 16px; line-height: normal; font-family: "Courier New"; color: rgb(170, 168, 46); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Snapshot Count: 0</span></div><div style="margin: 0px; font-stretch: normal; font-size: 16px; line-height: normal; font-family: "Courier New"; color: rgb(170, 168, 46); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Number of Bricks: 12 x (4 + 2) = 72</span></div><div style="margin: 0px; font-stretch: normal; font-size: 16px; line-height: normal; font-family: "Courier New"; color: rgb(170, 168, 46); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Transport-type: tcp</span></div></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div class=""><div>Many thanks,</div><div>Mauro</div><div><br class=""><blockquote type="cite" class=""><div class="">On 22 Jul 2019, at 09:16, Hari Gowtham <<a href="mailto:hgowtham@redhat.com" class="">hgowtham@redhat.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Hi,<br class="">Yes the above mentioned steps are right.<br class="">The way to find if the crawl is still happening is to grep for<br class="">quota_crawl in the processes that are still running.<br class=""># ps aux | grep quota_crawl<br class="">As long as this process is alive, the crawl is happening.<br class=""><br class="">Note: crawl does take a lot of time as well. And it happens twice.<br class=""><br class="">On Fri, Jul 19, 2019 at 5:42 PM Mauro Tridici <<a href="mailto:mauro.tridici@cmcc.it" class="">mauro.tridici@cmcc.it</a>> wrote:<br class=""><blockquote type="cite" class=""><br class="">Hi Hari,<br class=""><br class="">thank you very much for the fast answer.<br class="">I think that the we will try to solve the issue disabling and enabling quota.<br class="">So, if I understand I have to do the following actions:<br class=""><br class="">- save on my notes the current quota limits;<br class="">- disable quota using "gluster volume quota /tier2 disable” command;<br class="">- wait a while for the crawl (question: how can I understand that crawl is terminated!? how logn should I wait?);<br class="">- enable quota using "gluster volume quota /tier2 enable”;<br class="">- set again the previous quota limits.<br class=""><br class="">Is this correct?<br class=""><br class="">Many thanks for your support,<br class="">Mauro<br class=""><br class=""><br class=""><br class="">On 19 Jul 2019, at 12:48, Hari Gowtham <<a href="mailto:hgowtham@redhat.com" class="">hgowtham@redhat.com</a>> wrote:<br class=""><br 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 <<a href="mailto:mauro.tridici@cmcc.it" class="">mauro.tridici@cmcc.it</a>> wrote:<br class=""><br 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 Type Size Used Avail Use% Mounted on<br class="">s01-stg:tier2 fuse.glusterfs 25T 22T 3.5T 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=""><br class=""><br class=""><br class=""><br class="">--<br class="">Regards,<br class="">Hari Gowtham.<br class=""><br class=""><br class=""><br class=""></blockquote><br class=""><br class="">-- <br class="">Regards,<br class="">Hari Gowtham.<br class=""></div></div></blockquote></div><br class="">
<br class=""></div></body></html>