System Administration

How to set up, use and maintain disk quotas for your Linux system.
How Users Can Check Their Quotas

Every user or group can check their disk quota with the command quota. This command produces a report that contains information for all file systems listed in the /etc/fstab. Give the command quota -u (for user quota) or quota -g (for group quota) or a combination to obtain this information. If no quotas are set, the command quota -u results in the following output:

Disk quotas for dsnjaro (uid 503):none

If quotas have been set, the output looks like:

Disk quotas for user dsnjaro (uid 503):
File system blocks  quota  limit  grace  files  quota  limit grace
/dev/hda3   49   100   110       30    0    0
Only the system administrator can use either of the commands:
quota -u <
quota <-g <group-id>
Quota is working very well for me in my work, where there are approximately 300 users on our system.

Jan Rooijackers works at Ericsson Data Netherlands as an Information Systems Engineer. His first contact with Unix was in 1991 and with Linux in 1994. He likes to spend time with his family and his PCs. He can be reached via e-mail at Jan.Rooijackers@dsn.ericsson.se.

______________________

Geek Guide
The DevOps Toolbox

Tools and Technologies for Scale and Reliability
by Linux Journal Editor Bill Childers

Get your free copy today

Sponsored by IBM

Webcast
8 Signs You're Beyond Cron

Scheduling Crontabs With an Enterprise Scheduler
On Demand
Moderated by Linux Journal Contributor Mike Diehl

Sign up and watch now

Sponsored by Skybot