Hi Cristian,<br>I don't know what ovirt is doing but if the final file is a raw image, you can shrink it with qemu-img and transform it in a qcow2.<br>What I think was on the head of who implemented this is that you export a VM to a NAS that has normally Teras of space, so it is more compatible to save it in raw format. My 2 cents :-)<br>
<br>Alex<br><br><div class="gmail_quote">2012/11/19 Cristian Falcas <span dir="ltr"><<a href="mailto:cristi.falcas@gmail.com" target="_blank">cristi.falcas@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br><div class="gmail_extra"><div><div class="h5"><br><br><div class="gmail_quote">On Mon, Nov 19, 2012 at 12:51 PM, Alexandre Santos <span dir="ltr"><<a href="mailto:santosam72@gmail.com" target="_blank">santosam72@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="gmail_quote">2012/11/18 Cristian Falcas <span dir="ltr"><<a href="mailto:cristi.falcas@gmail.com" target="_blank">cristi.falcas@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>
Hi all,<br><br>I see that exporting a VM with ThinProvisioning will make an image with the full disk size, instead of the currently used size: <br>- VM has a 20GB disk<br>- installed OS is taking 1.3GB<br>- exported disk is taking 20GB<br>
<br>Is this mandatory? Couldn't the export make a file with the same size, also sparse? It seems it only does a copy of the folder and the normal linux cp can make a sparse copy.<br><br>thank you,<br>Cristian Falcas<br>
<br></div></div>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org" target="_blank">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>Is it exporting a a raw image, right?<br><br>Alex<br>
</blockquote></div><br><br></div></div>Hi Alex,<br><br>I don't understand what you mean by raw. <br><br>I was saying that the same file could be copied as a sparse file instead.<span class="HOEnZb"><font color="#888888"><br>
<br>Cristian<br></font></span></div>
</blockquote></div><br>