View previous topic :: View next topic |
Author |
Message |
dju` Retired Dev
Joined: 11 Feb 2003 Posts: 370
|
Posted: Tue Sep 30, 2003 9:45 pm Post subject: quotas : can't set grace time ? |
|
|
Hi, i'm trying to enable quotas on an ext3 fs. everything seems to be fine, excepted for the grace time. when i do edquota -a, i see this :
Code: | Grace period before enforcing soft limits for users:
Time units may be: days, hours, minutes, or seconds
Filesystem Block grace period Inode grace period
/dev/hda7 8days 0days |
but when i'm logged as my test user, and i run quota, i see :
Code: | Disk quotas for user test (uid 1005):
Filesystem blocks quota limit grace files quota limit grace
/dev/hda7 136 200 250 35 0 0 |
as you can see, there is a blank for grace times. as a result, when i reach the block soft limit, i can't write more to the disk, even if the hard limit isn't reached. warnquota can't mail me because my maildir is on the fs which has quotas, and my mta can't send the mail to warn for quotas.
1- how could i avoid this and let my user reach the hard limit ?
2- are 0days and 0 soft/hard limits for inodes meaning that i don't want to have quotas for inodes ? is my configuration correct for that ?
3- quotacheck -avu should be in root's crontab. but it says it can't remount /home read only to check, this is probably due to nfs sharing and/or postfix. what could i do to regularely check the fs that contains /home ? |
|
Back to top |
|
|
jasonmaier n00b
Joined: 18 Jul 2002 Posts: 16
|
Posted: Wed Oct 29, 2003 3:14 pm Post subject: some relaterd problem, quota docu missing |
|
|
hey,
i have some probs with quota, too. i use it on an lvm-reiser device.
stats:
- module quota_v2 is loaded, file aquota.user is on the root of the quota-file-system.
- repquota -a shows quota for user, edquota -t grace period is set to 0seconds
- /etc/init.d/quota is startet
problem: users test can still write megabytes even if hard-block-limit is !1 block, repquota doesnt update users used block.
my questions:
-how can i prevent the user to write more than his hard-block-limit?
-does quota update used-blocks by itself, while a user is writing, and does it say to the user "stop, you dont have spare disk space"?
- is there any documentation that is more detailed than quota-mini-howto? |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|