Procedure
Run the following command on any node in the cluster to scan for extents that require recovery:
zbs-meta recover scan_immediate
Output note
If the command succeeds, no output is displayed.
Procedure
Run the following command on any node in the cluster to enable data recovery:
zbs-meta recover enable
Output example
EnabledProcedure
Run the following command on any node in the cluster to disable data recovery:
zbs-meta recover disable
Output example
DisabledProcedure
Run the following command on any node in the cluster:
zbs-meta recover get_mode_info
Output example
Recover enable: True
Recover scan interval: 60sOutput note
| Parameter | Description |
|---|---|
Recover enable | Whether data recovery is enabled. |
Recover scan interval | The scan interval for data recovery. |
Procedure
Run the following command on any node in the cluster to view extents currently under recovery:
zbs-meta recover list
Output example
No recovery command is running.