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).
create disk_domain

create disk_domain

Function

The create disk_domain command is used to create a disk domain.

Format

create disk_domain name=? disk_list=? [ disk_domain_id=? | hotspare_strategy=? | controller_enclosure_list=? | controller_list=? | disk_encryption_switch=? ] *

Parameters

Parameter

Description

Value

name=?

Disk domain name.

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

disk_domain_id=?

Disk domain ID.

  • The value ranges from 0 to 31.
  • When this parameter is not specified, the system automatically allocates an ID for a new disk domain.

disk_list=?

Disk ID list.

The value can be "all", a disk ID range, or a disk ID list, where:

  • "all": All free disks in the normal state in the specified controller enclosure are added to a disk domain. If no controller enclosure parameter is specified, all free disks in the normal state in controller enclosure 0 are added to the disk domain by default.
  • Disk ID range: The value is in the format of start disk ID-end disk ID, for example, DAE000.1-5.
  • Disk ID list: Multiple disk IDs are separated by commas (,), for example, DAE000.1,DAE000.2,DAE000.3.

You can run the "show disk general" command to obtain the current system disk list.

hotspare_strategy=?

Hot spare policy for the 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.

controller_enclosure_list=?

Controller enclosure ID list.

The value can be "CTE0", "CTE1", "CTE2", or "CTE3", where:

  • "CTE0": Controller enclosure 0.
  • "CTE1": Controller enclosure 1.
  • "CTE2": Controller enclosure 2.
  • "CTE3": Controller enclosure 3.

disk_encryption_switch=?

Disk encryption switch.

The value can be "off" or "on", where:

  • "off": The encryption switch is off.
  • "on": The encryption switch is on.

controller_list

Controller list.

Controller IDs are separated by commas (,). The value is in the format of "XA","XB","XC","XD", where the "X" is an integer from 0 to 3, for example: "0A,0B","0C,0D","0A,0B,0C,0D".

Level

Administrator

Usage Guidelines

None

Example

  • Create disk domain "test" with the hot spare strategy set to "none".
    admin:/>create disk_domain name=test disk_list=all hotspare_strategy=none 
    DANGER: You are about to create the hot spare strategy of a disk domain to None. After this operation, faulty or failing disks may fail to be handled, ongoing reconstruction and pre-copy tasks will fail, or even services may get interrupted. 
    Suggestion: Set the hot spare strategy to High or Low or ensure that there is sufficient free capacity. 
    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.
  • Create disk domain "test" with disk ID "DAE000.0-7", owning controller enclosure "CTE0", and owning controller ID "0A,0B".
    admin:/>create disk_domain name=test disk_list=DAE000.0-7 controller_enclosure_list=CTE0 controller_list=0A,0B 
    Command executed successfully.
  • Create disk domain "test" with disk ID "all", owning controller enclosure "CTE0", and owning controller ID "0A,0B,0C,0D".
    admin:/>create disk_domain name=test disk_list=all controller_enclosure_list=CTE0 controller_list=0A,0B,0C,0D 
    Command executed successfully.

System Response

None

Translation
Download
Updated: 2019-07-16

Document ID: EDOC1100049140

Views: 115385

Downloads: 134

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