From 87d9f78016703eeb8d832b879d53fabc0066c43c Mon Sep 17 00:00:00 2001 From: setcy <2670061551@qq.com> Date: Tue, 12 Sep 2023 09:17:33 +0800 Subject: [PATCH] [docs] add bs delete volume recover&clone command Signed-off-by: setcy <2670061551@qq.com> --- tools-v2/README.md | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/tools-v2/README.md b/tools-v2/README.md index d2a8563a76..eb29d05730 100644 --- a/tools-v2/README.md +++ b/tools-v2/README.md @@ -68,6 +68,9 @@ A tool for CurveFS & CurveBs. - [status copyset](#status-copyset-1) - [delete](#delete-1) - [delete peer](#delete-peer) + - [delete volume](#delete-volume) + - [delete volume clone](#delete-volume-clone) + - [delete volume recover](#delete-volume-recover) - [update](#update) - [update peer](#update-peer) - [update leader](#update-leader) @@ -1525,6 +1528,48 @@ Output: +------------------+------------------+---------+---------+--------+ ``` +##### delete volume + +###### delete volume clone + +delete volume clone tasks in curvebs cluster + +Usage: + +```bash +curve bs delete volume clone +``` + +Output: + +```bash ++------+--------------------------------------+--------------------------------------+-------+---------+ +| USER | SRC | TASK ID | FILE | RESULT | ++------+--------------------------------------+--------------------------------------+-------+---------+ +| root | a19b5e5e-b306-488f-8e6d-d87282c869cb | d26e27a8-fcbd-4f7a-adf8-53795217cbb0 | /root | success | ++------+--------------------------------------+--------------------------------------+-------+---------+ +``` + +###### delete volume recover + +delete volume recover tasks in curvebs cluster + +Usage: + +```bash +curve bs delete volume recover +``` + +Output: + +```bash ++------+--------------------------------------+--------------------------------------+-------+---------+ +| USER | SRC | TASK ID | FILE | RESULT | ++------+--------------------------------------+--------------------------------------+-------+---------+ +| root | a19b5e5e-b306-488f-8e6d-d87282c869cb | 9dfa8699-a275-4891-8ec2-e447a0ccc77c | /root | success | ++------+--------------------------------------+--------------------------------------+-------+---------+ +``` + #### update ##### update peer