LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   How To Create Disk Space Quota (https://www.linuxquestions.org/questions/linux-server-73/how-to-create-disk-space-quota-810133/)

JustinK101 05-26-2010 12:09 AM

How To Create Disk Space Quota
 
What is the best way to create a hard (OS) quota on disk space folders? Basically in web root folder /var/www/lighttpd I have a folder called domains. I want to set a quota on each domain folder. The quota sizes will vary per folder. Is there a way to do this without creating a user for every domain? Currently every folder is owned by the lighttpd user and group. Would like to keep it that way. Running CentOS5. Thanks.

datopdog 05-26-2010 12:36 AM

You have to create users for each domain the filesystem tracks quota's based on uid or gid.

vikas027 05-26-2010 01:28 AM

These links may help you out.

http://www.linuxtopia.org/online_boo...sk-quotas.html
http://www.linuxdoc.org/HOWTO/mini/Quota.html
http://vglug.info/warnquota-howto-li...dora-12-rhel-5


All times are GMT -5. The time now is 07:55 AM.