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

Command Reference for Block

OceanStor Dorado V3 Series V300R002

This document is applicable to OceanStor Dorado3000 V3, Dorado5000 V3, Dorado6000 V3 and Dorado18000 V3. Based on the CLI provided by the DeviceManager, this document describes how to use various commands classified by functions and 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 storage_pool general

change storage_pool general

Function

The change storage_pool general command is used to modify the attributes of a storage pool, including the name, capacity alarm threshold, capacity exhaustion threshold, capacity, provisioning limit, low threshold of protection capacity, high threshold of protection capacity, and automatic deletion switch.

Format

change storage_pool general pool_id=? { name=? | full_threshold=? | used_up_threshold=? | capacity=? | provisioning_limit_switch=? | provisioning_limit=? | protection_low_threshold=? | protection_high_threshold=? | automatic_deletion_switch=? } * [ description=? | clear_description=? ]

Parameters

Parameter

Description

Value

pool_id=?

Storage pool ID.

To obtain the value, run "show storage_pool general".

name=?

New name of a storage pool.

The value contains 1 to 31 ASCII characters, including digits, letters, underscores (_), hyphens (-), and periods (.).

full_threshold=?

Capacity alarm threshold.

The value ranges from 1 to 95, expressed in %.

used_up_threshold=?

Capacity exhaustion threshold.

The value ranges from (full_threshold+1) to 99, expressed in percentage.

capacity=?

Capacity of the storage pool.

  • The value is in the format of "capacity value + unit". The unit can be GB or TB.
  • The value ranges from 1 GB to 12864 TB.
  • You can run the "show disk_domain general disk_domain_id=xxx" command to view the free capacity of the disk domain to which the storage pool belongs.
  • The value "all" indicates that the capacity of a storage pool is changed to the available capacity of a disk domain.

description=?

Description.

-

clear_description=?

Clears the description.

The value can be:

"enable": clears the description.

provisioning_limit_switch=?

Switch of setting the thin LUN provisioning limit.

The value can be "off" (default value) or "on", where:

  • "off": turns off the switch.
  • "on": turns on the switch.

provisioning_limit=?

Thin LUN provisioning limit.

The value ranges from 0 to 65535.

protection_low_threshold=?

Low threshold of the storage pool protection capacity.

The value ranges from 1 to 95, expressed in percentage (%).

protection_high_threshold=?

High threshold of the storage pool protection capacity.

The value ranges from (protection_low_threshold+1) to 99, expressed in percentage (%).

automatic_deletion_switch=?

Automatic deletion switch of a storage pool.

The value can be:

  • "off": disable the function of automatically reclaiming the protected space (scheduled HyperCDP object and scheduled HyperCDP consistency group) in the storage pool.
  • "on": enables the function of automatically reclaiming the protected space (scheduled HyperCDP object and scheduled HyperCDP consistency group) in the storage pool.

Level

Administrator

Usage Guidelines

None

Example

  • Change the provisioning limit of storage pool "0" to 200.
    admin:/>change storage_pool general pool_id=0 provisioning_limit_switch=on provisioning_limit=200 
    Command executed successfully.
  • Change the capacity of storage pool "0" to 500 GB.
    admin:/>change storage_pool general pool_id=0 capacity=500GB 
    WARNING:You are about to expand storage pool capacity. 
    Suggestion:Before performing this operation, ensure that the selected storage pool and capacity are correct. 
    Have you read warning message carefully?(y/n)y 
    Are you sure you really want to perform the operation?(y/n)y 
    Command executed successfully.
  • Change the automatic deletion switch of a storage pool "off" to "on".
    admin:/>change storage_pool general pool_id=0 automatic_deletion_switch=on  
    CAUTION: You are about to enable the automatic deletion function of data protection capacity for a storage pool. If the automatic deletion function is enabled, when the protection capacity or used capacity of the storage pool reaches the threshold, an exception may occur when the HyperCDP object and HyperCDP consistency group are created because the storage pool protection capacity cannot be applied for. In addition, the created scheduled HyperCDP object and scheduled HyperCDP consistency group will be automatically deleted until the used capacity falls below the lower threshold. 
    Suggestion: Before performing this operation, confirm that the automatic deletion function of data protection capacity for a storage pool needs to be enabled. 
    Do you wish to continue?(y/n)y 
    Command executed successfully.

System Response

None

Translation
Download
Updated: 2019-07-16

Document ID: EDOC1100049140

Views: 122402

Downloads: 151

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