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 level policy

show level policy

Function

The show level policy command is used to query information about file pool policies.

Format

show level policy [ file_name=? ] [ file_path=? ] [ nodePoolId=? ] [ policy_id=? ] [ policy_name=? ] [policy_type=?] [ tier_id=? ]

Parameters

Parameter

Description

Value

file_name File name.

The value contains 1 to 255 characters.

file_path File path.

The value contains 1 to 4000 characters.

nodepoolid Node pool ID.

The value is an integer ranging from 1 to 32.

policy_id File pool policy ID.

The value is an integer ranging from 1 to 128.

policy_name Name of a file pool policy.

The value contains 1 to 127 letters, digits, hyphens (-), underscores (_), and periods (.) and must start with a letter and end with a letter or a digit.

policy_type type of the policy.
  • AnyTier:Save to Any Tier.
  • SpecifiedTier:Save to Specified Tier.
  • SpecifiedNodePool:Save to Specified Node Pool.
  • Delete:delete file.
tier_id Tier ID.

The value is "255" or an integer between 0 and 31. When the value is "255", any tier can be used for this policy.

Level

Resource administrator

Usage Guidelines

  • Run the show level policy [file_name=?] [file_path=?] [nodePoolId=?] [policy_id=?] [policy_name=?] [policy_type=?] [tier_id=?] command to query information about a specified file pool policy.
  • Run the show level policy command to query information about all file pool policies in the system.
  • Read-only users can also run this command to view information.

Example

Query information about file pool policies.

admin:/>show level policy  
 
  PolicyID    : 128                      
  PolicyName  : defaultpolicy            
  Description :                          
  FilePath    :                          
  FileName    :  
  PolicyType  : Save to Any Tier                        
  TierID      : ANY                      
  Rules       : userName: root 
                groupName: root 
                accelerate:false 
                  
  IsDefault   : yes                      
  NodePoolID  :

System Response

The following table describes the parameter meanings.

Parameter

Meaning

PolicyID

File pool policy ID.

PolicyName

File pool policy name.

Description

File pool policy description.

FilePath

File path.

FileName

File name.

PolicyType

type of the policy.

TierID

Tier ID.

Rules

File pool policy.

IsDefault

Whether the file pool policy is the default one.

NodePoolID

Node pool ID.

Translation
Download
Updated: 2019-05-07

Document ID: EDOC1100067955

Views: 24753

Downloads: 7

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