Delete volumes from a datastore.
Procedure
Run the following command on any node in the cluster:
zbs-meta volume delete <pool_name> <volume_name> [--with-snapshots]
| Parameter | Description |
|---|---|
pool_name | The datastore to which the volume belongs. |
volume_name | The volume name. |
--with-snapshots | Deletes volume snapshots. |
Output note
If the command succeeds, no output is displayed.