[one-users] Setting up a system datastore using ssh driver

Javier Fontan jfontan at opennebula.org
Wed Jun 18 11:58:34 PDT 2014


In the frontend the datastores are always at /var/lib/one/datastores.
The base path is only for nodes. If you want to use another filesystem
or path mount it in the datastore location or use a symlink.

On Wed, Jun 18, 2014 at 8:23 PM, kerryhall . <kerryhall at gmail.com> wrote:
> Hi folks,
>
> I'm trying to set up my hosts to have the vm disk images stored locally.
> From the ONE docs, it looks like I need to create a system datastore using
> the ssh driver. However, I have done so yet the disk images remain on the
> frontend node.
>
> I used Sunstone to create a new datastore with the following parameters:
>
> Name: "New system"
> Presets: Filesystem
> Cluster: Default (I'm not using clusters just yet)
> Type: system
> Datastore: filesystem
> Transfer: ssh
> Safe directories: <blank>
> Restricted directories: <blank>
> Base Path: /one/system (which I created on my host, and chowned to
> oneadmin:oneadmin)
> Limit: <blank>
>
> I also removed the default system datastore, which is a shared datastore.
>
> Expected behavior: disk images for new vms show up in /one/system on my
> hosts.
>
> Actual behavior: disk images show up in
> /var/lib/one/datastores/100
> on the frontend node.
> (100 is the ID of my new ssh system datastore)
>
> Any help would be greatly appreciated.
>
> Thanks!!
> Kerry
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>



-- 
Javier Fontán Muiños
Developer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | @OpenNebula | github.com/jfontan


More information about the Users mailing list