This is the overview guide for storage, to help with the planning [1].<div><br></div><div>To enable the SSH transfer manager driver [2] for the default datastore, do a 'onedatastore update default' and set 'TM_MAD=ssh'.</div>
<div>You don't need to edit oned.conf, if you take a look at TM_MAD it comes with ssh enabled by default.</div><div><div><br></div><div><br></div><div>And no, the relative path is not a bug, there is a cp just before it, check the log you pasted in the first message. It's simply that the shared driver assumes that /var/lib/one/datastores/1 is mounted in the host.</div>
<div><br></div><div>Cheers</div><div><br><div>[1] <a href="http://opennebula.org/documentation:rel3.6:sm">http://opennebula.org/documentation:rel3.6:sm</a></div><div>[2] <a href="http://opennebula.org/documentation:rel3.6:fs_ds#using_the_ssh_transfer_driver">http://opennebula.org/documentation:rel3.6:fs_ds#using_the_ssh_transfer_driver</a></div>
<div><br clear="all">--<br>Carlos Martín, MSc<br>Project Engineer<br>OpenNebula - The Open-source Solution for Data Center Virtualization<div><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:cmartin@opennebula.org" target="_blank">cmartin@opennebula.org</a> | <a href="http://twitter.com/opennebula" target="_blank">@OpenNebula</a></span><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a href="mailto:cmartin@opennebula.org" style="color:rgb(42,93,176)" target="_blank"></a></span></div>
<br>
<br><br><div class="gmail_quote">On Fri, Oct 5, 2012 at 11:46 AM, Gandalf Corvotempesta <span dir="ltr"><<a href="mailto:gandalf.corvotempesta@gmail.com" target="_blank">gandalf.corvotempesta@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">2012/10/5 Carlos Martín Sánchez <<a href="mailto:cmartin@opennebula.org">cmartin@opennebula.org</a>>:<br>
<div class="im">> Since you are using the shared transfer manager drivers, the first thing to<br>
> check is that /var/lib/one/datastores/1 is correctly mounted in xen01, and<br>
> oneadmin has permissions to use the files [2].<br>
<br>
</div>Seems that I have to use the SSH transfer manager.<br>
Can you tell me how to enable it ?<br>
<br>
I have this in oned.conf:<br>
<br>
IM_MAD = [<br>
name = "im_xen",<br>
executable = "one_im_ssh",<br>
arguments = "xen" ]<br>
<br>
it should use ssh transfer manager, right?<br>
I think that file not found error is related to frontend, because this<br>
folder exists:<br>
<br>
/var/lib/one/datastores/1/c14c453ba440db979d24838b61d468f2<br>
<br>
but the clone script is trying to copy<br>
../../1/c14c453ba440db979d24838b61d468f2<br>
<br>
that doesn't exists. I think that there is a bug in "clone" script,<br>
because the path is changed inside that file<br>
by this line: SRC_PATH="../../${SRC_PATH##"$DS_DIR/"}"<br>
</blockquote></div><br></div></div></div>