Modifying Quotas

Prev Next

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.

Modifying Quotas in VAST Web UI

  1. From the left navigation menu, select Element Store and then Quotas.

  2. In the Quotas page, open the Actions menu for the quota you want to change, and select Edit.

  3. In the Update Quota dialog that opens, make changes you want in the Quota Rules tab. For an explanation of each setting, see Creating Quotas.Creating Quotas

  4. 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 6.

  5. On the User Accounting , IAM Role Accounting or the Group Accounting tab, a list of all users, IAM roles or 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, IAM role or group, the user's UID, or the group's GID.

    Note

    If a group does not show up, check that the Group login name field in the provider's Attribute mapping settings is set to a value that is valid for your environment.

    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 expired. The soft limit was exceeded for the extent of the grace period.

    Under Percent:

    Capacity

    The percentage of the capacity hard limit that has been consumed in the directory, if such a hard limit is defined. (The applicable hard limit could be defined by a user rule or by a default user rule.)

    Files & Directories

    The percentage of the hard limit for files and directories that has consumed in the directory, if such a hard limit is defined. (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, IAM role or group.

    Files & Directories

    The number of files and directories under the quota directory owned by the user, IAM role or group.

    Under Soft Limit:

    Capacity

    The capacity soft limit for the user, IAM role or group. (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 for the user, IAM role or group. (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 for the user, IAM role or group. (The applicable limit could be defined by a user/group rule or by a default user/group rule.)

    Files & Directories

    The hard limit on the number of files and directories for the user, IAM role or group. (The applicable limit could be defined by a user/group rule or by a default user/group rule.)

    Grace Period

    The grace period applicable to the user, IAM role or 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 an applicable grace period is configured, and the user, IAM role 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, IAM role or group will be blocked from writing to the directory.

    Add rule

    This is a shortcut button to navigate to the tab to add a rule for the user (see next step for details).

  6. To add, modify or remove user or group rules, follow the guidelines in Creating Quotas.   Creating 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.

  7. When you are done making changes to the quota, click Update.

    The quota is updated.

Modifying Quotas in VAST CLI

To modify a directory quota, run 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, run the userquota create command.  

To delete a user or group quota rule, run the userquota delete command.

To modify non-default user and group quotas, run the userquota modify command.