[one-users] OpenNebula 3.4 with Clustered LVM

Jaime Melis jmelis at opennebula.org
Fri May 11 05:19:17 PDT 2012


Hi Yves,

no sorry, I didn't explain myself correctly. The LVM workflow is as follows:

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.

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.

I hope I explained it better this time.

Cheers,
Jaime

On Fri, May 11, 2012 at 1:37 PM, Vogl, Yves <vogl at adesso-mobile.de> wrote:

>  Hi Jamie,
>
>  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.
>
> On 11.05.2012, at 13:31, Jaime Melis wrote:
>
>  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
> instead of using directly the SOURCE.
>
>
>  So if I do not want to deal with images at all I've to create a "pure
> snapshot" driver by myself?
>
>  The idea is to populate a master image as clustered LVM volume and to
> have faster deployment by just snapshotting the logical volume.
> If I have to use an image after creating a logical volume - there's no
> need to snapshot anything before.
>
>  Yves
>
>
>
>


-- 
Jaime Melis
Project Engineer
OpenNebula - The Open Source Toolkit for Cloud Computing
www.OpenNebula.org | jmelis at opennebula.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20120511/d3952ed9/attachment-0003.htm>


More information about the Users mailing list