Volume Replication
Creating volumes with non-default compression and the number of replicas settings can be done through the Openstack ‘volume types’ mechanism.
The default number of replicas for volumes is 3, and valid values forlightosdefaultnum_replicas are 1, 2, or 3.
To create a new volume type with compression enabled:
$ openstack volume type create --property compression='<is> True' volume-with-compression
To create a new volume type with one replica:
$ openstack volume type create --property lightos:num_replicas=1 --property volume_backend_name=lightos volume-with-one-replica
To create a new type for a compressed volume with three replicas:
$ openstack volume type create --property compression='<is> True' --property lightos:num_replicas=3 \ volume-with-three-replicas-and-compression
Then create a new volume with one of these volume types:
$ openstack volume create --size <size> --type <type name> <vol name>
Last updated on
Was this page helpful?
Powered by DeveloperHub
Next to read:
Multi-Attach© 2026 Lightbits Labs™
Lightbits Kubernetes CSI Quick Start Guide
Lightbits CSI Plugin Guide
Lightbits vCenter Configuration Guide
Lightbits OpenStack Driver Support
Lightbits OpenStack Driver - Legacy Support
Lightbits DMS Guide
Lightbits Cluster Federation
Proxmox Plugin (Tech Preview)
Intelligent Cluster Management (ICM)