QUOTA

Hey all,

I'm running slakware 3.1 and kernel version 2.0.25.  I installed quota support when i installed the kernel and now I want to know how to use it :) I need to know the format of the quota.user file..  I think that is all I need..


Thankyou
Andrew
LVL 1
Q010797Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

q011097Commented:
In order to enable quotas on your machine, you will need to:

1) add 'usrquota' or 'grpquota' as a mount option to the filesystem.

If you do not specifiy otherwise (with usrquote=/etc/userquotas) then the quota data file will be located in the directory of the mounted file system closest to the root directory. caution there are limits to line length in fstab. The fault file names are quota.user and quota.group

from time to time, especially after any dirty remounts, you should run 'quotacheck -avug' to ensure the quota information is up to date.

2) You'll need to run quotaon -avug to actually enable the quotas. This should be added to your /etc/rc files.

3) editing the quota files. You shoudl eb able to  use the edquota command to edit the quota files.

All this assumed that the version of quota you are using on slackware is the same as that used in Debian. If it is not, I suggest you install the debian one. Debian packages tend to be a great deal more reliable.

You will need the quotatools package which should be included somewhere with slackware if you do not already have it installed.




0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Networking

From novice to tech pro — start learning today.