Solved

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

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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

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 how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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.

803 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