<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body 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>
<br>
<br>
<br>
<div class="moz-cite-prefix">On 09/08/2014 09:07 AM, Punit Dambiwal
wrote:<br>
</div>
<blockquote
cite="mid:CAGZcrBmWK-Xc3OWDShhEp1vjkNMidGSyKk-gPNUfoq4q10J7eg@mail.gmail.com"
type="cite">
<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 class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@ovirt.org">Users@ovirt.org</a>
<a class="moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.org/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>