No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

OceanStor 9000 V5 7.0 Command Reference 03

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
change quota

change quota

Function

The change quota command is used to change quota.

Format

change quota <is_default> <id> [quota_type=?] [advise_threshold=?] [soft_threshold=?] [soft_threshold_extend_time] [hard_threshold=?]

Parameters

Parameter

Description

Value

is_default Is a default quota.

The value is "normal" or "template", where:

  • "normal": normal quota.
  • "template": default quota.
id Quota ID,automatically created by system when create a normal or default quota.

The value can only contain 1 to 127 digits.

quota_type Quota type.

The value is "calculation_quota" or "mandatory_quota", where:

  • "calculation_quota": calculation quota. Only storage space usage is monitored, and space usage is not limited.
  • "mandatory_quota": mandatory quota. Storage space usage is monitored and space usage is limited.
Note: To change other optional configuration parameters, you must enter the quota type.
advise_threshold Recommended threshold.

The value is an integer between "0" and "4,294,967,294". The unit of a capacity quota threshold is GB. The unit of a file quantity quota threshold is thousand. When the storage space usage reaches the threshold, the storage system will not limit data writing and only report warnings. Note:

  • The three thresholds are optional. You can specify the threshold values only for mandatory thresholds. If this parameter is not specified, the value is "0", and this threshold is not specified.
  • If the values of the three thresholds are not 0, it is recommended that you configure the values of the three thresholds in ascending order.
soft_threshold Soft threshold.

The value is an integer between "0" and "4,294,967,294". The unit of a capacity quota threshold is GB. The unit of a file quantity quota threshold is thousand. When the storage space usage reaches the threshold, the storage system will process writes in the grace period. After the grace period times out, the storage system immediately limits data writes and reports warnings. When configuring the soft threshold, you must specify the grace period. Note:

  • The three thresholds are optional. You can specify the threshold values only for mandatory thresholds. If this parameter is not specified, the value is "0", and this threshold is not specified.
  • If the values of the three thresholds are not 0, it is recommended that you configure the values of the three thresholds in ascending order.
soft_threshold_extend_time Soft threshold grace period.

The value is an integer between "0" and "4,294,967,294", expressed in day.

If the soft threshold is configured and its value is not 0, the grace period of the soft threshold must be specified.

hard_threshold Hard threshold.

The value is an integer between "0" and "4,294,967,294". The unit of a capacity quota threshold is GB. The unit of a file quantity quota threshold is thousand. If when the storage space usage reaches the threshold, the storage system immediately limits data writes and reports warnings. Note:

  • The three thresholds are optional. You can specify the threshold values only for mandatory thresholds. If this parameter is not specified, the value is "0", and this threshold is not specified.
  • If the values of the three thresholds are not 0, it is recommended that you configure the values of the three thresholds in ascending order.

Level

Resource administrator

Usage Guidelines

If the quota type has changed from "mandatory quota" to "calculation quota", there is no limit on the storage space use for users and user groups.

Example

  • Change a normal quota.

    admin:/>change quota normal 8193 quota_type=mandatory_quota advise_threshold=100 hard_threshold=500 soft_threshold=200 200
    Command executed successfully.
  • Change a default quota.

    admin:/>change quota template 2049 quota_type=mandatory_quota advise_threshold=100 hard_threshold=500 soft_threshold=200 200
    Command executed successfully.

System Response

None

Translation
Download
Updated: 2019-05-07

Document ID: EDOC1100067955

Views: 25343

Downloads: 7

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next