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
$ lbcli create volume --name vol_1 --acl=test --size="10 Gib" --replica-count=2 --project-name=defaultIn this command, the JWT is not stored in the lbcli configuration file:
$ lbcli -J $JWT create volume --size="10 Gib" --name=vol_1 --acl="test" --replica-count=2 --project-name=defaultSample Output
Name UUID State Size Replicasvol_1 82f6a469-5ccd-449b-8f43-acc53cb887a7 Creating 10 GiB 2This 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.
Was this page helpful?