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 functions and how to set the CLI and manage the storage system through these 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).
create storage_pool

create storage_pool

Function

The create storage_pool command is used to create storage pools.

Format

create storage_pool name=? disk_type=? capacity=? [ raid_level=? ] [ disk_domain_id=? ] [ pool_id=? ]

create storage_pool name=? disk_type=? capacity=? [ raid_level=? ] [ full_threshold=? ] [ disk_domain_id=? ] [ pool_id=? ] [ extent_size=? ] [ stripe_depth=? ] [ usage_type=? ] [ full_protect_threshold=? ] [ ignore_disk_capacity=? ] [ description=? ] [ auto_deactivate_snapshot_switch=? ] [ protect_allocate_ratio=? ] [ protect_fixed_reserve=? ] [ protect_reserve_threshold=? ] [ enhanced_data_protection_policy=? ]

Parameters

Parameter

Description

Value

name=?

Name of a storage pool.

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

disk_type=?

Physical type of a disk.

NOTE:

Only the disk type supported by a storage tier can be specified.

The value can be "SAS", "NearLine_SAS", "SSD", "SAS_SED", "NearLine_SAS_SED", "SSD_SED", or "SATA", 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.
  • "SATA": SATA disk.
NOTE:

The following describes the disk type supported by each storage tier:

  • tier 0 (high performance tier): SSD or self-encrypting SSD.
  • tier 1 (performance tier): SAS disk or self-encrypting SAS disk.
  • tier 2 (capacity tier): NL-SAS disk, self-encrypting NL-SAS disk, or SATA disk.

capacity=?

Capacity of a storage pool.

The value is an integer, expressed in GB or TB.

The value ranges from 1 GB to 12864 TB.

raid_level=?

RAID level of a storage pool.

NOTE:

Disks added to a disk domain are divided into fixed-sized logical blocks and are grouped in accordance with the selected RAID level. By purpose, those logical blocks are categorized as data blocks and parity blocks.

The default value can be "RAID6-4", "RAID6-6", "RAID6-10", "RAID6-18", "RAID5-3", "RAID5-5", "RAID5-9", "RAID50-6", "RAID50-10", "RAID50-18", "RAID3-3", "RAID3-5", "RAID3-9", "RAID0", "RAID10", "RAID1-2", or "RAID1-4" and the non-default value can be "RAID3-N", "RAID5-N", or "RAID6-N", where:

  • "RAID6-4": indicates a RAID 6 group that contains four logical blocks (two data blocks and two parity blocks).
  • "RAID6-6": indicates a RAID 6 group that contains six logical blocks (four data blocks and two parity blocks).
  • "RAID6-10": indicates a RAID 6 group that contains ten logical blocks (eight data blocks and two parity blocks).
  • "RAID6-18": indicates a RAID 6 group that contains eighteen logical blocks (sixteen data blocks and two parity blocks).
  • "RAID5-3": indicates a RAID 5 group that contains three logical blocks (two data blocks and one parity block).
  • "RAID5-5": indicates a RAID 5 group that contains five logical blocks (four data blocks and one parity block).
  • "RAID5-9": indicates a RAID 5 group that contains nine logical blocks (eight data blocks and one parity block).
  • "RAID50-6": indicates a RAID 50 group that contains six logical blocks (four data blocks and two parity blocks).
  • "RAID50-10": indicates a RAID 50 group that contains ten logical blocks (eight data blocks and two parity blocks).
  • "RAID50-18": indicates a RAID 50 group that contains eighteen logical blocks (sixteen data blocks and two parity blocks).
  • "RAID3-3": indicates a RAID 3 group that contains three logical blocks (two data blocks and one parity block).
  • "RAID3-5": indicates a RAID 3 group that contains five logical blocks (four data blocks and one parity block).
  • "RAID3-9": indicates a RAID 3 group that contains nine logical blocks (eight data blocks and one parity block).
  • "RAID0": indicates a RAID 0 group whose number of logical blocks is automatically specified by the system.
  • "RAID10": indicates a RAID 10 group whose number of logical blocks is automatically specified by the system.
  • "RAID1-2": indicates a RAID 1 group that contains two logical blocks (the two logical blocks store the same data and mirror each other).
  • "RAID1-4": indicates a RAID 1 group that contains four logical blocks (the four logical blocks store the same data and mirror each other).
  • "RAID3-N": indicates a RAID 3 group that contains N logical blocks (3 <= N <= 14) (N-1 data blocks and one parity block)
  • "RAID5-N": indicates a RAID 5 group that contains N logical blocks (3 <= N <= 14) (N-1 data blocks and one parity block).
  • "RAID6-N": indicates a RAID 6 group that contains N logical blocks (4 <= N <= 28) (N-2 data blocks and two parity blocks).
NOTE:
  • The number of data blocks on each tier is 1X, 2X, 4X, and 8X.
  • If "extent_size" has been specified, you can only use the default value.
  • You are advised to create RAID 6 groups on the capacity tier to ensure data security.

full_threshold=?

Capacity alarm threshold.

The value ranges from 1 to 95, expressed in percentage (%).

The default value is "80".

disk_domain_id=?

ID of a disk domain where a storage pool resides.

To obtain the value, run "show disk_domain general". The default value is "0".

pool_id=?

ID of a storage pool.

The value ranges from 0 to 127.

If this parameter is not used, the storage system automatically allocates an ID for a newly created storage pool.

extent_size=?

Data relocation granularity.

The value can be "512KB", "1MB", "2MB", "4MB", "8MB", "16MB", "32MB", or "64MB".

The default value is "4MB".

NOTE:

If "raid_level" employs a non-default configuration, you cannot specify "extent_size" because it will be calculated by the system.

stripe_depth=?

Stripe depth.

Possible values are "32KB", "64KB", "128KB", "256KB", or "512KB". The default value is "128KB".

NOTE:
  • If the stripe depth is "512KB", the number of data blocks of the RAID level cannot be greater than 8.
  • If the stripe depth is "256KB", the number of data blocks of the RAID level cannot be greater than 16.

usage_type=?

Storage pool use.

Possible values are "lun" or "file_system", where:

  • "lun": block storage services.
  • "file_system": file system services.

The default value is "lun".

full_protect_threshold=?

Alarm threshold of protection capacity for protecting data of LUNs in a storage pool.

The value ranges from 1 to 100, expressed in percentage (%). The default value is 100.

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. Check whether creating this storage pool will truncate the capacity of the disk domain.

description=?

Storage pool description.

The value contains 1 to 255 characters.

auto_deactivate_snapshot_switch=?

Whether to automatically deactivate snapshots that are not mapped to hosts when the storage pool is used up.

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

  • "yes": The system automatically deactivates snapshots that are not mapped to hosts when the storage pool is used up.
  • "no": The system does not automatically deactivate snapshots when the storage pool is used up.

protect_allocate_ratio=?

Pre-allocation ratio of data protection capacity.

The value ranges from 0 to 100, expressed in percentage (%). The default value is 0.

protect_fixed_reserve=?

Fixed capacity reserved for data protection.

The value is an integer, expressed in GB or TB. The value is smaller than the storage pool size.

protect_reserve_threshold=?

Maximum capacity reserved for data protection.

The value is an integer, expressed in GB or TB. The value is smaller than the storage pool size.

enhanced_data_protection_policy=?

Whether to use the enhanced data protection policy.

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

  • "yes": uses the enhanced data protection policy.
  • "no": does not use the enhanced data protection policy.

The default value is "yes".

Views

Developer view

Usage Guidelines

None

Example

Create storage pool "poolTest". Set its disk type to "SAS", capacity to "8GB", RAID policy to "RAID5-9", and ignore the disk capacity.

developer:/>create storage_pool name=poolTest disk_type=SAS capacity=8GB raid_level=RAID5-9 ignore_disk_capacity=yes  
Command executed successfully.

System Response

None

Translation
Download
Updated: 2019-07-11

Document ID: EDOC1000181602

Views: 654374

Downloads: 56

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