Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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

Source
http://en.wikibooks.org/wiki/LPI_Linux_Certification/Managing_Disk_Quota

Example

/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 at 8:43

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.