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 18000 and 18000F V5 Series V500R007

This document is applicable to OceanStor 18500 V5, 18800 V5, 18500F V5, and 18800F V5 storage systems. It describes hardware installation of those storage systems for helping you easily and quickly finish the installation.

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_domain_id=? ] disk_number=? disk_type=? [ tier0_hotspare_strategy=? | tier1_hotspare_strategy=? | tier2_hotspare_strategy=? ]

create disk_domain name=? [ disk_domain_id=? ] { ssd_number=? | sas_number=? | nlsas_number=? | nvme_ssd_number=? }

create disk_domain name=? [ disk_domain_id=? ] { ssd_sed_number=? | nvme_ssd_sed_number=? | sas_sed_number=? | nlsas_sed_number=? }

create disk_domain name=? [ disk_domain_id=? ] { ssd_number=? | nvme_ssd_number=? | sas_number=? }

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 is an integer ranging from 0 to the maximum number of disk domains minus 1.
  • When this parameter is not specified, the system automatically allocates an ID for a new disk domain.
disk_list=? Disk ID list. If you specify this parameter, you cannot specify parameters disk_type=? and disk_number=?.

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

  • "all": All free disks are allocated to a disk domain.
  • Disk ID range: The format is start disk ID-end disk ID, for example, DAE000.1-5.
  • Disk ID list: Multiple disk IDs are separated with commas (,), for example, DAE000.1,DAE000.2,DAE000.3.
To obtain the value, press "Ctrl+A" or run "show disk general".
disk_number=? Number of disks in a disk domain. When you use this parameter with parameter disk_type=?, the system automatically adds disks of specified types and quantity to a disk domain. If you specify this parameter, you cannot specify parameter disk_list=?.

The value is an integer ranging from 1 to 2147483647.

disk_type=? Disk type.

The value can be "SAS", "NearLine_SAS", "SSD", "SAS_SED", "NearLine_SAS_SED", "SSD_SED", "NVMe_SSD", or "NVMe_SSD_SED", where:

  • "SAS": SAS disk.
  • "NearLine_SAS": NL-SAS disk.
  • "SSD": SSD.
  • "SAS_SED": self-encrypting SAS disk.
  • "NearLine_SAS_SED": self-encrypting NL-SAS disk.
  • "SSD_SED": self-encrypting SSD.
  • "NVMe_SSD": NVMe SSD.
  • "NVMe_SSD_SED": self-encrypting NVMe SSD.
NOTE:
The following describes the disk type supported by each storage tier:
  • Tier 0 (high performance tier): SSD, self-encrypting SSD, NVMe SSD, or self-encrypting NVMe SSD.
  • Tier 1 (performance tier): SAS disk or self-encrypting SAS disk.
  • Tier 2 (capacity tier): NL-SAS disk or self-encrypting NL-SAS disk.
thin_reconstruction=? Enables or disables thin reconstruction.

The value can be "Enable" or "Disable", where:

  • "Enable": to enable thin reconstruction.
  • "Disable": to disable thin reconstruction.
The default value is "Enable".
sas_number=? Total number of SAS disks.

The value is an integer ranging from 4 to 2147483647. You can also set the value to "all", which indicates to select all available SAS disks.

nlsas_number=? Total number of NL-SAS disks.

The value is an integer ranging from 4 to 2147483647. You can also set the value to "all", which indicates to select all available NL-SAS disks.

ssd_number=? Total number of SSDs.

The value is an integer ranging from 2 to 2147483647. You can also set the value to "all", which indicates to select all available SSDs.

sas_sed_number=? Total number of self-encrypting SAS disks.

The value is an integer ranging from 4 to 2147483647. You can also set the value to "all", which indicates to select all available self-encrypting SAS disks.

nlsas_sed_number=? Total number of self-encrypting NL-SAS disks.

The value is an integer ranging from 4 to 2147483647. You can also set the value to "all", which indicates to select all available self-encrypting NL-SAS disks.

ssd_sed_number=? Total number of self-encrypting SSDs.

The value is an integer ranging from 2 to 2147483647. You can also set the value to "all", which indicates to select all available self-encrypting SSDs.

nvme_ssd_number=? Total number of NVMe SSDs.

The value is an integer ranging from 2 to 2147483647. You can also set the value to "all", which indicates to select all available NVMe SSDs.

nvme_ssd_sed_number=? Total number of self-encrypting NVMe SSDs.

The value is an integer ranging from 2 to 2147483647. You can also set the value to "all", which indicates to select all available self-encrypting NVMe SSDs.

tier0_hotspare_strategy=? Hot spare strategy 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=? Hot spare strategy 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=? Hot spare strategy 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

Create disk domain "test" that contains eight SAS disks with the hot spare strategy set to "none".

admin:/>create disk_domain name=test disk_number=8 disk_type=SAS tier1_hotspare_strategy=none
DANGER: You are about to create the hot spare strategy of tier 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 on this tier.
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: 2020-01-17

Document ID: EDOC1000181601

Views: 383169

Downloads: 56

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next