From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96079036515760.tru64-unix-managers.marc@archive.invalid> From: Martin Mokrejs Date: Wed, 17 Feb 1999 20:52:09 +0000 To: tru64-unix-managers Subject: Quota doesn't reflect current state X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96079036515760 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 Faculty of Science, The Charles University