User Disk Quota in Linux using Webmin- essentials for Hosting Web Hosting Platform Rumi, May 23, 2008 Quotas on Linux are tricky, not because they are difficult to setup, but because they are so poorly documented, and what documentation exists is more often than not incorrect to the point of not working. If you are using a relatively recent Linux version, the following instructions should work without difficulty. Prior to Linux Installation: Yes, a major & key point in Linux Partition is /home directory. VHost is widely setup on almost all control panel mechanism on /home location, since – Users & Groups – FTP server – User shell – Apache and all that other directives are constructed on this /home partition So, home should be created as a Logical Volume on a Linux native File system (ext3). In my later section, I’d assume there is already a /home partition (and it’d also wise to have this partition as much disk space as you want to give away to your clients. Because, even mails and even mysql data will also be stored in this volume. Step-1 System > Disk & Network Filesystems On the System > Disk & Network Filesystem you’ll get something like this- On the “Mounted As” column select “/home” to go to next screen which is similar as below- Down below to “ext2/ext3 specific options section” look for the options “Use Quotas?” and select “User and Group” from the drop down menu. Click “SAVE” and you’re almost done! Step-2 System > Disk Quotas Once you completed the above step, you should find something similar like- On “Action” column, click “Enable Quotas” You’re done! And that’s it! I’m sorry nothing more to do. Are Quotas Working? To test to be sure your quotas are actually enabled, you can use the “repquota /home” utility to see what the current quota usage looks like. It should looke something like this: Configurations (Linux) Networking