Create a General Storage Pool
Select available data disks and configure the storage pool type and data security policy.
Before you begin
- Distributed storage has been deployed or taken over, and the required feature licenses are valid. The available storage-type tabs depend on the licensed features.
- You have prepared available data disks. For instructions, see Create Data Disk.
Procedure
- In the navigation pane of ZSphere, choose Storage Service > Storage Pools, and click the General Storage Pools tab.
- Click Create Storage Pool.
-
On the Create Storage Pool page, configure the following options for the selected storage type.
Select block, object, or file storage based on your requirements. The options for each type are described below.
Create a Block Storage Pool
Option Description Name Specify a storage pool name. The storage pool name must contain 1-128 characters. Chinese characters, English letters, digits, and the following 7 characters are supported: hyphen (-), underscore (_), period (.), parentheses (( and )), colon (:), and plus sign (+).
Type Select Block Storage Role The default is Data Pool and cannot be changed. Data Security Policy - Type: The default is Replica and cannot be changed.
-
Replica Count: Normally, select 2-6 replicas. If single-replica mode is enabled on the storage side, you can select 1 replica. A single replica poses a risk of data loss and is not recommended for production environments.Note:We recommend at least 3 replicas in production environments to help ensure data safety.
- Level: Select the server, rack, or room failure-domain level based on the topology design.
-
Data Disks: Select the data disks to add from the topology view.Note:
- The selected data disks must meet the redundancy-level requirements.
- We recommend selecting data disks of the same capacity where possible.
Create an Object Storage Pool
Option Description Name Specify a storage pool name. The storage pool name must contain 1-128 characters. Chinese characters, English letters, digits, and the following 7 characters are supported: hyphen (-), underscore (_), period (.), parentheses (( and )), colon (:), and plus sign (+).
Type Select Object Storage Role Select a storage pool role: data pool, index pool, or compound pool. Note:- Data pool: Stores object data.
- Index pool: Stores object index information.
- Compound pool: Supports multiple purposes and can be selected as an index pool or data staging pool in a storage policy.
Data Security Policy -
Type: Select the redundancy type: replica or EC.
- If you select replica, configure the following options:
- Replica Count: Normally, select 2-6 replicas. If single-replica mode is enabled on the storage side, you can select 1 replica. A single replica poses a risk of data loss and is not recommended for production environments.
Note:- Index pools and compound pools support only replica-based redundancy policies.
- We recommend at least 3 replicas in production environments to help ensure data safety.
- If you select EC, configure the following options:
-
EC Policy: Select a recommended EC policy or configure a custom policy.
- Recommended: Select one of the 6 recommended EC policies: 2+1, 4+2, 8+3, 4+2:1, 8+2:1, or 16+2:1.
-
Custom: Enter the number of data chunks and parity chunks to define a custom EC policy.Note:Enter positive integers. The number of data chunks must exceed the number of parity chunks, and the number of parity chunks must not exceed 4.
Note:- An EC policy consists of data chunks and parity chunks. Data chunks are data fragments, and parity chunks are generated by an encoding algorithm. For example, a server-level 4+2 EC policy allows data to remain available when 2 servers fail.
- The storage efficiency ratio is displayed in real time: data chunks / (data chunks + parity chunks).
-
EC Policy: Select a recommended EC policy or configure a custom policy.
- If you select replica, configure the following options:
- Level: Select the server, rack, or room failure-domain level based on the topology design.
-
Data Disks: Select the data disks to add from the topology view.Note:
- The selected data disks must meet the failure-domain requirements of the data security policy.
- We recommend selecting data disks of the same capacity where possible.
Create a File Storage Pool
Option Description Name Specify a storage pool name. The storage pool name must contain 1-128 characters. Chinese characters, English letters, digits, and the following 7 characters are supported: hyphen (-), underscore (_), period (.), parentheses (( and )), colon (:), and plus sign (+).
Type Select File Storage Role Select a storage pool role: data pool or metadata pool. Data Security Policy - Type: The default is Replica and cannot be changed.
-
Replica Count: Normally, select 2-6 replicas. If single-replica mode is enabled on the storage side, you can select 1 replica. A single replica poses a risk of data loss and is not recommended for production environments.Note:We recommend at least 3 replicas in production environments to help ensure data safety.
- Level: Select the server, rack, or room failure-domain level based on the topology design.
-
Data Disks: Select the data disks to add from the topology view.Note:
- The selected data disks must meet the redundancy-level requirements.
- We recommend selecting data disks of the same capacity where possible.
- A metadata pool requires native data disks backed by SSDs.
- Review the configuration and data disk selections, and click OK.
- Return to the storage pool list and verify the new pool's status and capacity.
