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 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.

Format

change disk_domain general disk_domain_id=? { name=? | 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=?

Name of a disk domain.

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

hotspare_strategy=?

Hot spare policy of a disk domain.

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

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

Level

Administrator

Usage Guidelines

None

Example

  • Change the name of disk domain "0" to "domain_0".
    admin:/>change disk_domain general disk_domain_id=0 name=domain_0 
    Command executed successfully. 
  • Change the hot spare strategy in disk domain "0" to "none".
    admin:/>change disk_domain general disk_domain_id=0 hotspare_strategy=none 
    DANGER: You are about to reduce the hot spare space of the disk domain.  
    This operation may decrease the 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.  
    Suggestion: Before performing this operation, ensure that the remaining capacity 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-16

Document ID: EDOC1100049140

Views: 124216

Downloads: 155

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