API Doc
Search Docs...
⌘ K
OverviewDeploymentManagementOperationReferenceGlossary

Configuring a chunk to enter or exit storage maintenance mode

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

ParameterDescription
cidThe chunk ID.
is_maintenanceWhether 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

ParameterDescription
Storage PoolThe associated storage pool.
Use StateThe usage status.
Link StatusThe connection status.
Data CapacityThe total data capacity provided by the capacity tier.
Valid SpaceThe valid data space in the capacity tier.
Allocated SpaceThe allocated data space in the capacity tier (space recognized as used by meta).
Failure Data SpaceThe failure data space in the capacity tier.
Perf Data CapacityThe total data capacity provided by the performance tier.
Perf Valid SpaceThe valid data space in the performance tier.
Perf Allocated SpaceThe allocated data space in the performance tier (space recognized as used by meta).
Perf Failure Data SpaceThe failure data space in the performance tier.
Registered DateThe registration time.
LSM VersionThe LSM version.
ZoneThe associated availability zone.
Maintenance ModeWhether it is in maintenance mode.