Procedure
Run the following command on any node in the cluster to set a chunk to enter or exit storage maintenance mode.
zbs-meta chunk set_maintenance <cid> <is_maintenance> [--expire_duration_s <EXPIRE_DURATION_S>]
| Parameter | Description |
|---|---|
cid | The chunk ID. |
is_maintenance | Whether to enter maintenance mode. Valid values: true or false. |
--expire_duration_s <EXPIRE_DURATION_S> | Optional. Specifies the maintenance mode expiration time, only valid for entering storage maintenance mode. If not specified, the system defaults to the maximum of 604800 seconds (7 days). |
Output example
----------------------- ----------------------------------------------
ID 1
IP 10.2.234.198
Host Name acos-6-3-0-b45-el7X0617125715X3
Port 10200
Storage Pool system
Use State IN_USE
Link Status CONNECTED_ERROR
Data Capacity 602.34 GiB
Valid Space 602.34 GiB
Allocated Space 0.00 B
Failure Data Space 0.00 B
Perf Data Capacity 20.00 GiB
Perf Valid Space 20.00 GiB
Perf Allocated Space 768.00 KiB
Perf Failure Data Space 0.00 B
Registered Date 2024-06-17 14:06:12
LSM Version 2.4.1
Zone default
Maintenance Mode True
----------------------- ----------------------------------------------Output note
| Parameter | Description |
|---|---|
Storage Pool | The associated storage pool. |
Use State | The usage status. |
Link Status | The connection status. |
Data Capacity | The total data capacity provided by the capacity tier. |
Valid Space | The valid data space in the capacity tier. |
Allocated Space | The allocated data space in the capacity tier (space recognized as used by meta). |
Failure Data Space | The failure data space in the capacity tier. |
Perf Data Capacity | The total data capacity provided by the performance tier. |
Perf Valid Space | The valid data space in the performance tier. |
Perf Allocated Space | The allocated data space in the performance tier (space recognized as used by meta). |
Perf Failure Data Space | The failure data space in the performance tier. |
Registered Date | The registration time. |
LSM Version | The LSM version. |
Zone | The associated availability zone. |
Maintenance Mode | Whether it is in maintenance mode. |