<div dir="ltr"><div>Sorry if I'm not understanding this correctly. <br><br>All running system disk images must fit in /var/lib/one on the frontend? /var/lib/one is currently 1TB on my frontend, but I have hundreds of hosts, each with 1-2TB of storage. I want the disk images for the running vms to live on the hosts *only*.<br>
<br></div><div>If /var/lib/one/datastores/100 is a symlink to /one/system, but /var/lib/one is an nfs share on the frontend, mounted on all nodes, that means that the system disk images are going to be propagated to *all* nodes, doesn't it? <br>
<br>I tested this with two worker nodes, and it looks like the disk images propagate to /one/system to the respective nodes (checking on the host itself), but sunstone is giving me errors for one of the worker nodes, but not the other. <br>
<br></div><div>"Could not create domain from /var/lib/one//datastores/100/10/deployment.0"<br><br></div><div>Thanks for the help!!<br></div><div>Kerry<br></div><div><br></div></div><div class="gmail_extra"><br><br>
<div class="gmail_quote">On Wed, Jun 18, 2014 at 11:58 AM, Javier Fontan <span dir="ltr"><<a href="mailto:jfontan@opennebula.org" target="_blank">jfontan@opennebula.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
In the frontend the datastores are always at /var/lib/one/datastores.<br>
The base path is only for nodes. If you want to use another filesystem<br>
or path mount it in the datastore location or use a symlink.<br>
<div><div class="h5"><br>
On Wed, Jun 18, 2014 at 8:23 PM, kerryhall . <<a href="mailto:kerryhall@gmail.com">kerryhall@gmail.com</a>> wrote:<br>
> Hi folks,<br>
><br>
> I'm trying to set up my hosts to have the vm disk images stored locally.<br>
> From the ONE docs, it looks like I need to create a system datastore using<br>
> the ssh driver. However, I have done so yet the disk images remain on the<br>
> frontend node.<br>
><br>
> I used Sunstone to create a new datastore with the following parameters:<br>
><br>
> Name: "New system"<br>
> Presets: Filesystem<br>
> Cluster: Default (I'm not using clusters just yet)<br>
> Type: system<br>
> Datastore: filesystem<br>
> Transfer: ssh<br>
> Safe directories: <blank><br>
> Restricted directories: <blank><br>
> Base Path: /one/system (which I created on my host, and chowned to<br>
> oneadmin:oneadmin)<br>
> Limit: <blank><br>
><br>
> I also removed the default system datastore, which is a shared datastore.<br>
><br>
> Expected behavior: disk images for new vms show up in /one/system on my<br>
> hosts.<br>
><br>
> Actual behavior: disk images show up in<br>
> /var/lib/one/datastores/100<br>
> on the frontend node.<br>
> (100 is the ID of my new ssh system datastore)<br>
><br>
> Any help would be greatly appreciated.<br>
><br>
> Thanks!!<br>
> Kerry<br>
><br>
</div></div>> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
> <a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
><br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
--<br>
Javier Fontán Muiños<br>
Developer<br>
OpenNebula - Flexible Enterprise Cloud Made Simple<br>
<a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | @OpenNebula | <a href="http://github.com/jfontan" target="_blank">github.com/jfontan</a><br>
</font></span></blockquote></div><br></div>