Introduction

Most Storage solutions now come with the capability to over provision the available storage. This allows over-committing the storage and using the space more efficiently.

CloudStack currently is able to leverage this functionality by specifying global parameter storage.overprovisioning.factor which is the admin defined over provision factor for all the primary storages.

Purpose

This functional specification describes the requirements for support of per-primary storage overprovision setting.

Bug Reference

https://issues.apache.org/jira/browse/CLOUDSTACK-6092

Feature Specification

Feature Description

DB Schema changes

Adding new column used_size to storage_pool table

Web Services APIs

listStoragePool will have overprovision factor also listed.

Logging and debugging

.All operations like setting and resetting storage overprovision factor, attach Volume, copy Template, resize Volume etc that involve Primary Storages capacity calculations would be logged at different log levels (INFO, ERROR, DEBUG) in management server log file.

Upgrade Scenarios

Upgraded setup will have an primary store setting for each primary store with the value same as the global setting.

UI Changes

Listing Primary Store will have the overprovisionfactor also.