This command modifies a quota.
Usage
quota modify --id ID [--name NAME] [--grace-period GRACE-PERIOD] [--soft-limit SOFT-LIMIT] [--hard-limit HARD-LIMIT] [--hard-limit-inodes HARD-LIMIT-INODES] [--soft-limit-inodes SOFT-LIMIT-INODES] [--enable-email-providers] [--disable-email-providers] [--default-user-quota DEFAULT_USER_QUOTA] [--default-group-quota DEFAULT_GROUP_QUOTA]
Required Parameters
| Specifies which quota to modify. |
Options
| Changes the name of the quota. |
| Sets or modifies a grace period. If the storage usage continues to exceed the soft limit for the period of time set as the grace period, an alarm is triggered and write operations to the directory are blocked. If no grace period is set, the directory is only blocked if and when usage reaches the hard limit. Specify
|
| Sets or modifies a storage usage soft limit. Warnings of exceeding the quota are issued when this limit is reached. If not specified, no soft limit is applied. |
| Sets or modifies a storage usage limit. No writes are allowed beyond this limit. 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:
The units are case-insensitive. For example: If not specified, no hard limit is applied. |
| Sets or modifies a limit on the number of directories and unique files under the path. No writes are allowed beyond this limit. A file with multiple hardlinks is counted only once. |
| Sets or modifies a soft limit on the number of directories and unique files under the path. Warnings of exceeding the quota are issued when the limit is reached. A file with multiple hardlinks is counted only once. |
| Relevant for user quotas, enables querying of providers for user email addresses used to send email notifications to users when they exceed user quotas. |
| Relevant for user quotas, disables querying of providers for user addresses used to send email notifications to users when they exceed user quotas. |
| Specifies the configuration of a default user quota. If configured, the default user quota is applied to users without individual quotas. For example: |
| Specifies the configuration of a default group quota. If configured, the default group quota is applied to groups without individual quotas. For example: |
Example
vcli: admin> quota modify --id 4 --grace-period 8h Are you sure you want to modify the quota? [y/N] y