How-To Calculate Cinder's Provisioned Ratio
Problem
You want to calculate the provisioned ratio for a Cinder Host in terms of the scheduler's capacity_filter. Helpful in scenarios where Cinder Pool is exceeding the max_over_subscription_ratio.
Environment
- Platform9 Managed OpenStack - All versions
- Cinder
Answer
For example:
- Consider a Cinder Host to have allocated_capacity_gb of 6740 GB and total_capacity_gb equal to 6881.28 GB. This information can be retrieved using the following command.
- Let us consider a volume to be provisioned/migrated to be of size 200 GB.
- The provisioned ratio calculated is to be 1.01 which higher than the subscription ratio of 1.0.
Was this page helpful?