Hi Yves,<div><br></div><div>no sorry, I didn't explain myself correctly. The LVM workflow is as follows:</div><div><br></div><div>You have an already existing file with an image (in your case Master.qcow2, although for these drivers it needs to be in RAW format). When you do 'oneimage create' with PATH (instead of SOURCE) pointing to the file, the drivers will do automatically what you did manually: create a new LV of the appropriate size, and dump it (using 'dd') to the new LV.</div>

<div><br></div><div>Once it's created, you can instantiante vms with that image. If the image is persistent, the VM will access the LV  directly. If it's not persistent, the drivers will create a new LV, a snapshot of the original image, and the VM will access it. Thus creating a copy almost instantaneously. If you execute saveas on that image, it will be saved to a new image so that you don't lose your changes.</div>

<div><br></div><div>I hope I explained it better this time.</div><div><br></div><div>Cheers,<br>Jaime</div><div><br><div class="gmail_quote">On Fri, May 11, 2012 at 1:37 PM, Vogl, Yves <span dir="ltr"><<a href="mailto:vogl@adesso-mobile.de" target="_blank">vogl@adesso-mobile.de</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div style="word-wrap:break-word">
Hi Jamie,
<div><br>
</div>
<div>thanks for pointing out  a solution to the sudo error. This was clear to me because of the well documented instructions - I think there's no need to improve it. I just forgot to do this step.</div>
<div><div class="im"><br>
<div>On 11.05.2012, at 13:31, Jaime Melis wrote:</div>
<br>
<blockquote type="cite"><span style="border-collapse:separate;font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:medium">
<div>About the way you registered the image, it's not usually the way it's meant to be done. You should use PATH=/path/to/Master.raw</div>
<div>instead of using directly the SOURCE. </div>
</span></blockquote>
<div><br>
</div>
</div><div>So if I do not want to deal with images at all I've to create a "pure snapshot" driver by myself?</div>
<div><br>
</div>
<div>The idea is to populate a master image as clustered LVM volume and to have faster deployment by just snapshotting the logical volume.</div>
<div>If I have to use an image after creating a logical volume - there's no need to snapshot anything before.</div><span class="HOEnZb"><font color="#888888">
<div><br>
</div>
<div>Yves</div>
<br>
<div>
<div><br>
</div>
</div>
<br>
</font></span></div>
</div>

</blockquote></div><br><br clear="all"><div><br></div>-- <br>Jaime Melis<br>Project Engineer<br>OpenNebula - The Open Source Toolkit for Cloud Computing<br><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:jmelis@opennebula.org" target="_blank">jmelis@opennebula.org</a><br>


</div>