Re: Usage not updating in quotas

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



For what it's worth, I disabled quotas and re-enabled them. This of course caused the limits I had set to be erased and GlusterFS to re-run the find/stat on all bricks. Once it finished I was able to add a limit and it was finally accurate.

I'm still hoping someone can comment about this. Is it normal, what is the status of quotas in GlusterFS 8.x, is there maintenance I should do, etc?

Thank you,

On Thu, Sep 2, 2021 at 1:42 PM Alan Orth <alan.orth@xxxxxxxxx> wrote:
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@xxxxxxxxx> 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@xxxxxxxxx
https://picturingjordan.com
https://englishbulgaria.net
https://mjanja.ch
________



Community Meeting Calendar:

Schedule -
Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
Bridge: https://meet.google.com/cpu-eiue-hvk
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
https://lists.gluster.org/mailman/listinfo/gluster-users

[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux