Shrinking can also be made with the normal cp from linux:<br><br>cp --sparse=always<br><br>This will create usually files smaller then the original even.<br><br>But maybe this can be fixed from the source. Exporting some images that have 10s/100s of gigabytes but only use a few gb is time and space consuming with no benefits.<br>

<br>best regards,<br><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Nov 19, 2012 at 2:00 PM, Alexandre Santos <span dir="ltr">&lt;<a href="mailto:santosam72@gmail.com" target="_blank">santosam72@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Cristian,<br>I don&#39;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<div class="HOEnZb"><div class="h5"><br><br><div class="gmail_quote">2012/11/19 Cristian Falcas <span dir="ltr">&lt;<a href="mailto:cristi.falcas@gmail.com" target="_blank">cristi.falcas@gmail.com</a>&gt;</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><br><br><div class="gmail_quote">On Mon, Nov 19, 2012 at 12:51 PM, Alexandre Santos <span dir="ltr">&lt;<a href="mailto:santosam72@gmail.com" target="_blank">santosam72@gmail.com</a>&gt;</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">&lt;<a href="mailto:cristi.falcas@gmail.com" target="_blank">cristi.falcas@gmail.com</a>&gt;</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&#39;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&#39;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><font color="#888888"><br>
<br>Cristian<br></font></span></div>
</blockquote></div><br>
</div></div></blockquote></div><br></div>