<div dir="ltr">Hi Prasad,<div><br></div><div>I didn't find this script "engine-psql.sh" in my engine server,would you mind to let me know the exact path for this script file...</div><div><br></div><div>Secondly yes i am referring the Template CentOS...every details i provide you in the previous mail is correct...</div><div><br></div><div>Thanks,</div><div>Punit</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Sep 8, 2014 at 1:50 PM, Prasad Mukhedkar <span dir="ltr"><<a href="mailto:prasad@mukhedkar.com" target="_blank">prasad@mukhedkar.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<br>
Hey Punit,<br>
<br>
Are you sure the image you're looking is the one that is of "CentOS"
template. <br>
First verify that by executing below query on ovirt engine system.<br>
<br>
<br>
#sh engine-psql.sh -c "select vm_name, image_group_id,image_guid
from vm_device, vm_static,images where vm_name in('CentOS') and
vm_device.type='disk' and vm_device.device='disk' and
vm_device.vm_id=vm_static.vm_guid and
images.image_group_id=vm_device.device_id order by vm_name ;"<br>
<br>
image_guid = is image name that you will need to check inside your
datastore. <br>
in you're case NFS.<br>
<br>
Now run, "qemu-img info <image-path>" to verify actual and
virtual size of the image.<br>
<br>
Thanks,<br>
-ePrasad <br><div><div class="h5">
<br>
<br>
<br>
<div>On 09/08/2014 09:07 AM, Punit Dambiwal
wrote:<br>
</div>
</div></div><blockquote type="cite"><div><div class="h5">
<div dir="ltr">Hi,
<div><br>
</div>
<div>I have made one Centos template from one of my running
virtual machine...The virtual size of this template is 1GB and
the actual size is below 1GB....from the portal dashboard it
whowing correctly but if i check it through command line...it
shows different size ??</div>
<div><br>
</div>
<div>
<div>[root@compute1 32199374-4096-4973-9b6a-150e22eb7216]# ls
-lh</div>
<div>total 742M</div>
<div>-rw-rw---- 8 vdsm kvm 11G Sep 4 16:46
ff576789-e946-4bda-94f6-a354b43ab531</div>
<div>-rw-rw---- 8 vdsm kvm 1.0M Sep 3 13:07
ff576789-e946-4bda-94f6-a354b43ab531.lease</div>
<div>-rw-r--r-- 8 vdsm kvm 278 Sep 3 13:07
ff576789-e946-4bda-94f6-a354b43ab531.meta</div>
<div>[root@compute1 32199374-4096-4973-9b6a-150e22eb7216]#</div>
</div>
<div><br>
</div>
<div><img src="cid:part1.02040308.07010801@mukhedkar.com" alt="Inline image 1" height="188" width="540"><br>
</div>
<div><br>
</div>
<div><img src="cid:part2.01060102.07060109@mukhedkar.com" alt="Inline image 2" height="231" width="558"><br>
</div>
<div><br>
</div>
<div>Please let me know why the size store on the storage is
different from the dashboard....</div>
<div><br>
</div>
<div>[root@compute1 32199374-4096-4973-9b6a-150e22eb7216]#
virt-filesystems --all --long -h -a
ff576789-e946-4bda-94f6-a354b43ab531</div>
<div>Name Type VFS Label MBR Size Parent</div>
<div>/dev/sda1 filesystem ext4 - - 200M -</div>
<div>/dev/36Cloud/LogVol00 filesystem ext4 - - 820M -</div>
<div>/dev/36Cloud/LogVol00 lv - - - 820M
/dev/36Cloud</div>
<div>/dev/36Cloud vg - - - 820M
/dev/sda2</div>
<div>/dev/sda2 pv - - - 820M -</div>
<div>/dev/sda1 partition - - 83 200M
/dev/sda</div>
<div>/dev/sda2 partition - - 8e 823M
/dev/sda</div>
<div>/dev/sda device - - - 11G -</div>
<div>[root@compute1 32199374-4096-4973-9b6a-150e22eb7216]# </div>
<div><br>
</div>
<div>Thanks,</div>
<div>Punit</div>
</div>
<br>
<fieldset></fieldset>
<br>
</div></div><pre>_______________________________________________
Users mailing list
<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a>
<a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>