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

Advanced O&M Command Reference

OceanStor 18000 and 18000F V5 Series V500R007

This document is applicable to OceanStor 18500 V5, 18800 V5, 18500F V5, and 18800F V5. Based on the CLI, this document describes how to use various commands classified by functionsand 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_domain_id=? ] disk_list=? [ thin_reconstruction=? ]

create disk_domain name=? [ disk_domain_id=? ] disk_number=? disk_type=? [ thin_reconstruction=? ]

create disk_domain name=? [ disk_domain_id=? ] disk_list=? [ tier0_hotspare_strategy=? | tier1_hotspare_strategy=? | tier2_hotspare_strategy=? ] * [ ignore_disk_capacity=? ]

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=? }

create disk_domain name=? [ disk_domain_id=? ] [ set_disk_group=? | disk_list=? ] * [ ignore_disk_capacity=? ]

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.
ignore_disk_capacity=? Whether to ignore the disk capacity.

The value can be "yes" or "no", where:

  • "yes": ignores the disk capacity.
  • "no": does not ignore the disk capacity and checks whether the capacity of disks that form the disk domain is truncated.
set_disk_group Whether disk groups can be manually selected in a disk domain.

The value can be "open" or "close", where:

  • "open": Disk groups can be manually selected in a disk domain.
  • "close": Disk groups cannot be manually selected in a disk domain.

Views

Developer view

Usage Guidelines

None

Example

  • Create disk domain "test" that contains eight normal SAS disks and disable thin reconstruction.

    developer:/>create disk_domain name=test disk_number=8 disk_type=SAS thin_reconstruction=Disable
    Command executed successfully.
  • Create disk domain "test" that contains eight self-encrypting SAS disks (SAS_SED) and disable thin reconstruction.

    developer:/>create disk_domain name=test disk_number=8 disk_type=SAS_SED thin_reconstruction=Disable
    Command executed successfully.
  • Create disk domain "test" which contains six SAS disks and set the manual selection of the disk group to "open".

    engineer:/>create disk_domain name=test set_disk_group=open disk_list=CTE0.0,CTE0.1,DAE020.0,DAE020.1,DAE010.0,DAE010.1
    Command executed successfully.

System Response

None

Translation
Download
Updated: 2020-01-17

Document ID: EDOC1000181602

Views: 743304

Downloads: 59

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next