The response was surprisingly quick thank you.
Summary: use du -s filename to reassure yourself ;->
Original question:
Can anyone tell me why I have quota.users and quota.groups
at the top of my file systems yet I don't have quotas
turned on in fstab?
These responses came in:
from: "Alan Rollow - Dr. File System's Home for Wayward Inodes." <alan_at_nabeth.cxo.dec.com>
You're using AdvFS, right? I think it always creates the
quota files. The entries in this file are indexed by UID,
where it treats the UID as an unsigned integer. When you
have UID -2 defined (NFS's "nobody") that creates a large
positive number. The good news is that the allocated size
of the file should be much less than the byte size. Like
UFS, the file system supports creating holes that read as
NULs, but don't allocate any data. The intervening blocks
between the last positive UID and -2 are left unallocated.
from: Eric Bennett <bennett_at_hpel.cees.edu>
However, the unused spaces are created as "holes" in the file. Unless
you actually have that many user ids most of the logical space in the
file consumes no disk. du -s will report the actual space consumed by
the file. Here our user ids are mostly between 4000 and 4300.
quota.user has a logical size of 2097152 but actually consumes only 40K.
---------------------------------------------------------
Craig Silva, Electronic Outreach Program Officer
Victorian Health Promotion Foundation, Melbourne Australia
e-mail: csilva_at_vichealth.vic.gov.au, Tel: 61 3 9345 3211
Post: PO Box 154, Carlton Sth Victoria. 3053. Australia
---------------------------------------------------------
Received on Wed Jan 29 1997 - 07:42:49 NZDT