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 Quota Rules tab (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 the step Step 5.
-
On the User Accounting tab or the Group Accounting tab, a list of all users/groups that own files/directories in the quota directory is displayed.
To filter the list, enter a text string into the Search field at the top of the Identifier or State column. The list is filtered responsively as you type. (Do not press Enter when searching because that will create the quota immediately.)
The following information is displayed for each user or group:
Identifier
The name of the user or group, the user's UID, or the group's GID.
State
The state of the quota:
-
Ok. The quota was created. The directory is not exceeding any of the limits.
-
Failed. Quota creation failed.
-
Soft limit (capacity) Exceeded. The current size of the quota directory has exceeded the specified capacity soft limit.
-
Soft limit (files and directories) exceeded. The combined number of files and directories has exceeded the directory's soft limit for files and directories.
-
Soft Limits both Exceeded. Both the quota directory's size, and the number of files and directories in the quota directory have exceeded the quota soft limit.
-
Hard limit (capacity)exceeded. The capacity of the quota directory has exceeded the quota hard limit.
-
Hard limit (files and directories)exceeded. The combined number of files and directories have exceeded the quota hard limit for files and directories.
-
Hard Limits both exceeded. Both the capacity, and files and directories have exceeded the quota hard limit.
-
Grace Period Exceeded. The soft limit was exceeded for the extent of the grace period.
Under Percent:
Capacity
The percentage of the user's capacity hard limit that the user has consumed in the directory, if such a hard limit is defined for the user. The applicable hard limit could be defined by a user rule or by a default user rule.
Files & Directories
The percentage of the user's hard limit for files and directories that the user has consumed in the directory, if such a hard limit is defined for the user. The applicable hard limit could be defined by a user rule or by a default user rule.
Under Usage:
Capacity
The capacity used by files or directories under the quota directory that are owned by the user or group.
Files & Directories
The number of files and directories under the quota directory owned by the user or group.
Under Soft Limit:
Capacity
The capacity soft limit defined for the user/group, if defined. The applicable limit could be defined by a user/group rule or by a default user/group rule.
Files & Directories
The files and directories soft limit defined for the user/group, if defined. The applicable limit could be defined by a user/group rule or by a default user/group rule.
Under Hard Limit:
Capacity
The capacity hard limit defined for the user/group, if defined. The applicable limit could be defined by a user/group rule or by a default user/group rule.
Files & Directories
The files and directories hard limit defined for the user/group, if defined. The applicable limit could be defined by a user/group rule or by a default user/group rule.
Grace Period
The grace limit defined for the user/group, if defined. The applicable grace period could be defined by a user/group rule or by a default user/group rule.
Time left
If a grace period is configured for the user or group, and the user or group has exceeded the soft capacity limit, then this field shows how much time remains until the grace period expires, at which time the user will be blocked from writing to the directory.
Add rule
This is a shortcut button to navigate to the User Rules tab to add a rule for the user (see next step for details).
-
-
To add, modify or remove user or group rules, follow the guidelines in Configure User/Group Quotas.
If a default user or group rule is configured in the Quota Rules tab, it is used as a default for any user or group that doesn't have an individual rule. Other rules apply to specific users or groups.
-
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.
Comments
0 comments
Article is closed for comments.