Solved

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

Posted on 1998-10-14
3
301 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 10 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

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

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

Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

695 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