Block Storage
Overview
Block Storage: The block storage function provides high-performance service for important business.
Related Definitions
Block Storage Volume: A block storage volume displays the block storage device provided in a storage pool. The data of a block storage volume is distributed in multiple data disks of multiple servers based on specified replicas and has advanced characteristics such as thin provisioning and scalability.
Snapshot: A snapshot is a point-in-time capture of data status in a block storage volume and provides data backup and recovery features for the storage system.
Block Storage Volume
Create a General Block Storage Volume
Log in to the distributed storage platform. On the main menu, choose Block Storage > Block Storage Volume. On the Block Storage Volume page, click General Block Storage Volume > Local > Create Block Storage Volume. Then, the Create Block Storage Volume page is displayed.
Set the following parameters:
Name: Set the name for the block storage volume.
Naming rules: 1-128 characters long. The name can only contain Chinese characters, letters (a-z, A-Z), digits, spaces, hyphens (-), underscores (_), periods (.), parentheses (), colons (:), and plus signs (+). You cannot start or end with spaces.
Quantity: Set the number of block storage volumes. You can create block storage volumes in bulk.
The field requires to be a digit ranging from 1 to 100.
Storage Pool: Select storage pools for block storage volumes.
The platform automatically filters available storage pools that meet the three requirements below at the same time:
- The type of the storage pool is Block Storage.
- The role of the storage pool is Data Pool.
- The data redundancy type is Replicas.
Capacity: Set the capacity for the block storage volume (MB/GB/TB).
- The input must be greater than 1 MB and not exceed the maximum limit of 512TB.
- We recommend you input a capacity no more than the actual available capacity of the selected storage pool.
Manage a General Block Storage Volume
Manage a Local Block Storage Volume
Log in to the distributed storage platform. On the main menu, choose Block Storage > Block Storage Volume > General Block Storage Volume. On the General Block Storage Volume page, click Local. Then, the Local page is displayed.
The following actions help to manage block storage volumes.
| Action | Description |
|---|---|
| Create Block Storage Volume | Create block storage volumes. You can create up to 100 volumes at a time. |
| Set Business QoS | If you enable this parameter, you can set the upper limit of the I/O requests that can be processed per second and the read/write bandwidth for the block storage volume.
|
| Flatten | Disconnect the volume with its source, creating an independent volume. Bulk action is supported. We recommend selecting fewer than 4 volumes every time to minimize the impact on I/O of the storage pool. |
| Expand Capacity | Increases volume capacity.
|
| Migrate | Migrate volumes to other storage pools. You can migrate up to 6 volumes at a time.
|
| Create Snapshot | Create snapshots for block storage volumes. You can create snapshots for up to 32 volumes at a time.
|
| Roll Back | Restore volume data to the selected snapshot point. All data from the snapshot point to the current time point will be overwritten. Note that the action is irreversible. Proceed with caution.
|
| Deep Clone | Create full copies including all snapshots and QoS configurations of source volumes. You can clone up to 6 volumes at a time. |
| Delete | Remove local block storage volumes. You can delete a maximum of 20 volumes at a time.
|
Manage a Third-Party Block Storage Volume
Log in to the distributed storage platform. On the main menu, choose Block Storage > Block Storage Volume > General Block Storage Volume. On the General Block Storage Volume page, click Third Party. Then, the Third Party page is displayed.
The following actions help to manage third-party block storage volumes.
| Action | Description |
|---|---|
| Update | You can manually update the list of third-party block storage volumes and view their details. |
| Set Business QoS | If you enable this parameter, you can set the upper limit of the I/O requests that can be processed per second and the read/write bandwidth for the block storage volume.
|
| Create Snapshot | Create snapshots for block storage volumes. You can create snapshots for up to 32 volumes at a time.
|
| Deep Clone | Create full copies including all snapshots and QoS configurations of source volumes. You can clone up to 6 volumes at a time. |
| Delete | Remove the updated block storage volumes. You can delete a maximum of 20 volumes at a time.
|
Create a High-Performance Block Storage Volume
Log in to the distributed storage platform. On the main menu, choose Block Storage > Block Storage Volume. On the Block Storage Volume page, click High-Performance Block Storage Volume > Local > Create Block Storage Volume. Then, the Create Block Storage Volume page is displayed.
Set the following parameters:
Name: Set the name for the block storage volume.
Naming rules: 1-128 characters long. The name can only contain Chinese characters, letters (a-z, A-Z), digits, spaces, hyphens (-), underscores (_), periods (.), parentheses (), colons (:), and plus signs (+). You cannot start or end with spaces.
Quantity: Set the number of block storage volumes. You can create block storage volumes in bulk.
The field requires to be a digit ranging from 1 to 100.
Storage Pool: Select high-performance storage pools for block storage volumes.
Capacity: Set the capacity for the block storage volume (MB/GB/TB).
- The input must be greater than 1 MB and not exceed the maximum limit of 512TB.
- We recommend you input a capacity no more than the actual available capacity of the selected storage pool.
Manage a High-Performance Block Storage Volume
Manage a Local Block Storage Volume
Log in to the distributed storage platform. On the main menu, choose Block Storage > Block Storage Volume > High-Performance Block Storage Volume. On the High-Performance Block Storage Volume page, click Local. Then, the Local page is displayed.
The following actions help to manage block storage volumes.
| Action | Description |
|---|---|
| Create Block Storage Volume | Create block storage volumes. You can create up to 100 volumes at a time. |
| Delete | Remove local block storage volumes. You can delete a maximum of 20 volumes at a time.
|
Snapshot Management
Log in to the distributed storage platform. On the main menu, choose Block Storage > Snapshot Management. Then, the Snapshot Management page is displayed.
The following actions help to manage snapshots.
| Action | Description |
|---|---|
| Clone | Clone block storage volumes based on selected snapshots.
|
| Delete | Delete selected snapshots. After deletion, you cannot roll back the volume to the snapshot point. Proceed with caution.
|
For the snapshot mechanism, see Volume Snapshot Protection.
Volume Snapshot Protection
Snapshots serve as an important data protection mechanism in the ZStack ZStone. Snapshots allow users to create a complete state copy of a block storage volume at a specific point in time without interrupting services or impacting the production environment.
Snapshot Creation
The ZStack ZStone uses a COW (Copy-On-Write) snapshot technology. After creating a COW snapshot, the system creates a read-only copy of the original block device within the storage cluster. Data blocks are duplicated only when modifications occur in either the original device or the snapshot. This preserves the state of the original data in the snapshot while avoiding unnecessary data redundancy. The system also records the relationship between the original block device and the snapshot, as well as metadata information for each snapshot, such as creation time, size, and parent snapshot. Recording this metadata enables the system to accurately locate the specific snapshot state during data recovery.
Data Rollback and Recovery
The ZStack ZStone supports creating new block storage volumes from snapshots, also known as cloning, where the new volume starts from the state of a specific snapshot. Additionally, in backup recovery or data rollback scenarios, you can revert a block storage volume to the state of a specified snapshot.
