Hi,<br><br><div class="gmail_quote">On 28 September 2011 12:48, Prakhar Srivastava <span dir="ltr"><<a href="mailto:prakhar.apj@gmail.com">prakhar.apj@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I wish if someone has any idea how to use LVM backend with OCCI. The OCCI compute template file only takes the storage URL for the uploaded image. What if I have done a pre-staging of OS images on the hosts and want to use the LVM transfer manager with SOURCE=/dev/vg-name/lv-name</blockquote>
</div><br>Using the OCCI interface you cannot define source paths for images. If you want to use the LVM backend you have to create an Image using the OpenNebula cli (oneimage create image_template). The image_template has to define the SOURCE value (/dev/vg-name/lv-name) instead of the PATH. You will be able to list these images using the GET /storage command and add them to any POST /compute request. The tm_lvm will use the defined device specified in the SOURCE.<div>
<br></div><div>Hope this helps.<br clear="all"><div><br></div>-- <br>Daniel Molina<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> | @dmamolina<br>
</div>