Server Fault is a question and answer site for system and network administrators. 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

I want to set home directory limit of 10GB for all users in Ubuntu. Can anyone tell me how could I do that?

share|improve this question

Here is a tutorial for setting up user and group quotas on Linux.

share|improve this answer

For clarification, do you want your home directory in total to have a 10GB limit? Or do you require each user individually to have a 10G limit for their respective home directories?

Some how-to's which should help you with both scenarios:

Debian, quick rundown:

Centos based, but thorough clear and easy to follow

share|improve this answer
I want to set a 10GB limit for individual user in Ubuntu. – Charly Jan 26 '10 at 13:46
Charly, The tutorials/docs I listed are what you are looking to follow. To sum up the process to set user quotas: 1. In your /etc/fstab, add "usrquota,grpquota" to the options for the partition you are looking to enable quota on. 2. Create the quota files by: # touch /aquota.user && touch / && chmod 600 /aquota.* 3. Remount your file system with new options: # mount -o remount / (partition modified in fstab) 4. Turn on quotas # quotaon -av 5. Edit individual quotas with the 'edquota' command. You will be editing the 'soft' and 'hard' limits ( 10240000 will be 10gb) – Joe Jan 26 '10 at 22:46

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.