lbcli Create Volume

Creates a volume with a specified unique name, size (capacity), and replication factor (valid values: 1, 2 or 3). Please note that in Lightbits SDS it is recommended to use only replication factor 3 in order to keep data integrity and durability. RF 1 and 2 should only be used for non-critical data that can sustain data loss.

An Access Control List (ACL) must also be applied to the created volume in order to limit access to specific clients. Using ALLOW_ANY will enable any client to discover and connect to the volume (this should be used based on your security requirements).

This example command creates a volume with 2GB of capacity, an ACL string of “acl3”, and a replication factor of 3.

Examples

Bash
Copy

Sample Output

Bash
Copy

A volume can also be created to store all compressed data, in order to increase capacity. Use the same create volume commands to create a volume with compression enabled (true).

Sample Command

Bash
Copy

Sample Output

Bash
Copy

The sample output is standard when using the lbcli immediately after executing the create command. The output indicates that the volume is being created with the values provided. If you wait a few seconds the state should change to available and protection to fully protected.

Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
On This Page
lbcli Create Volume