Title
Create new category
Edit page index title
Edit category
Edit link
Creating a Volume
With the Lightbits software installed and the Lightbits management services running, you can create a volume and connect that volume to your application servers.
To create a volume, enter the lbcli create volume command.
Sample Command
In this command, the JWT is not stored in the lbcli configuration file:
Sample Output
This example command creates a 10 GB volume with two replicas, and a simple “test” string is used as the Access Control List (ACL) value. This ACL string is used for the application client when the nvme connect command is entered to connect to this new volume over NVMe/TCP.
Creating a Compressed Volume
The lbcli create volume command also supports a flag to enable data to be compressed as much as possible in a volume.
Use the lbcli create volume command to create a volume with compression enabled (true).
Sample Command
In this command, the JWT is not stored in the lbcli configuration file::
Sample Output
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.
List Details About the Newly Created Volume
You can use the lbcli get volumes command to see specific information related to any volume.
Sample Command
In this command, the JWT is not stored in the lbcli configuration file:
Sample Output
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.
© 2026 Lightbits Labs™