sxvol-remove(1)

sxvol-remove1

Remove volumes from sx clusters

Usage

sxvol remove [OPTIONS] sx:// [profile@] cluster/volume

Overview

Remove an empty volume from a cluster. Only cluster administrators can remove volumes and for safety reasons, it is not possible to remove a volume until all its files get deleted first (see sxrm(1) on how to delete files).

Options

-h, --help

Print help and exit

--full-help

Print help, including hidden options, and exit

-V, --version

Print version and exit

-D, --debug

Enable debug messages

-c, --config-dir=PATH

Path to the SX configuration directory (default: ~/.sx)

-f, --filter-dir=PATH

Path to the SX filter directory (default: /usr/lib/sxclient)

Examples

To remove a non-empty volume 'trash' first recursively remove all its files and then remove the volume itself:
sxrm -r sx://admin@cluster/trash sxvol remove sx://admin@cluster/trash

Releases

Unchanged in 2 releases since Debian 9 (Stretch).

  1. 9–10

From sx 2.0+ds-4+b1 in Debian 10 (Buster). Parsed by carta from the page's man source.