[openstack-dev] [Nova] Nova compute reports the disk usage

Jay Pipes jaypipes at gmail.com
Wed Aug 3 12:53:29 UTC 2016

On 08/03/2016 04:35 AM, Tuan Luong wrote:
> Hi,
> When we try to add ephemeral disk in booting instance, as we know that
> it will create disk.local and the backing file in _/base. Both of them
> are referred to the ephemeral disk. When nova reports the disk usage of
> compute, does it count both of them for the used disk? What I see in the
> resource/_tracker that it calculates the instance[‘ephemeral_gb’].

The resource tracker reports disk usage by adding up the root_gb + 
ephemeral_gb values of the *flavor* attribute of the instances assigned 
to that compute node.

Does that answer your question?


More information about the OpenStack-dev mailing list