Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update documents about bs delete volume command #2740

Merged
merged 1 commit into from
Sep 14, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 45 additions & 0 deletions tools-v2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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
Expand Down
Loading