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.

Copy

Environment

  • Platform9 Managed OpenStack - All versions
  • Cinder

Answer

Copy

For example:

  1. 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.
Copy
  1. Let us consider a volume to be provisioned/migrated to be of size 200 GB.
  2. The provisioned ratio calculated is to be 1.01 which higher than the subscription ratio of 1.0.
Copy
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard