<div dir="ltr">
<p class="">Hi guys,</p>
<p class=""><br></p>
<p class="">the virtual size doesn't show up at the sunstone frontend while creating an image with qcow2 format to LVM.</p>
<p class=""><br></p>
<p class="">[oneadmin@xxx ~]$ onedatastore show 100</p>
<p class="">WARNING: Nokogiri was built against LibXML version 2.9.0, but has dynamically loaded 2.9.1</p>
<p class="">DATASTORE 100 INFORMATION</p>
<p class="">ID : 100</p>
<p class="">NAME : production</p>
<p class="">USER : oneadmin</p>
<p class="">GROUP : oneadmin</p>
<p class="">CLUSTER : -</p>
<p class="">TYPE : IMAGE</p>
<p class="">DS_MAD : lvm</p>
<p class="">TM_MAD : lvm</p>
<p class="">BASE PATH : /var/lib/one/datastores/100</p>
<p class="">DISK_TYPE : FILE</p>
<p class=""><br></p>
<p class="">I did the following steps:</p>
<p class=""><br></p>
<p class="">1. [oneadmin@xxx iso]# qemu-img create –f qcow2 data.img 100G</p>
<p class=""><br></p>
<p class="">2. [oneadmin@xxx iso]# qemu-img info data.img</p>
<p class="">image: data.img</p>
<p class="">file format: qcow2</p>
<p class="">virtual size: 100G (107374182400 bytes)</p>
<p class="">disk size: 136K</p>
<p class="">cluster_size: 65536</p>
<p class=""><br></p>
<p class="">3. Login to Sunstone and create an image and provide the path from the qcow2 file (data.img) + Advanced options and add driver qcow2</p>
<p class=""><br></p>
<p class="">At the Dashboard the Storage doesn't grow up because the disk size of qcow2 images is 136K.</p>
<p class="">With raw files (qemu-img create –f raw data.img 100G) the disk size is 100G and it works.</p>
<p class="">The qcow2 image was added successfully but the size is not 100G.</p>
<p class=""><br></p>
<p class=""><br></p>
<p class="">Any hints?</p>
<p class=""><br></p>
<p class=""><br></p>
<p class="">Best regards,</p>
<p class="">Tobias</p></div>