[Users] actual disk size of vm via api

Sven Kieske S.Kieske at mittwald.de
Wed Feb 12 15:57:28 UTC 2014


Hi,

I got a question regarding the reported actual disk size
of a vm.

you can obtain this value fine via api:

https://your_engine/api/vms/{id}/disks/

however, if the vm is cloned from a template

this disk size does not seem to show the
actual size of the whole disk but instead
the difference from the actual template size.

is this a bug or a feature?
I would like to obtain the "real" size.

e.g. I have a template with 50GB (thin provisioned)
the actual size of this template is 1,5 GB

I clone a vm from this template, the actual size
which gets reported via api is about 8 MB (stuff that
changes from the template).

So I can not obtain the complete used size of the vm.

This was tested under ovirt 3.3.2
-- 
Mit freundlichen Grüßen / Regards

Sven Kieske

Systemadministrator
Mittwald CM Service GmbH & Co. KG
Königsberger Straße 6
32339 Espelkamp
T: +49-5772-293-100
F: +49-5772-293-333
https://www.mittwald.de
Geschäftsführer: Robert Meyer
St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen
Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen


More information about the Users mailing list