[one-users] data store not created in VMHosts

Carlos Martín Sánchez cmartin at opennebula.org
Fri Mar 28 09:53:10 PDT 2014


On Fri, Mar 28, 2014 at 5:44 PM, Hyun Woo Kim <hyunwoo at fnal.gov> wrote:

>  > My guess is that this will be solved making monitor_ds to report the
> space available in /var/lib/one when ./datastores does not exist.
>
>  Let me emphasize that my original question was
> why datastores/DS_ID is created in some hosts and not in other hosts?
> Which source codes or which configuration options would control this
> phenomenon?
>
>  If you could focus on this original phenomenon
> as well as how to make monitor_ds report the space in /var/lib/one when
> ./datastores does not exist,
> it will be great..
>
>  Thanks again, we appreciate your responses.
>
>  Hyunwoo
> FermiCloud Project
>

The $DATASTORE_LOCATION/<id> dir is created by the first VM deployment.
That is why in HostXML::test_ds_capacity (called from Scheduler.cc), we use
HOST/FREE_DISK as the free space when the ds-id subdir does not exist, to
allow the first deployment.

But now it seems that monitor_ds should also consider that
$DATASTORE_LOCATION may actually not exist.

Regards
--
Carlos Martín, MSc
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org <http://www.opennebula.org/> | cmartin at opennebula.org |
@OpenNebula <http://twitter.com/opennebula>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20140328/fb8d1149/attachment.htm>


More information about the Users mailing list