Procedure
Run the following command on any node in the cluster to increase the volume replication factor:
zbs-meta volume update <pool_name> <volume_name> [--replica_num <REPLICA_NUM>]
| Parameter | Description |
|---|---|
--prefer_cid | The chunk ID preferentially selected for replica storage. |
--replica_num <REPLICA_NUM> | Optional. Updates the replication factor of the volume. Only increasing is supported; decreasing is not supported. |
pool_name | Required. The name of the pool. |
volume_name | Required. The name of the volume. |
Output note
If the command succeeds, no output is displayed.