NOTE: This command is available starting with VAST Cluster 5.3.5.
This command modifies a quota group.
Usage
quotagroup modify --id ID
[--name NAME]
[--enable-email-providers|--disable-email-providers]
#Options to set quota group limits
[--soft-limit LIMIT]
[--soft-limit-inodes LIMIT]
[--grace-period PERIOD]
[--hard-limit LIMIT] s
[--hard-limit-inodes LIMIT]
#Options to configure user and group quota rules
[--enable-user-quota|--disable-user-quota]
[--default-user-quota LIMITS]
[--default-group-quota LIMITS]Required Parameters
| The ID of the quota group you want to modify. |
General Options
| The name of the quota group. |
| Allows querying providers for email addresses used to send email notifications when a quota group limit is exceeded. By default, the querying is allowed. |
| Prohibits querying providers for email addresses used to send email notifications when a quota group limit is exceeded. |
Options to Set Quota Group Limits
| The soft limit of capacity usage. When this limit is reached, a notification email is sent, and the grace period countdown commences. Writes are blocked only after the grace period expires. Specify If not specified, no soft limit is applied. |
| The soft limit on the number of directories and unique files that can be created in the paths of the group's member quotas. When this limit is reached, a notification email is sent, and the grace period countdown commences. Writes are blocked only after the grace period expires. NOTE: A file with multiple hardlinks is counted only once. |
| A period during which writes to the member quota directories are not blocked although a soft limit has been exceeded. If the grace period is not set, exceeding a soft limit does not cause blocking of further writes to the member quota directories. Specify
|
| The limit of capacity usage above which no further writes are allowed. When the hard limit is reached, the HARD_EXCEEDED alarm is raised. Specify
The units are case-insensitive. For example, If not specified, no hard limit is applied. |
| The limit on the number of directories and unique files that can be created in the member quota directories, above which no further writes are allowed. NOTE: A file with multiple hardlinks is counted only once. Specify |
Options to Configure User and Group Quota Rules
| Specify this option if you want to enable user and/or group quotas on the member quota directories. If this option is specified, you can set more granular limits for the member quota directories as follows:
|
| Disables user and/or group quotas on the member quota directories. |
| This option is used together with Specify For example: |
| This option is used together with Specify For example: |
Example
vcli: admin> quotagroup create --name mygroup1 --grace-period 30 20:15:10 --soft-limit 1tb --hard-limit 2tb --create-dir --hard-limit-inodes 5000 --soft-limit-inodes 4800