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

OceanStor 2800 V3 V300R006

This document is applicable to OceanStor 2800 V3. Based on the CLI provided by the DeviceManager, this document describes how to use variouscommands classified by functions and how to set the CLI and manage the storage system throughthese commands. The document that you browse online matches the latest C version of the product. Click Download to download documents of other C versions.
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 disk_domain general

change disk_domain general

Function

The change disk_domain general command is used to modify the properties of a disk domain, including the disk domain name and hot spare policy for each tier.

Format

change disk_domain general disk_domain_id=? { name=? | tier0_hotspare_strategy=? | tier1_hotspare_strategy=? | tier2_hotspare_strategy=? } *

Parameters

Parameter

Description

Value

disk_domain_id=?

ID of a disk domain whose properties you want to modify.

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

name=?

New name of a disk domain.

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

tier0_hotspare_strategy=?

New hot spare policy for tier 0.

The value can be "high", "low", or "none", where:

  • "high": The hot spare level is high.
  • "low": The hot spare level is low.
  • "none": The hot spare level is none.

tier1_hotspare_strategy=?

New hot spare policy for tier 1.

The value can be "high", "low", or "none", where:

  • "high": The hot spare level is high.
  • "low": The hot spare level is low.
  • "none": The hot spare level is none.

tier2_hotspare_strategy=?

New hot spare policy for tier 2.

The value can be "high", "low", or "none", where:

  • "high": The hot spare level is high.
  • "low": The hot spare level is low.
  • "none": The hot spare level is none.

Level

Administrator

Usage Guidelines

None

Example

  • Change the name of disk domain "1" to "domain_01".
    admin:/>change disk_domain general disk_domain_id=1 name=domain_01 
    Command executed successfully.
  • Change the hot spare strategy of tier 1 in disk domain "1" to "none".
    admin:/>change disk_domain general disk_domain_id=1 tier1_hotspare_strategy=none 
    DANGER: You are about to reduce hot spare space of the disk domain. This operation may reduce data security of the disk domain and make faulty or failing disks unable to be handled in a timely manner. What is worse, ongoing reconstruction or pre-copy tasks will fail, and services may be interrupted in some scenarios. To improve hot spare space, ensure that the disk domain has sufficient free space. Otherwise, the hot spare space may fail to be improved. 
    Suggestion: Before performing this operation, ensure that the remaining capacity of the tier is sufficient and the selected disk domain and policy are correct. 
    Have you read danger alert message carefully?(y/n)y 
    Are you sure you really want to perform the operation?(y/n)y 
    Command executed successfully.

System Response

None

Translation
Download
Updated: 2019-07-12

Document ID: EDOC1000138382

Views: 313503

Downloads: 38

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