When modifying a quota, you can view quota accounting for each user and group and use it to help you decide what quota rules to set.
Click to open the Actions menu for the quota and select Edit.
Make any changes you want to make in the Directory Quota, User Rules and Group Rules tabs (see Creating Quotas).
If you want to view the current usage in the directory before you set quotas, select the User Accounting tab to see usage per user and/or the Group Accounting tab to see usage per group.
If you want to make changes to user and group rules without looking at the accounting, skip to step 5.
On the User Accounting tab or the Group Accounting tab, a list of query results is displayed. The list shows you all users/groups that own files/directories in the quota directory.
To filter the list: enter a text string into the Search field at the top of the User or Group column or the State column. The list is filtered responsively as you type. (Do not hit ENTER when searching, since that will create the quota immediately.)
The following information is displayed for each user or group:
To edit/add/remove user rules, select the User Rules tab. To edit/add/remove group rules, select the Group Rules tab.
If a default rule is configured, it is used as a default for any user. Other rules apply to specific users. The following fields are specified for each rule:
For non default rules only. The name of the user or group.
The capacity usage limit per user, at which warnings of exceeding the quota are issued.
The capacity usage limit beyond which no writes will be allowed for the user.
The value must be a complete integer and must be specified with a unit of measurement. Do not insert a space between the value and the unit of measurements. Valid units are:
The units are case-insensitive. For example:
Soft limit files/directories
This is a limit on the number of directories and unique files in the quota directory that the user can create, which is not enforced until the grace period is reached.
If the user exceeds this limit, a warning is sent by email unless alarms are disabled. A file with multiple hardlinks is counted only once.
Hard limit files/directories
Number of directories and unique files under the path beyond which no writes will be allowed for the user.
A file with multiple hardlinks is counted only once.
Set this value to trigger an alarm and block write operations to the directory if the user's usage continues to exceed the soft limit for a specified time period.
If the grace period is not set, writes are only blocked if and when usage reaches the hard limit.
Specify the grace period in the format:
[DD] [HH:[MM:]]ss. Examples:
To specify 30 days, 20 hours, 15 minutes and 10 seconds, enter
To specify 18 hours, enter
When you are done making changes to the quota, click Update.
The quota is updated.
To modify a directory quota, use the
quota modify command. This includes modifying or creating default user and group quotas but not any additional user or group quotas.
To add non default user or group quota rules to a directory quota, use the userquota create command.
To delete a user or group quota rule, use the userquota delete command.
To modify non default user and group quotas, use the userquota modify command.
Article is closed for comments.