Solved quotacheck and unknown uid

Hello,

I've got quota set on /var filesystem (UFS) for /var/mail/<users> to get max 500M for users mboxes.

I removed user with uid 1158 using:
rmuser -y username
After that the following command returns:

# quotacheck -v /var
*** Checking user and group quotas for /dev/gpt/varfs (/var)
unknown uid: 1158

How can I get rid of this unknown uid: 1158?
I tried to remove both quota.user and quota.group files, then rebuild those, but it does not help.
I have got FreeBSD 14.1-RELEASE
Thanks :)
 
On a 14.1 test system it disappears by itself.

There is some sort of inodes reclaim(?)/reset(?) happening, I don't know.

quota.png
 
Thanks :)
Indeed there was directory left owned by user with uid 1158 in /var/mail/.indexes/
Solved!
 
Back
Top