Creating a Storage Pool
Application servers and VMs use storage space from storage pools of a storage system. Therefore, you need to create storage pools to ensure sufficient storage space for application servers and VMs.
Prerequisites
A disk domain has been created.
Context
For a storage system with the 64 GB cache capacity per controller, disk domain disk_domain_0 has been used to create storage pool storage_pool_0 for installing VMs.
- A storage pool is a logical combination of one or multiple storage tiers in a disk domain. Different storage tiers may have different RAID policies.
- A RAID policy includes a RAID level and the number of data blocks and parity blocks for this RAID level.
- A RAID level is available in typical and flexible configurations based on the number of data blocks and parity blocks. Table 4-3 describes the detailed configuration.
Table 4-3 RAID level configuration
RAID Level
Typical Configuration
Flexible Configuration
RAID 0
-
-
RAID 1
- 2Da
- 4D
-
RAID 10
-
-
RAID 3
- 2D+1Pb
- 4D+1P
- 8D+1P
Configurations from 2D+1P to 13D+1P except typical configurations
RAID 5
- 2D+1P
- 4D+1P
- 8D+1P
Configurations from 2D+1P to 13D+1P except typical configurations
RAID 50
- (2D+1P) x 2
- (4D+1P) x 2
- (8D+1P) x 2
-
RAID 6
- 2D+2P
- 4D+2P
- 8D+2P
- 16D+2P
Configurations from 2D+2P to 26D+2P except typical configurations
a: D indicates a data block.
b: P indicates a parity block.
NOTE:For an OceanStor 2800 V5 storage system with the 64 GB cache capacity per controller, you are advised to use NL-SAS disks to create RAID 6 (26D+2P).
Procedure
- Log in to DeviceManager.
- Choose
Provisioning >
Storage Pool.
- Click Create.
The Create Storage Pool dialog box is displayed.
- Enter a name and description for the storage pool.
- In the Name text box, enter a name for the storage pool.
- In the Description text box, enter the function and properties of the storage pool. The descriptive information helps identify the storage pool.
- In Usage, select Block Storage Service.
Usage is unchangeable after it is configured.
- A storage pool whose Usage is Block Storage Service allows you to create LUNs only.
- A storage pool whose Usage is File Storage Service allows you to create file systems only.
To optimize performance, use different disk domains to create storage pools for the block storage service and file storage service.
This parameter applies to V300R006C20V500R007C10 and later versions.
- In Disk Domain, select the disk domain to be added.
- In Storage Medium, select the storage tiers needed for the storage pool and set related parameters.
- Configure whether the system uses enhanced RAID data protection.Table 4-4 describes the related parameter.Table 4-4 Enhanced RAID data protection
Parameter
Description
Enhanced RAID data protection
After this option is selected, the storage system will evaluate whether the current data reliability meets the recommended requirements based on the disk type, disk quantity, single disk capacity, RAID level, and RAID member disk quantity in the current disk domain.
For versions earlier than V500R007C70:
- If the current data reliability meets the recommended requirements, you can create a storage pool successfully.
- If the current data reliability does not meet the recommended requirements, you are not allowed to create a storage pool using the current configurations. In this case, you can adjust the RAID policy or create a disk domain that contains the required number of same-type disks so that the data reliability meets the recommended requirements.
Example: A disk domain consists of 70 SAS disks with an average capacity of 1200 GB per disk. Creating a RAID 5 (8D+1P) storage pool in this disk domain will fail because the number of SAS disks exceeds the recommended value for recommended data reliability. You are advised to create a disk domain that contains fewer (for example 65) SAS disks, or adjust the RAID policy of the storage pool, for example, to RAID 5 (7D+1P).
For V500R007C70 and later versions:
The storage system automatically filters out RAID policies that do not meet the recommended data reliability requirements.
[Default value]
Selected
- For details about how a storage system evaluates whether the recommended data reliability requirements are met, see https://forum.huawei.com/enterprise/en/criteria-to-evaluate-whether-recommended-data-reliability-requirements-are-met-with-enhanced-data-protection-policy-used/thread/396345-891.
- Data reliability is evaluated by calculating the probability that data will not be lost if multiple disks in a disk domain fail at the same time.
- The GUI may vary with the product version. The actual GUI prevails. For versions earlier than V500R007C70, this function is displayed as Use the enhanced data protection policy.
- Select storage tiers that meet service requirements.
- Set basic properties for the storage tiers. Table 4-5 describes related parameters.
Table 4-5 Storage tier parameters
Parameter
Description
Value
RAID Policy
RAID level. The system supports RAID 0, RAID 1, RAID 10, RAID 3, RAID 5, RAID 50, and RAID 6.
NOTE:RAID 0 can only be configured using the CLI. For details, see the command reference specific to your product model and version.
[Example]
Use NL-SAS disks to create RAID 6 (26D+2P)
Capacity
Capacity that the storage tier provides for the storage pool.
Two capacity levels are provided: TB and GB.
NOTE:If you select Use all available capacity, the storage system allocates all available capacity in this storage tier to the new storage pool.
The capacity must be no larger than the available capacity of the storage tier.
- Configure whether the system uses enhanced RAID data protection.
- Set a system snapshot activation policy.Table 4-6 describes the related parameters.Table 4-6 System snapshot activation policy
Parameter
Description
Setting
Automatic snapshot deactivation
If Automatic snapshot deactivation is selected, the system automatically deactivates snapshots that are not mapped to any host when the storage pool is used up.
NOTE:- By default, this option is not selected during storage pool creation. When this option is not selected, the system will not automatically deactivate snapshots that are not mapped to any host.
- Some product models do not support HyperSnap. To check whether your product model supports HyperSnap, see its product description.
- This parameter is applicable only to storage pools for Block Storage Service.
- Some product versions and models do not support this parameter. The actual GUIs prevail.
[Default value]
Disabled
- Optional: Set advanced properties for the storage pool.
- Click Advanced.
The Advanced Property Settings dialog box is displayed.
Table 4-7 describes the related parameters.
GUIs may vary with product versions and models. The actual GUIs prevail.
Table 4-7 Advanced parameters of a storage poolParameter
Description
Value
Data Protection Capacity Alarm Threshold (%)
An alarm will be generated when the percentage of the storage pool's data protection capacity to its total capacity exceeds the data protection capacity alarm threshold.
[Value range]
1 to 100
[Default value]
100
Used Capacity Alarm Threshold (%)
If the storage pool contains a LUN with value-added services, an alarm will be generated when the percentage of the storage pool's used capacity to its total capacity reaches the used capacity alarm threshold. Alarms are generated in the following circumstances:
- When the used capacity reaches the used capacity alarm threshold, the system generates an alarm informing that the capacity of storage pool is insufficient.
- When the used capacity alarm threshold is not greater than 88 and the used capacity reaches 90%, the system generates an alarm informing that the storage pool is running out.
- When the used capacity alarm threshold is greater than 88 and the used capacity reaches (used capacity alarm threshold +2) %, the system generates an alarm informing that the storage pool is running out.
NOTE:If the used capacity alarm threshold is set to 85:
- When the used capacity reaches 85%, the system generates an alarm informing that the capacity of storage pool is insufficient.
- When the used capacity reaches 90%, the system generates an alarm informing that the storage pool is running out.
If the used capacity alarm threshold is set to 91.
When the used capacity reaches 93%, the system generates an alarm informing that the storage pool is running out.
A proper used capacity alarm threshold helps you monitor the capacity usage of a storage pool.
[Value range]
1 to 95
[Default value]
80
Data Migration Granularity
A logical storage space with a fixed size divided from a CKG. It is the smallest unit (granularity) for data migration and hot data statistics collection. It is also the smallest unit for space application and release in a storage pool. The default value 4 MB is recommended. The value cannot be changed after being set.
NOTE:You can configure this parameter only when RAID levels of all storage tiers are typical configuration.
[Value range]
512 KB to 64 MB
[Default value]
4 MB
Pre-allocated Capacity for Data Protection (%)
Indicates the percentage of the capacity reserved for the data protection service in the total capacity of a LUN. The pre-allocated capacity will be deducted from the storage pool.
NOTE:- Assume that the pre-allocated capacity for data protection is set to 10% in a storage pool. If a 100 GB LUN and a 50 GB LUN are created in the storage pool and are both configured with the data protection service, then the system will reserve (100 x 10% + 50 x 10%) GB data protection capacity in the storage pool.
- This parameter is not supported by some product versions or models. The actual GUIs prevail.
- By default, Pre-allocated Capacity for Data Protection (%), Max. Capacity Reserved for Data Protection, and Fixed Capacity Reserved for Data Protection are not displayed. To display these options, click All.
[Value range]
0 to 100
[Default value]
0
Max. Capacity Reserved for Data Protection
Maximum capacity reserved for the data protection service.
NOTE:This parameter is not supported by some product versions or models. The actual GUIs prevail.
[Value range]
Only digits or -- is allowed.
NOTE:- The maximum capacity reserved for data protection must be less than the total capacity of the storage pool.
- -- indicates that the maximum capacity reserved for data protection is not limited but must be less than the total capacity of the storage pool.
[Default value]
--
Fixed Capacity Reserved for Data Protection
Fixed capacity reserved for the data protection service.
NOTE:This parameter is not supported by some product versions or models. The actual GUIs prevail.
[Value range]
0 to maximum capacity reserved for data protection
NOTE:The fixed capacity reserved for data protection cannot exceed the maximum capacity reserved for data protection.
[Default value]
0
Stripe Depth
Stripe refers to that continuous data is divided into data blocks of the same size and data blocks are distributed on different disks. In this way, I/O loads are balanced among disks, improving read/write performance.
Stripe depth refers to the stripe size, indicating the size of data blocks on each disk. A smaller stripe size corresponds to smaller data blocks. Smaller data blocks are distributed on more disks, improving transmission performance. However, more time is required to find different data blocks, decreasing disk locating performance. On the contrary, fewer data blocks indicate lower transmission performance but higher disk locating performance.
Possible values for this parameter are:
- Automatically Selected
The system selects the optimal stripe depth based on the RAID policy of the storage tier and data migration granularity.
- 32 KB
- 64 KB
- 128 KB
128 KB is recommended for random read/write services (such as database services).
- 256 KB
- 512 KB
512 KB is recommended for sequential read/write services (such as Media & Entertainment services)
NOTE:The parameter value cannot be changed after being set.
This parameter is not supported by some product versions or models. The actual GUIs prevail.
[Default value]
Automatically Selected
- Click OK.
- Click Advanced.
- In the Create Storage Pool dialog box, click OK.
If a security alert dialog box is displayed, confirm the information in the dialog box and select I have read and understand the consequences associated with performing this operation. Click OK.
The Execution Result dialog box is displayed, indicating that the operation succeeded.
- Click Close.