Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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 have an ubuntu server. With a ext3 formatted filesystem. How can I limit a certain user to only be able to use X MB of disk space?

share|improve this question
up vote 6 down vote accepted
sudo apt-get install quota

This link or this link have nice tutorials on how to set up quota.

share|improve this answer

An alternative for one-off quota needs that does not depend on kernel quota support is to create a disk image and use a loopback mount to access it. This link shows how to do it.

share|improve this answer

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.