tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Quota doesn't reflect current state
@ 1999-02-17 20:52 Martin Mokrejs
  0 siblings, 0 replies; only message in thread
From: Martin Mokrejs @ 1999-02-17 20:52 UTC (permalink / raw)
  To: tru64-unix-managers

Hello,
 we have 4.0D with the official DEC jumbo#3 patch installed over the BL11
pre-jumbo#3 release in Nov if I do remember.

1.
 The problem is that users can't write to some AdvFS domains, the error
message indicates that quota has been exceeded. However, if the user or
root issues 'quota -v -u username', the user doesn't seem to reach even
80% of the quota limit. Running 'quotacheck' or 'vquotacheck'.

2.
 It seems that it's not a good idea to enforce soft quota limits on /var
(including /var/spool/mail), because sendmail exceeds the soft quota,
doesn't know about any grace time period, and after few days the user 
cannot receive an email. How could I determine what is the
grace time period, how can I set the value of grace time?

3.
 I disabled soft quotas on all quota-enabled filesystems, thus only hard
quota limits are enabled. However, problems remain (see 1.).

4.
 So back to the problem mentioned in 1.

Disk quotas for user stemprok (uid 750): 
     Filesystem  blocks   quota   limit   grace   files   quota   limit   grace
              /       0       0       0               0       0       0        
       /scratch       0       0       0               0       0       0        
           /usr       0       0    1000               0       0       0        
          swap1       0       0       0               0       0       0        
          /home     622       0   12000              37       0       0        
           /var   14899       0   26000               5       0       0        

This user cannot write to /var/tmp. Why? quotacheck didn't help.
Could the behavior of quota's be related to kernel tuning? I believe not,
but that's the only I did few days ago.

Changing the quota limit on /var from 14899 to a bit more than twice than
14899 solved the problem. I thought both values are in 1kB blocks.
Either way, I suppose both 14899 and 26000 should be both blocks of same size
(i.e. ANY same size), so I'm stuck. But setting the limit to 29800 solves 
the problem.

/var: blocks in use: 14899, limits (soft = 0, hard = 29800)
        inodes in use: 5, limits (soft = 0, hard = 0)

5. What is the output format from repquota command. Before I disabled
soft limits I tried to understand those +- signs as well as those
grace time values - those are values of grace time remaining or left? 
I can't find it anywhere in manpages nor in 4.0D HTML doc.

6. Why does 'quota' show an asterisk '*' stating that the user has
exceeded soft quota and not also mean "The user is somehow over the
hard limit! Didn't you decrease the hard limit?". When user is over 
the hard limit and there's no soft limit for the user, the '*' is gone.

TIA
--
Martin Mokrejs - PGP 5.0i key at: finger://mail.natur.cuni.cz/mmokrejs
<mmokrejs@natur.cuni.cz> Faculty of Science, The Charles University

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

only message in thread, other threads:[~1999-02-17 20:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-02-17 20:52 Quota doesn't reflect current state Martin Mokrejs

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