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
$ lbcli create volume --name=vol2 --acl=acl1 --size="1 Tib" --replica-count=3 --compression=true
In this command, the JWT is not stored in the lbcli configuration file::
$ lbcli -J $JWT create volume --size="1 Tib" --name=vol2 --acl="acl1" --replica-count=2 --compression=true --project-name=default
Sample Output
Name UUID State Protection State NSID Size Replicas Compression ACL Rebuild Progress
vol2 105624dd-c96f-4668-a2a2-da0b754ac462 Creating NotAvailable 0 1.0 TiB 3 true values:"acl1"
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.
Was this page helpful?