Solved

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

Posted on 1998-10-14
3
294 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
  • 2
3 Comments
 
LVL 1

Accepted Solution

by:
jreese earned 10 total points
Comment Utility
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
Comment Utility
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
Comment Utility
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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Notice: Undefined variable 5 54
change time in cron 4 38
Block sender e-mail address in Postfix 4 38
Oracle 12c patching 1 30
Currently, there is not an RPM package available under the RHEL/Fedora/CentOS distributions that gives you a quick and easy way to allow PHP to interface with Oracle. As a result, I have included a set of instructions on how to do this with minimal …
If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
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.

743 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now