tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Summary: large quota.users - but quotas not on?
@ 1997-01-29  7:27 Craig Silva
  0 siblings, 0 replies; only message in thread
From: Craig Silva @ 1997-01-29  7:27 UTC (permalink / raw)
  To: tru64-unix-managers

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@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@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@vichealth.vic.gov.au, Tel: 61 3 9345 3211
Post: PO Box 154, Carlton Sth Victoria. 3053. Australia
---------------------------------------------------------

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1997-01-29  7:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-01-29  7:27 Summary: large quota.users - but quotas not on? Craig Silva

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox