<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Mar 28, 2014 at 5:44 PM, Hyun Woo Kim <span dir="ltr"><<a href="mailto:hyunwoo@fnal.gov" target="_blank">hyunwoo@fnal.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div style="font-size:14px;font-family:Calibri,sans-serif;word-wrap:break-word"><div class="">
<div>> 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.</div>
<div><br>
</div>
</div><div>Let me emphasize that my original question was</div>
<div>why datastores/DS_ID is created in some hosts and not in other hosts?</div>
<div>Which source codes or which configuration options would control this phenomenon?</div>
<div><br>
</div>
<div>If you could focus on this original phenomenon </div>
<div>as well as how to make monitor_ds report the space in /var/lib/one when ./datastores does not exist,</div>
<div>it will be great..</div>
<div><br>
</div>
<div>Thanks again, we appreciate your responses.</div>
<div><br>
</div>
<div>Hyunwoo</div>
<div>FermiCloud Project</div></div></blockquote><div><br></div><div>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.</div>
<div><br></div><div>But now it seems that monitor_ds should also consider that $DATASTORE_LOCATION may actually not exist.<br></div><div><br></div><div>Regards</div>--<br><div>Carlos Martín, MSc<br>Project Engineer</div>
<div>
OpenNebula - Flexible Enterprise Cloud Made Simple<br></div><div><a href="http://www.opennebula.org/" target="_blank" style="font-family:arial,sans-serif;font-size:13px">www.OpenNebula.org</a><span style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"> </span><span style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px">|</span><span style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"> </span><a href="mailto:cmartin@opennebula.org" target="_blank" style="font-family:arial,sans-serif;font-size:13px">cmartin@opennebula.org</a><span style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"> </span><span style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px">|</span><span style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"> </span><a href="http://twitter.com/opennebula" target="_blank" style="font-family:arial,sans-serif;font-size:13px">@OpenNebula</a> </div>
</div><br></div></div>