> The other thing with the ONE/lvm driver is that it makes a snapshot in the
> clone script, while our driver makes a new clone LV. I tried to use the
> original LVM driver, and every time, I deployed a new VM, I got this error
> message:
>
> lv-one-50 must be active exclusively to create snapshot
>
>
Just copying from the original versions of the LVM driver [1].

"The workaround is to create a cluster aware normal partition in LVM
intended for Copy-On-Write purposes. This partition can be enabled
exclusively on the worker node and mapped together with the base (cluster
aware) virtual machine image to a local snapshot with 'dmsetup'. When
modifications have to be stored after a shutdown of the virtual machine, it
is sufficient to remove the mapping and synchronize (i.e. disable) the
cluster aware Copy-On-Write partition. "

You may want to take a look to the iscsi-v2.tar.gz and the clone scripts in
it.


Hope it helps

[1] http://dev.opennebula.org/issues/32
_______________________________________________
Users mailing list
[email protected]
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to