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:
# ps auxw | grep stat
root 5875 0.0 0.0 112812 976 pts/0 S+ 13:28 0:00 grep
--color=auto stat
root 19846 3.9 0.0 121804 2624 ? S Aug31 52:49
/usr/bin/find . -exec /usr/bin/stat {} \ ;
root 19856 3.1 0.0 121784 2536 ? S Aug31 42:02
/usr/bin/find . -exec /usr/bin/stat {} \ ;
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:
# ./quota_fsck.py --sub-dir aorth --fix-issues /mnt/homes-quota-fix
/data/glusterfs/sdc/homes
MARKING DIRTY: /data/glusterfs/sdc/homes/aorth
stat on /mnt/homes-quota-fix/aorth
Files verified : 9160
Directories verified : 4670
Objects Fixed : 2920
MARKING DIRTY: /data/glusterfs/sdc/homes/aorth
stat on /mnt/homes-quota-fix/aorth
Files verified : 9160
Directories verified : 4670
Objects Fixed : 3487
MARKING DIRTY: /data/glusterfs/sdc/homes/aorth
stat on /mnt/homes-quota-fix/aorth
Files verified : 9160
Directories verified : 4670
Objects Fixed : 3486
What's going on here?
Thank you for any help...
On Wed, Sep 1, 2021 at 10:41 AM Alan Orth <alan.orth at gmail.com> wrote:
> Dear list,
>
> 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.
>
> GlusterFS version 8.5 on CentOS 7. How can I force the quotas to update?
>
> Thank you,
>
> --
> Alan Orth
> alan.orth at gmail.com
> https://picturingjordan.com
> https://englishbulgaria.net
> https://mjanja.ch
>
--
Alan Orth
alan.orth at gmail.com
https://picturingjordan.com
https://englishbulgaria.net
https://mjanja.ch
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.gluster.org/pipermail/gluster-users/attachments/20210902/4af1d157/attachment.html>