Ask Your Question
0

What is the difference between root_gb, disk_gb and ephemeral_gb

asked 2016-09-22 23:16:14 -0500

gans-developer gravatar image

updated 2016-09-22 23:30:36 -0500

I am using ceilometer to get notification data for compute.instance.* events.While configuring traits in event_definitions.yml file, i came across 3 different attributes for storage/size of vm: disk_gb, root_gb, ephemeral_gb.

I was not able to find details or significant difference between these attributes.

Someone please help me with why should i keep all the three in my reports.

[update1] Here is the link where i got the details of attributes to configure.

                        http://paste.openstack.org/show/54140/
edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
1

answered 2016-09-23 10:43:12 -0500

mriedem gravatar image

updated 2016-09-23 10:44:18 -0500

The values come from the flavor used to boot the instance, you can see the root_gb and ephemeral_gb descriptions for flavor here:

http://docs.openstack.org/admin-guide...

http://docs.openstack.org/admin-guide...

The disk_gb is the root_gb + ephemeral_gb, so total disk usage. This is the code that generates that in the notification payload:

https://github.com/openstack/nova/blo...

edit flag offensive delete link more

Comments

Thanks a lot for taking time to answer !!!

gans-developer gravatar imagegans-developer ( 2016-09-25 22:53:03 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

2 followers

Stats

Asked: 2016-09-22 23:16:14 -0500

Seen: 482 times

Last updated: Sep 23 '16