View previous topic :: View next topic |
Author |
Message |
Antonioac n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 04 Apr 2004 Posts: 29
|
Posted: Sun Apr 04, 2004 8:12 am Post subject: quotas not doing anything |
|
|
I have set up quotas on a 40GB ext2 partition following the gentoo security guide. There's one user account currently with a home directory on this drive, and I want to limit their usage, for testing, I set the user's hard limit to 6.5 MB's and the soft limit to 5 MB's with a grace period of 10 seconds. After copying 65 MB's+ of data, and re-running quotacheck -avug, this is the output of repquota -a:
*** Report for user quotas on device /dev/hdb5
Block grace time: 00:00; Inode grace time: 7days
Block limits File limits
User used soft hard grace used soft hard grace
----------------------------------------------------------------------
root -- 28 0 0 4 0 0
mewa +- 97260 5000 6500 none 26 0 0
(what's the +-?)
I'm not sure why it says I have no grace time, I clearly put it to 10seconds:
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/hdb5 10seconds 7days
output of quotacheck -avug:
quotacheck: Scanning /dev/hdb5 [/mnt/users] done
quotacheck: Checked 6 directories and 25 files
quotaon doesn't seem to work either:
quotaon: using /mnt/users/quota.user on /dev/hdb5 [/mnt/users]: Function not implemented
nor does quotaoff:
quotaoff: quotactl on /dev/hdb5 [/mnt/users]: Function not implemented
It seems all this whole quota thing does is tell you how much space was intended for a quota, and how much space the quota is actually takiing up, without doing anything about it, which is pretty useless... please help
thanks |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Chris W l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/gallery/Simpsons/Simpsons_-_Ralph.jpg)
Joined: 25 Jun 2002 Posts: 972 Location: Brisbane, Australia
|
Posted: Sun Apr 04, 2004 10:23 am Post subject: |
|
|
Looks like quota support is not built into the kernel, or the kernel has not been installed and the machine rebooted. _________________ Cheers,
Chris W
"Common sense: The collection of prejudices acquired by age 18." -- Einstein |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Antonioac n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 04 Apr 2004 Posts: 29
|
Posted: Sun Apr 04, 2004 3:07 pm Post subject: Disk quota now works! |
|
|
ooooh, I forgot to copy the kernel after compiling.... but now it works! THANKS!! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
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
|
|