• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 306
  • Last Modified:

How to set Quota ??? HELP !!! URGENT !!!

Could anyone tell me how to set quota??

well, I have this in my configuration
/etc/fstab
/dev/hda2    /    ext2    defaults,grpquota,usrquota    1 1
and have quota.user and quota.group resides in / and /home
when I type quotaon -avug
nothing showed up
when I type quotacheck -avug
nothing showed up
when I typed repquota -a
nothing showed up
-sigh-...
I reboot, nothing special....
edquota -u user1
after I typed in everything.... :wq
still nothing happen.. and login as user1, type quota -ug, ha... quota
for user1 :none

What's wrong?? I really dunno....

Please help me. Thanks in advance.

0
louisalex
Asked:
louisalex
  • 2
1 Solution
 
jreeseCommented:
For detailed info, check out http://www.localnet.com.au/LDP/HOWTO/mini/Quota-4.html.

In brief:

Make sure you have quota support compiled into your kernel. I think this is probably why nothing is happening.

Hope that helps,

0
 
louisalexAuthor Commented:
I have set the kernel. But still nothing happen...
When I edquota -u user1
it only shows:
Quotas for user user1:
~
that's all. Then I typed in manually all the stuffs same as the Mini-HowTo, is it just press <Esc> to the normal mode, type :wq to save and exit, that's all? Or I have to save as other file like :wq! {quota.user} ??

and when I check quota for other user1 by typing quota user1
it shows quota for user1(UID xxx): 0
why?
nothing changed....... please help me.... how to see if the quota is enabled in Kernel. I use the make menuconfig, type Y to the quota....and reboot...
nothing happens....
Please help me ......furthermore, how to set quota for user email account? Like not more than 2MB of mail to be stored? Because I am scared of someone bom my user email ...
Anyway, thanks in advance !!... Help... anybody out there.....Please......
0
 
louisalexAuthor Commented:
I solved the quota thing now.... Thanks guys.... something wrong with my fstab file... they are wrapped to 2 lines....
But anyway... please tellme how to set mail quotas...
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now