Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

The lpic exam shows how to setup user disk quotas in the /etc/fstab.



/dev/fd0  /home/yann/mnt auto    rw,noauto,user,usrquota 0 0
/dev/hda5 /home     ext2    defaults,usrquota,grpquota 1 2

touch /mnt/aquota.user
touch /home/aquota.user
touch /home/aquota.group 
chmod 600  /mnt/aquota.user 
chmod 600  /home/aquota.user 
chmod 600  /home/aquota.group

It seems to me that a large organization with hundreds of users would need a more complex setup than editing fstab entries for each user.

Is this really how large organizations (like a university) would setup disk quotas?

Without going into specific product recommendations, are there alternative methods for restricting disk usage?

share|improve this question
To enable quota checking, you only edit fstab once for each filesystem, not once for each user. After that, use edquota or setquota to set up quotas for individual users. – Mark Plotnick Feb 5 '14 at 8:43

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.