?
Solved

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

Posted on 1998-10-14
3
Medium Priority
?
302 Views
Last Modified: 2013-12-15
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
Comment
Question by:louisalex
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 1

Accepted Solution

by:
jreese earned 20 total points
ID: 1631058
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
 

Author Comment

by:louisalex
ID: 1631059
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
 

Author Comment

by:louisalex
ID: 1631060
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

A new era in Cloud training has arrived.

A day that will go down in Cloud history.. But are you ready for it? Will you accept this Cloud challenge?

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses
Course of the Month15 days, 2 hours left to enroll

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question