<div dir="ltr"><div>Yesterday I noticed that there were still several find / stat processes running on this node (there are two bricks for this volume on this host) after enabling quotas:</div><div><br></div><div># ps auxw | grep stat<br>root 5875 0.0 0.0 112812 976 pts/0 S+ 13:28 0:00 grep --color=auto stat<br>root 19846 3.9 0.0 121804 2624 ? S Aug31 52:49 /usr/bin/find . -exec /usr/bin/stat {} \ ;<br>root 19856 3.1 0.0 121784 2536 ? S Aug31 42:02 /usr/bin/find . -exec /usr/bin/stat {} \ ;</div><div><br></div><div>I waited for them to finish, but my quota information is still incorrect for the two directories I have enabled it on. I ran the quota_fsck.py script on two different hosts and every time it runs it has a different number of objects fixed:</div><div><br></div><div># ./quota_fsck.py --sub-dir aorth --fix-issues /mnt/homes-quota-fix /data/glusterfs/sdc/homes<br><br>MARKING DIRTY: /data/glusterfs/sdc/homes/aorth<br>stat on /mnt/homes-quota-fix/aorth<br>Files verified : 9160<br>Directories verified : 4670<br>Objects Fixed : 2920<br><br>MARKING DIRTY: /data/glusterfs/sdc/homes/aorth<br>stat on /mnt/homes-quota-fix/aorth<br>Files verified : 9160<br>Directories verified : 4670<br>Objects Fixed : 3487<br><br>MARKING DIRTY: /data/glusterfs/sdc/homes/aorth<br>stat on /mnt/homes-quota-fix/aorth<br>Files verified : 9160<br>Directories verified : 4670<br>Objects Fixed : 3486</div><div><br></div><div>What's going on here?<br></div><div><br></div><div>Thank you for any help...<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Sep 1, 2021 at 10:41 AM Alan Orth <<a href="mailto:alan.orth@gmail.com" target="_blank">alan.orth@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Dear list,</div><div><br></div><div>I enabled quotas and set hard limits for several directories on a distribute–replicate replica 2 volume yesterday. After setting the limits I did a du, a find/stat, and a recursive ls on the paths on the FUSE mount. The usage reported in `gluster volume quota <volume> list` initially began to update, but now it's been about twelve hours and the reported usage is still much lower than actual usage.<br></div><div><br></div><div>GlusterFS version 8.5 on CentOS 7. How can I force the quotas to update?<br></div><div><br></div><div>Thank you,<br></div><div><br>-- <br><div dir="ltr"><div dir="ltr"><div>Alan Orth<br><a href="mailto:alan.orth@gmail.com" target="_blank">alan.orth@gmail.com</a><br><a href="https://picturingjordan.com" target="_blank">https://picturingjordan.com</a><br><a href="https://englishbulgaria.net" target="_blank">https://englishbulgaria.net</a><br><a href="https://mjanja.ch" target="_blank">https://mjanja.ch</a></div></div></div></div></div>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr"><div dir="ltr"><div>Alan Orth<br><a href="mailto:alan.orth@gmail.com" target="_blank">alan.orth@gmail.com</a><br><a href="https://picturingjordan.com" target="_blank">https://picturingjordan.com</a><br><a href="https://englishbulgaria.net" target="_blank">https://englishbulgaria.net</a><br><a href="https://mjanja.ch" target="_blank">https://mjanja.ch</a></div></div></div>