From: "Ezequiel H. Panepucci" <zac () laplace ! csb ! yale ! edu>
To: tru64-unix-managers
Subject: quota
Date: Tue, 22 Feb 2000 02:45:10 +0000 [thread overview]
Message-ID: <96079336919548.tru64-unix-managers.marc@archive.invalid> (raw)
Hi There,
I have enabled quotas for a filesystem but it doesn't seem that it
gets enforced:
fstab has
/dev/disk/dsk5c /mnt/home ufs rw,userquota 0 0
I executed:
quotacheck /mnt/home
quotaon -au
I have edquota'd user "zac" :
##################################################################
Quotas for user zac:
/mnt/home: blocks in use: 2, limits (soft = 1000, hard = 3000)
inodes in use: 17, limits (soft = 0, hard = 0)
##################################################################
Then I have put files on his account and run quotacheck again
to update the control file "quota.user"
So now "quota zac" returns:
Filesystem blocks quota limit grace files quota limit grace
/mnt/home 4589* 0 3000 10days 17 0 0
I suppose I have passed all limits but I still can create files
as user zac.
Also, the man page for edquota says:
######## man page for edquota ##########
Setting a hard limit to 0 (zero) indicates that no quota should be imposed.
Setting a hard limit to 1 (one) indicates that no allocations should be
permitted. Setting a soft limit to 1 (one) with a hard limit of 0 (zero)
indicates that allocations should be permitted on only a temporary basis
(see the -t flag). The current usage information in the file is for
informational purposes; only the hard and soft limits can be changed.
########################################
I thought we were supposed to put the amount of blocks a user
is allowed to use. Acctually I thought the fluxogram for this was
IF hardlimit_exceeded THEN
do not allow creation of more files
ELSE IF softlimit_exceeded AND NOT graceperiod_exceeded THEN
allow creation of files
ELSE IF softlimit_exceeded AND graceperiod_exceeded THEN
do not allow creation of more files
ELSE
allow creation of files
END
My guess is that I don't understand quotas, could someone point me to
a tutorial?
Many thanks,
Zac
--
"The nice thing about standards is that you have so many to choose from."
-- Andrew S. Tanenbaum, _Computer Networks_, 2nd ed, p.254
--
| Ezequiel Panepucci (Zac) Molecular Biophysics & Biochemistry
| Scientific programmer Bass Center Room 437
| Office: 203-432-5066 266 Whitney Avenue
| FAX: 203-432-6946 Yale University
| mailto:zac@laplace.csb.yale.edu New Haven, CT 06511, USA.
| http://atb.csb.yale.edu/~zac
next reply other threads:[~2000-02-22 2:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-02-22 2:45 Ezequiel H. Panepucci [this message]
-- strict thread matches above, loose matches on Subject: below --
1999-05-13 19:23 Quota Gustavo Cruz Parra
1997-08-07 17:21 QUOTA Nuria Guizar Grau
1995-12-09 19:52 quota Murat Balci
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox