Search The Hostwinds Guides Knowledge Base

How to Modify Disk Quotas in Virtualmin

Disk quotas are a great way to ensure that everyone is getting their fair share of available disk space on a server. This function is especially helpful in a shared server environment or any server that has multiple users. A disk quota is essentially a limit that a server administrator can set that restricts specific parts of overall filesystem usage.

With Virtualmin, setting a disk quota is a fairly straightforward process, which we will cover in this article. This article implies that you have already installed Virtualmin, if you have not done so yet please take a look at the following article: How to install Virtualmin (CentOS 7).

To set a disk quota you’ll first need to login to your Virtualmin installation and have access to Webmin. If you’re not certain how to do this, please review the following article: How to login to Webmin. Once you’re logged in please review the following process to enable disk quotas.

 

  1. Click on the Webmin section
  2. Select the System option
  3. Click on the Disk Quotas module

 

Showing Disk Quotas Location in Virtualmin

 

  1. You should now see the Disk Quotas module interface which should look similar to the following

 

 

  1. You can choose to edit/list disk quotas using the following
    1. User – Edit and list disk quotas by User
    2. Group – Edit and list disk quotas by Group
    3. Both User and Group – List both User and Group quotas

 

 

  1. For the purpose of this article we will be editing quotas based on the User
    1. If you know the username you may enter it into the search box
    2. Alternatively you can click the user selection icon next to the search box

 

 

  1. Select the file system that you’d like to edit the quota on typically this will “/”
  2. Once you’re satisfied with your selection, select the Edit Quota On button

 

 

  1. In this interface you can set any disk quotas or limits that you see fit
  2. Once you’re satisfied click the Update button