+++ This bug was initially created as a clone of Bug #960934 +++
When a VM is run as stateless, temporary volumes are created for each disk leaf. These are their storage requirements:
| File Domain | Block Domain
-----|-----------------------------------------|-------------
qcow | 1M (header size) | 1G
-----|-----------------------------------------|-------------
raw | preallocated: disk capacity (getSize()) | disk capacity
| thin (sparse): 1M | (there is no raw sparse on
block domains)
Stateless VM:
Block domain, preallocated, raw disk: 1GB was created when started the stateless VM
Block domain, sparse, cow disk: 1G was created when started the stateless VM
File domain, sparse, raw: 4K was created when started the stateless VM
File, preallocated, raw: 4K was created when started the stateless VM
Verified on ovirt-3.5 rc1:
vdsm-4.16.1-6.gita4a4614.el6.x86_64
ovirt-engine-3.5.0-0.0.master.20140804172041.git23b558e.el6.noarch