<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: arial,helvetica,sans-serif; font-size: 10pt; color: #000000'><hr id="zwchr"><blockquote id="DWT375" style="border-left:2px solid rgb(16, 16, 255);margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>De: </b>"Maor Lipchuk" &lt;mlipchuk@redhat.com&gt;<br><b>Para: </b>"Adrian Gibanel" &lt;adrian.gibanel@btactic.com&gt;<br><b>CC: </b>"users" &lt;users@ovirt.org&gt;<br><b>Enviados: </b>Jueves, 17 de Enero 2013 15:52:24<br><b>Asunto: </b>Re: [Users] Thin provisioning extending while "Make template" still a bug?<br><br>Hi Adrian,<br>Sorry for the late respond.<br></blockquote>Don't worry.<br><blockquote id="DWT376" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px; color: rgb(0, 0, 0); font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><br>Please see inline comments,<br>and feel free if there are any more questions, or other issues which you<br>want us to address to.<br><br>p.s. Since some of the responds were in different threads, I gathered<br>all of them to this email.<br><br><br>&gt; 3) About the attached logs the virtual machine made from template was<br>&gt; finally made at:<br>&gt; 2012/12/22 17:21<br>&gt; Logs are from 16:17 to 17:21 aproximately and I might reuse them to<br>&gt; ask why it takes so long to make the virtual machine while checking<br>&gt; the storage image at /home/storage (its size) it would seem that the &gt;<br>copy has finished.<br>&gt; I think that the "Make vm from template" task started about 30<br>&gt; minutes or 40 minutes before it being finished. Well, that's the<br>&gt; average time it takes for me.<br>Since you are creating a server the default behaviour is to clone your<br>disks, which means engine calls copyImage to the SPM.<br>From what I saw in the logs your template have two disks, which one of<br>them is 1920 GB, this is why it took 30 minutes to copy it.<br></blockquote>It's 1920 GB but the actual data copied to it is only 1 GB. I'm used to other methods of saving virtual images (instead of sparse I mean) and as the original file is only 1 GB the copy doesn't last too much.<br><blockquote id="DWT377" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px; color: rgb(0, 0, 0); font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;">If you want your copy to be faster, you can change the default in the<br>resource allocation tab to use thin instead of clone when you add a new<br>server.<br>although, take in notice that when you will use thin provisioning, the<br>server will be based on the template and you will not be able to remove<br>the template until the VM will be removed.<br></blockquote>The thing is that if you select Clone (the default behaviour) then at the botton it says:<br><br>Alias | Virtual Size | Allocation | Target<br>First | 1920 GB &nbsp; &nbsp; &nbsp;| Thin Prov &nbsp;| local_storage<br>Seco &nbsp;| 1 GB &nbsp; &nbsp; &nbsp; &nbsp; | Preallocat | local_storage<br><br>so I thought:<br><br>If it lasts so much it means that someone it treats both hard disks as Preallocat no matter its particular disk allocation setup.<br>But as you say later in the email each one of it is treated ok.<br><br>So I think the problem is just the sparse method of saving the virtual images which makes read of big files to take an eternity even if a very few sectors are actually written.<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px; color: rgb(0, 0, 0); font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;">On 12/24/2012 01:51 AM, Adrian Gibanel wrote:&gt; I've just noticed that I<br>made a typo.<br>&gt; This is the right template disk allocation policy table<br>&gt; (The fix is that second hard disk is preallocated instead of being<br>Thin Prov)<br>&gt;<br>&gt; Alias | Virtual Size | Allocation | Target<br>&gt; First | 1920 GB &nbsp; &nbsp; &nbsp;| Thin Prov &nbsp;| local_storage<br>&gt; Seco &nbsp;| 1 GB &nbsp; &nbsp; &nbsp; &nbsp; | Preallocat | local_storage<br>I took a look in your logs, and it seems that when you create a VM from<br>template the passing arguments are preallocated for one image and sparse<br>for the other, so it seems that this is fit with the allocation policy<br>table you sent.<br></blockquote><br>I'm going to send a message about how to move virtual images between hosts. It's kind of related to this.<br><br>-- <br><div><span name="x"></span><font style="font-weight: bold;" size="3"><a style="color: rgb(0, 0, 0);" href="http://www.btactic.com/"><span id="DWT100"><font class="Apple-style-span" face="verdana, helvetica, sans-serif"><span class="Apple-style-span" style="background-color: rgb(255, 255, 255);"></span></font></span></a></font><font style="font-family: 'Times New Roman';" color="#5f5f5f" face="Arial" size="1"><font size="3"><span style="font-family: verdana,helvetica,sans-serif; color: rgb(0, 0, 0);"><font style="font-family: helvetica;" size="2"><strong>Adrián Gibanel</strong><br>I.T. Manager<br><br>+34 675 683 301<br><a href="http://btactic.com/">www.btactic.com</a></font><br><br></span></font></font><font color="#008000" face="Arial" size="1"><img src="http://www.btactic.com/signaturabtacticmail/btacticsignature.png" style="border-width: 0px;"><br></font><font class="Apple-style-span" face="Arial"><b><span class="Apple-style-span" style="font-family: Verdana; font-weight: normal;"><span id="bc4bed34-88ab-466b-a731-c40f5c09ab6c"><font color="#5f5f5f" face="Arial" size="1"><br>Ens podeu seguir a/Nos podeis seguir en:<br>
  <br>
</font></span><a href="http://www.facebook.com/pages/btactic/118651634826400?v=app_9953271133"><img style="border: 0pt none;" src="http://www.btactic.com/wp-content/themes/btactic/img/facebookfoot.jpg"></a> i <a href="http://twitter.com/btactic"><img style="border: 0pt none;" src="http://www.btactic.com/wp-content/themes/btactic/img/twitterfoot.jpg"></a></span></b></font><br><font color="#008000" face="Arial" size="1"><br></font><div><font color="#008000" face="Arial" size="1">Abans d´imprimir
aquest missatge, pensa en el medi ambient. El medi ambient és cosa de 
tothom.
/ Antes de imprimir el mensaje piensa en el medio ambiente. El medio 
ambiente
es cosa de todos. </font><font color="#5f5f5f" face="Arial" size="1"><br>
<br>
AVIS: <br>
El contingut d'aquest missatge i els seus annexos és confidencial. Si no
en sou el destinatari, us fem saber que està prohibit utilitzar-lo, 
divulgar-lo
i/o copiar-lo sense tenir l'autorització corresponent. Si heu rebut 
aquest
missatge per error, us agrairem que ho feu saber immediatament <span class="Object" id="OBJ_PREFIX_DWT103">al remitent
i que procediu a destruir el missatge</span>.<br>
<br>
AVISO:<br>
El contenido de este mensaje y de sus anexos es confidencial. Si no es
el destinatario, les hacemos saber que está prohibido utilizarlo, 
divulgarlo
y/o copiarlo sin tener la autorización correspondiente. Si han recibido
este mensaje por error, les agradeceríamos que lo hagan saber 
inmediatamente
<span class="Object" id="OBJ_PREFIX_DWT104">al remitente y que procedan a
 destruir el mensaje</span>.</font>

</div><span name="x"></span><br></div></div></body></html>