Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

2 Answers 2

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

 
discard

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.