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).
show quota template all

show quota template all

Function

The show quota template all command is used to batch query default quotas.

Format

show quota template all [path=?] [quota_type=?] [resource_type=?]

Parameters

Parameter

Description

Value

path Quota directory path.

The value is 1 to 4000 characters in length and must start with a slash (/).

resource_type Quota data type.

The value is "CAPACITY" or "FILECOUNT", where:

  • "CAPACITY": capacity quota.
  • "FILECOUNT": file count quota.
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.

Level

Resource administrator

Usage Guidelines

Read-only users can also run this command to view information.

Example

Batch query default quotas.

admin:/>show quota template all      
                                              
  id                         : 2049           
  resource_type              : CAPACITY       
  hard_threshold             : 100GB          
  soft_threshold             : 20GB          
  advise_threshold           : 1GB          
  soft_threshold_extend_time : 12    
  quota_type                 : mandatory_quota 
  path                       : /CIFS_Test          
----------------------------------------------
  id                         : 2050           
  resource_type              : FILECOUNT       
  hard_threshold             : 1000(thousand)          
  soft_threshold             : 500(thousand)          
  advise_threshold           : 100(thousand)          
  soft_threshold_extend_time : 12     
  quota_type                 : mandatory_quota 
  path                       : /ftp        

System Response

The following table describes the parameter meanings.

Parameter

Meaning

id

Quota ID.

path

Quota directory path.

resource_type

Data type.

quota_type

Quota type.

advise_threshold

Recommended threshold.

soft_threshold

Soft threshold.

soft_threshold_extend_time

Soft treshold grace period, expressed in days.

hard_threshold

Hard threshold.

Translation
Download
Updated: 2019-05-07

Document ID: EDOC1100067955

Views: 24883

Downloads: 7

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