lbcli List Volumes

Returns the list of volumes in the Lightbits cluster and their state. You can add --output-format=json or --output-format=yaml to get a different format of the information. Note that json/yaml format will give more detailed information on each volume.

When running with system_jwt you will get all the volumes in the cluster. If you run with a tenant JWT, you will get only the volumes of the specific tenant.

Sample Command

The cluster admin API will get all the volumes in the cluster (across all of the projects).

Bash
Copy

This is a similar command, but with the JWT not stored in the lbcli configuration file. This will list the volumes of project1:

Bash
Copy

Sample Output (Default)

Bash
Copy

Sample Output - JSON format (of One Volume for the Example)

Bash
Copy

This output details all of the parameters used to create the volume - such as the ACL, replication factor (replica count), and compression state. In addition, the UUID of each Lightbits node used to create the volume on the Lightbits cluster is provided under the output’s nodeList area.

Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
On This Page
lbcli List Volumes