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

Advanced O&M Command Reference

OceanStor 18000 and 18000F V5 Series V500R007

This document is applicable to OceanStor 18500 V5, 18800 V5, 18500F V5, and 18800F V5. Based on the CLI, this document describes how to use various commands classified by functionsand how to set the CLI and manage the storage system through these commands.

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 dlm resource_attribute

change dlm resource_attribute

Function

The change dlm resource_attribute command is used to modify the properties of a single resource.

Format

change dlm resource_attribute hex_name=? attribute=? controller=? pregrant_accessmode=? pregrant_pregrantmode=? pregrant_pregrantfactor=? cache_number=?

Parameters

Parameter

Description

Value

hex_name Resource name in the hexadecimal format.

To obtain the name of the resource whose type is "1", run the "show dlm resource_proxy" command in the developer view.

attribute Property to be modified.

The value can be "pregrant" or "cachenum", where:

  • "pregrant": modifies the prefetch optimization parameter.
  • "cachenum": modifies the cache number parameter.
controller=? Controller ID.

The value is in the format of "XA", "XB", "XC", or "XD", where "X" is an integer ranging from 0 to 3, for example, "0A" or "1C".

pregrant_accessmode Prefetch access mode. This parameter must be assigned and it is valid only when attribute=? is set to "pregrant".

The value can be "DEFAULT", "SEQUENCE", "REVERSE", or "RANDOM", where:

  • "DEFAULT": disables the prefetch optimization function by default.
  • "SEQUENCE": optimizes sequential access.
  • "REVERSE": optimizes reverse access.
  • "RANDOM": optimizes random access.
pregrant_pregrantmode Prefetch mode. This parameter must be assigned and it is valid only when attribute=? is set to "pregrant".

The value can be "MAXIMIZE", "SCALE", "BLOCK_KB", "BLOCK_MB", or "BLOCK_GB", where:

  • "MAXIMIZE": maximizes prefetch.
  • "SCALE": prefetches based on scale.
  • "BLOCK_KB": prefetches based on KB.
  • "BLOCK_MB": prefetches based on MB.
  • "BLOCK_GB": prefetches based on GB.
pregrant_pregrantfactor Prefetch factor. This parameter must be assigned and it is valid only when attribute=? is set to "pregrant".

The value is an integer ranging from 0 to 4,294,967,296.

cache_number Number of caches. This parameter must be assigned and it is valid only when attribute=? is set to "cachenum".

The value is an integer ranging from 0 to 4,294,967,296.

Views

Engineer view

Usage Guidelines

None

Example

Modify the properties of a single resource.

engineer:/>change dlm resource_attribute hex_name=0074740000000000000000000000000000000000 attribute=pregrant controller=0A pregrant_accessmode=SEQUENCE pregrant_pregrantmode=SCALE pregrant_pregrantfactor=200
Command executed successfully.
 

System Response

None

Translation
Download
Updated: 2020-01-17

Document ID: EDOC1000181602

Views: 757085

Downloads: 66

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next