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 10

OceanStor 5300 V3, 5500 V3, 5600 V3, 5800 V3, and 6800 V3 Storage System V300R003

"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. By creating them, application servers can utilize the storage space of storage systems. By organizing multiple disks into different RAID levels, a storage pool can provide expanded storage space, improved disk access performance, and enhanced data security.

Format

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

create storage_pool name=? disk_type=? capacity=? [ raid_level=? ] [ full_threshold=? ] [ disk_domain_id=? ] [ pool_id=? ] [ extent_size=? ] [ stripe_depth=? ] [ usage_type=? ]

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

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

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": indicates serial attached SCSI (SAS) disks.
  • "NearLine_SAS": indicates near line SAS (NearLine_SAS) disks.
  • "SSD": indicates solid state drives (SSDs).
  • "SAS_SED": indicates serial attached SCSI (SAS) self-encrypting disks.
  • "NearLine_SAS_SED": indicates near line SAS (NearLine_SAS) self-encrypting disks.
  • "SSD_SED": indicates solid state self-encrypting drives.
  • "SATA": Serial Advanced Technology Attachment(SATA) disks.
NOTE:
The following describes the disk type supported by each storage tier:
  • Tier 0 (high performance tier): SSD or SSD_SED
  • Tier 1 (performance tier): SAS disk or SAS_SED
  • Tier 2 (capacity tier): NearLine_SAS disk, NearLine_SAS_SED or SATA
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.
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 andparity 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 migration granularity.

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

MB".

The default value is "4 MB".

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.This parameter can be specified only in developer mode. For details about how to go to the developer mode, see the Restricted Command Reference.

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

NOTE:
  • If the stripe depth is 512 KB, the number of data blocks of the RAID level cannot be larger than 8.
  • If the stripe depth is 256 KB, the number of data blocks of the RAID level cannot be larger than 16.
usage_type=? Storage pool use.

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

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

Usage Guidelines

None.

V3 does not support file_system
.The default value is "lun".
full_protect_threshold=? The alarm threshold of protection capacity for protecting data of luns in storage pool.

The value range is from 1 to 100, expressed in percentage.The default value is '100'(1-100, default: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.

Level

Administrator

Usage Guidelines

None.

Example

Create storage pool "poolTest". Set its disk type to "SAS" and capacity to "8 GB" and use default settings for the other parameters.

admin:/>create storage_pool name=poolTest disk_type=SAS capacity=8GB
Command executed successfully.

System Response

None

Translation
Download
Updated: 2019-07-22

Document ID: EDOC1000084195

Views: 368115

Downloads: 1594

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