For When You Can't Have The Real Thing
[ start | index | login ]
start > Linux > Disk Quotas

Disk Quotas

Created by dave. Last edited by dave, 11 years and 323 days ago. Viewed 2,913 times. #3
[diff] [history] [edit] [rdf]

Linux Disk Quotas

Add the quota options to the vfstab:

LABEL=/home       /home              ext3    defaults,usrquota,grpquota 1 2

Remount the filesystem (rebooting will work).

Initialize the quotas:

# quotacheck -avcmug

Edit quotas:

# edquota user
# edquota -g group

Report disk usage:

# repquota /filesystem

Periodically you should check things to make sure they are OK (ie from cron):

# quotacheck -avmug

As always, man is your friend.

no comments | post comment
This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful: | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt