Creating a Quota Group

Prev Next

Creating a Quota Group in VAST Web UI

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

  2. Click Create Quota Groups to open the Add Quota Group dialog.

  3. In the General Configuration tab, complete the fields:

    1. Complete the fields:

      Name (required)

      A unique name for the quota group.

      Tenant (required)

      Select a tenant for the quota group.

      NOTE: This field is displayed only when there are multiple tenants configured on the cluster.

    2. Under Quota Target, select one of the two options to indicate the type of quotas allowed in the group:

      • Directory only: The group will include only directory quotas.

      • Mix: Directory, User, Group: The group can include either directory or user quotas, as well as user group quotas.
        NOTE: With VAST Cluster 5.3.5, this option is not available.

    3. Use the Available Quotas and Attached Quotas field to add quotas to the group. Both lists are filtered according to the quota type(s) you selected for the quota group in the previous step.

  4. In the Group Rule tab:

    1. To set a soft limit for the quota group, toggle the Set Soft limit option on and complete the fields:

      Capacity

      Storage space usage limit above which warnings of exceeding the quota are issued, and the grace period countdown is triggered.

      Files & Directories

      Number of directories and unique files under the path above which warnings of exceeding the quota are issued, and the grace period countdown commences. A file with multiple hard links is counted only once.

      Grace period

      Set this value to trigger an alarm and block write operations to the directory if either of the soft limits on the directory are exceeded for a specified time period. 

      If the grace period is not set, the directory is only write blocked if and when usage reaches one of the hard limits. 

      Specify the grace period in the format: [DD] [HH:[MM:]]ss. Examples:

      • To specify 30 days, 20 hours, 15 minutes and 10 seconds, enter 30 20:15:10.

      • To specify 18 minutes, enter 18:00.

      • To specify 20 hours, enter 20:00:00.

      • You can also specify time in days, hours, minutes or seconds, in the format, for example 10d, 10h, 10m or 10s. The usage is case sensitive, entering 10D or 10H will return an error.

    2. To set a hard limit for the quota group, toggle the Set hard limit option on and complete the fields:

      Capacity

      Storage usage limit, above which no further writes are allowed.

      When the hard limit is reached, the HARD_EXCEEDED alarm is triggered.

      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:

      • Base 10: KB, MB, GB, TB, PB, EB,

      • Base 2: KiB, MiB, GiB, TiB, PiB, EiB

      The units are case-insensitive. For example: 4gb is valid. 

      Files & Directories

      Number of directories and unique files under the path, above which no writes are allowed.

      NOTE: A file with multiple hard links is counted only once.

    3. Toggle Get alarms on or off to enable or disable raising of VMS alarms when users or groups reach their limits. By default, this option is enabled. For more information, see Enabling or Disabling Quota Alarms.

      This setting does not affect notification emails sent to users when they exceed quota limits. Notification emails continue to be sent when this setting is disabled.

    4. Toggle Get emails from Active Directory/LDAP on or off to allow or prohibit querying of providers for email addresses used to send email notifications when a limit is exceeded. By default, this option is enabled.

  5. Skip the Accounting tab. This tab is intended for tracking quota consumption and does not provide any settings necessary for quota creation.

  6. Click Create

    Quota group creation begins. The process is asynchronous and you can track the quota state in the Quota Groups page.

Creating a Quota Group in VAST CLI

To create a quota group, use the quotagroup create command.

To add quotas to a quota group, use the quotagroup assign-quotas command.