quotas problem on 4.11/UFS

Nicolas KOWALSKI Nicolas.Kowalski at imag.fr
Fri Mar 24 15:15:29 UTC 2006


Bruce Evans <bde at zeta.org.au> writes:

> On Fri, 24 Mar 2006, Nicolas KOWALSKI wrote:

>> However, the filesystem does not have any files belonging to some
>> user with a large or -2 uid. I checked it, and even "quotacheck -v"
>> does not show anything like that; our current uids goes from 0 to
>> 6000 max, and only these appear in the repquota result.
>
> Perhaps it had them but there were none when you checked. I think
> the quota file doesn't shrink if slots at the end of int become
> unused.

Hm, that is what probably happenned.

> Files with a uid of -2 are created on nfs clients if root is not
> mapped and root creates a file. I see quite a lot of them due to
> having a world-writeable /c/tmp directory and using it as root on
> the client.

I just reconfigured /etc/exports to force root mapping to some
"cleaner and known" uid/gid. 


Many Thanks for your tips, ideas and explanations !

Best regards,
-- 
Nicolas


More information about the freebsd-fs mailing list