<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:10pt"><div><span>Hi,</span></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><span>Also Caching=None is set because there is a disk cache on the disk.</span></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><br><span></span></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><span>Would double caching would slow down I/O?</span></div><div style="color: rgb(0, 0, 0);
 font-size: 13.3333px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><br><span></span></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><span>Thanks,</span></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><span>James Harrison</span></div><div style="display: block;" class="yahoo_quoted"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 10pt;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> On
 Monday, 31 March 2014, 9:49, James Harrison &lt;jamesaharrisonuk@yahoo.co.uk&gt; wrote:<br> </font> </div>  <div class="y_msg_container"><div id="yiv4265657594"><div><div style="color:#000;background-color:#fff;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:10pt;"><div><span>Hello Richard,</span></div><div style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;"><br clear="none"></div><div style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;">Sorry for the late reply. <br clear="none"></div><div style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande,
 sans-serif;background-color:transparent;font-style:normal;"><br clear="none"><span></span></div><div style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;"><span>The output from the command is:&nbsp;</span></div><div style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;"><span><br clear="none"></span></div><div style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;"><span>[root@kvm2 images]# qemu-img info Stage.img <br clear="none">image: Stage.img<br clear="none">file format: qcow2<br clear="none">virtual size: 100G (107374182400 bytes)<br clear="none">disk size: 16M<br
 clear="none">cluster_size: 65536<br clear="none"></span></div><div style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;"><br clear="none"><span></span></div><div style="color:rgb(0, 0,  0);font-size:13.3333px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;"><br clear="none"></div><div style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;">The
 reason why I am using "None" for caching is because any other caching 
technique doesn't allow migrations. Last time I checked "None" didnt 
migrate.</div><div style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;"><br clear="none"></div><div style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;">Thanks,</div><div style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;">James Harrison<br clear="none"></div><div class="yiv4265657594yqt3970259514" id="yiv4265657594yqt05180"><div class="yiv4265657594yahoo_quoted" style="display:block;"> <div style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:10pt;"> <div style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial,
 Lucida Grande, Sans-Serif;font-size:12pt;"> <div dir="ltr"> <font face="Arial" size="2"> On Friday, 28 March 2014, 21:33, Richard W.M. Jones &lt;rjones@redhat.com&gt; wrote:<br clear="none"> </font> </div>  <div class="yiv4265657594y_msg_container">On Fri, Mar 28, 2014 at 04:59:37PM +0000, James Harrison wrote:<div class="yiv4265657594yqt4597783088" id="yiv4265657594yqtfd63106"><br clear="none">&gt; Hi All,<br clear="none">&gt; <br clear="none">&gt; If I use sparce=true or false I end up with a 100Gb qcow2 (raw) file. However If I look at the disk size in virt-manager the file is 20Gb.</div><br clear="none"><br clear="none">What is the output of:<br clear="none"><br clear="none">&nbsp; qemu-img info /var/lib/libvirt/images/stage.qcow2<br clear="none"><br clear="none">Also I wouldn't personally use cache=none.&nbsp; I would use<br clear="none">cache=writeback instead.<br clear="none"><br clear="none"><a rel="nofollow" shape="rect" target="_blank"
 href="http://rwmj.wordpress.com/2013/09/02/new-in-libguestfs-allow-cache-mode-to-be-selected/#content">http://rwmj.wordpress.com/2013/09/02/new-in-libguestfs-allow-cache-mode-to-be-selected/#content</a><br clear="none"><br clear="none">Rich.<br clear="none"><br clear="none">-- <br clear="none">Richard Jones, Virtualization Group, Red Hat <a rel="nofollow" shape="rect" target="_blank" href="http://people.redhat.com/~rjones">http://people.redhat.com/~rjones</a><br clear="none">virt-p2v converts physical machines to virtual machines.&nbsp; Boot with a<br clear="none">live CD or over the network (PXE) and turn machines into KVM guests.<br clear="none"><a rel="nofollow" shape="rect" target="_blank" href="http://libguestfs.org/virt-v2v">http://libguestfs.org/virt-v2v</a><div class="yiv4265657594yqt4597783088" id="yiv4265657594yqtfd65493"><br clear="none"></div><br clear="none"><br clear="none"></div>  </div> </div>  </div></div> </div></div></div><br><div
 class="yqt3970259514" id="yqt87292">_______________________________________________<br clear="none">virt mailing list<br clear="none"><a shape="rect" ymailto="mailto:virt@lists.fedoraproject.org" href="mailto:virt@lists.fedoraproject.org">virt@lists.fedoraproject.org</a><br clear="none"><a shape="rect" href="https://admin.fedoraproject.org/mailman/listinfo/virt" target="_blank">https://admin.fedoraproject.org/mailman/listinfo/virt</a></div><br><br></div>  </div> </div>  </div> </div></body></html>