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 worm_dir all

show worm_dir all

Function

The show worm_dir all command is used to query the parameters of all the WORM root directories that have been created in the system.

Format

show worm_dir all [ file_path=? ] [ range=? ] [ sort_mode=? ]

Parameters

Parameter

Description

Value

file_path Path of the WORM root directory.

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

range Result range to display.

The value is in the following format: number1-number2.

sort_mode Sorting mode.

The value is "DESC" or "ASC", where:

  • "DESC": descending order.
  • "ASC": ascending order.

Level

Resource administrator

Usage Guidelines

  • This command is used to query the parameters of all the WORM root directories that meet the search criteria.
  • Operand "file_path" is mutually exclusive with all other operands.
  • Read-only users can also use this command to query parameters.

Example

  • Query the parameters of all the WORM root directories that have been created in the system.

    admin:/>show worm_dir all
     
      ID   File Path  Worm Type    Auto Delete  Worm Min Protect Period  Worm Max Protect Period  Worm Def Protect Period Worm Auto Lock Time  
      --   ---------  ---------  -----------  ------------------------ -----------------------  ----------------------- -------------------  
      1   /testworm01 COMPLIANCE  FALSE        1 year                   30 years                 1 year                  1 hour  
      2   /testworm02 COMPLIANCE  FALSE        2 year                   30 years                 2 year                  1 hour
     
  • Query the parameters of a specific WORM root directory that has been created in the system.

    admin:/>show worm_dir all file_path=/testworm01
     
      ID   File Path  Worm Type    Auto Delete  Worm Min Protect Period  Worm Max Protect Period  Worm Def Protect Period Worm Auto Lock Time  
      --   ---------  ---------  -----------  ------------------------ -----------------------  ----------------------- -------------------  
      1   /testworm01 COMPLIANCE  FALSE        1 year                   30 years                 1 year                  1 hour
     
  • Query the list of the WORM root directories whose sequence are in a specific range and arrange the results in ascending order.

    admin:/>show worm_dir all range=1-5 sort_mode=ASC
     
      ID   File Path  Worm Type    Auto Delete  Worm Min Protect Period  Worm Max Protect Period  Worm Def Protect Period Worm Auto Lock Time
      --   ---------  ---------  -----------  ------------------------ -----------------------  ----------------------- -------------------  
      1   /testworm01 COMPLIANCE  FALSE        1 year                   30 years                 1 year                  1 hour  
      2   /testworm02 COMPLIANCE  FALSE        2 year                   30 years                 2 year                  1 hour
     

System Response

The following table describes the parameter meanings.

Parameter

Meaning

id

ID of the WORM root directory.

File Path

Path of the WORM root directory.

Worm Type

Type of the WORM root directory.

Only the compliance mode is supported.

Auto Delete

Whether the expired files in the WORM directory need to be automatically deleted.

  • TRUE: The file is automatically deleted when it expires.
  • FALSE: The file is not automatically deleted when it expires.

Worm Min Protect Period

Minimum protection period.

Worm Max Protect Period

Maximum protection period.

Worm Def Protect Period

Default protection period.

Worm Auto Lock Time

Automatic lock time.

Translation
Download
Updated: 2019-05-07

Document ID: EDOC1100067955

Views: 25314

Downloads: 7

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