7.5. Setting Quotas for a User or Group

The quotas for a user or group can be set or changed at any time on a filesystem that currently has quotas enabled of the correct type. By default, any user or group whose quotas have not yet been set will have no limits at all and thus be able to use up all the disk space on the filesystem.

To set quotas for a user, follow these steps:

1.
From the list of filesystems on the main page of the module, click on the mount point of one on which you want to edit quotas. This will take you to a page listing the quotas for all users on the filesystem, as shown in Figure 7.2.

Figure 7.2. The list of users and their quotas.


2.
Click on the name of the user you want to edit under the User column, or enter the username into the Edit Quota For field and press the button. Both will take you to a form containing the user's current quota settings and blocks and files used, as shown in Figure 7.3.

Figure 7.3. The user quota form.


3.
Set the Soft Block Limit and Hard Block Limit fields to the number of blocks to which you want to limit the user, or select Unlimited to not impose any limit. On most filesystems, each block will be 1 kB in size, but this not necessarily always the case.

4.
Set the Soft File Limit and Hard File Limit fields to the number of files that you want to limit the user to owning.

5.
Click the Update button. The new quota settings will take effect immediately.

The procedure for setting group quotas is almost identical. If a filesystem has both user and group quotas enabled, the main page of the module will have two links for each filesystem—one for users, and one for groups.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.133.157.142