Overview
Volume types are the mechanism through which administrators expose storage tiers to users. Each volume type maps to a specific backend through thevolume_backend_name extra spec and optionally enforces I/O quality-of-service limits. Well-defined volume types are essential for predictable workload performance and efficient backend utilization.
Prerequisites
- Administrator credentials with the
adminrole - At least one storage backend configured and registered with the scheduler
- Backend names available via
openstack volume backend pool list --long
Create a Volume Type
- Dashboard
- CLI
Navigate to Volume Types
Log in to the Xloud Dashboard (
https://connect.<your-domain>) and navigate to
Admin → Volumes → Volume Types.Create the type
Click Create Volume Type. Enter a descriptive name (e.g.,
nvme, ssd,
standard) and an optional description. Click Create Volume Type.Set the backend association
In the volume type list, click the type name to open its details page. Under
Extra Specs, click Create and add:
| Key | Value | Purpose |
|---|---|---|
volume_backend_name | <backend-name> | Routes volumes to the correct backend |
Configure QoS Policies
Quality-of-Service specs enforce I/O limits on volumes associated with a type. QoS policies are applied at the hypervisor (front-end), at the storage backend (back-end),
or at both layers.
- Dashboard
- CLI
Create a QoS Spec
Navigate to Admin → Volumes → QoS Specs. Click Create QoS Spec.
Enter a name (e.g.,
ssd-standard-qos) and set the consumer:| Consumer | Effect |
|---|---|
front-end | Limits enforced at the hypervisor (recommended for RBD) |
back-end | Limits enforced at the storage backend |
both | Limits enforced at both layers |
Add I/O limit specs
After creation, open the QoS Spec and add limits:
| Key | Example Value | Description |
|---|---|---|
total_iops_sec | 5000 | Maximum combined read + write IOPS |
read_iops_sec | 3000 | Read IOPS limit |
write_iops_sec | 2000 | Write IOPS limit |
total_bytes_sec | 524288000 | Throughput cap in bytes/sec (500 MiB/s) |
read_bytes_sec | 314572800 | Read throughput cap (300 MiB/s) |
write_bytes_sec | 209715200 | Write throughput cap (200 MiB/s) |
Restrict Volume Type Access
By default, volume types are available to all projects. Sensitive types (e.g., encrypted or high-performance tiers) can be restricted to specific projects:Make a volume type private
Grant access to a specific project
List projects with access
Recommended QoS Values by Tier
| Tier | total_iops_sec | total_bytes_sec | Consumer |
|---|---|---|---|
| NVMe | 50,000 – 200,000 | 4,294,967,296 (4 GB/s) | front-end |
| SSD | 5,000 – 20,000 | 1,073,741,824 (1 GB/s) | front-end |
| Standard | 500 – 2,000 | 314,572,800 (300 MB/s) | front-end |
Next Steps
Storage Tiers
Configure NVMe, SSD, and HDD tier mappings and set the default volume type
Encryption
Enable at-rest encryption on volume types
Storage Backends
Configure and manage the underlying backend drivers
Volume Types (User)
User guide for selecting the correct volume type for a workload