<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt"><div id="yiv3603898903"><div><div style="color:#000;background-color:#fff;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt;">Hello,<br clear="none"><br clear="none">I have tried the second idea, with the cluster, and it still does not change the path, it's /var/lib/one/datastores.<br clear="none"><br clear="none">onecluster show datastore-test<br clear="none">CLUSTER 100 INFORMATION<br clear="none">ID                : 100<br clear="none">NAME              : datastore-test<br clear="none">SYSTEM DS         : 112<br clear="none"><br clear="none">CLUSTER TEMPLATE<br
 clear="none">DATASTORE_LOCATION="/vmfs/volumes"<br clear="none"><br clear="none">HOSTS<br clear="none"><br clear="none">VNETS<br clear="none"><br clear="none">DATASTORES<br clear="none">112<br clear="none">113<br clear="none"><br clear="none">oneadmin@OpenNebula:/root$ onedatastore show 112<br>DATASTORE 112 INFORMATION<br>ID             : 112<br>NAME           : vmware<br>USER           : oneadmin<br>GROUP          : oneadmin<br>CLUSTER        : datastore-test<br>TYPE           : SYSTEM<br>DS_MAD         : -<br>TM_MAD         : vmfs<br>BASE PATH      :
 /var/lib/one/datastores/112<br>DISK_TYPE      : FILE<br><br>DATASTORE CAPACITY<br>TOTAL:         : -<br>USED:          : -<br>FREE:          : -<br><br>PERMISSIONS<br>OWNER          : um-<br>GROUP          : u--<br>OTHER          : ---<br><br>DATASTORE TEMPLATE<br>BRIDGE_LIST="192.168.10.10"<br>TM_MAD="vmfs"<br>TYPE="SYSTEM_DS"<br><br>IMAGES<br>oneadmin@OpenNebula:/root$ onedatastore show 113<br>DATASTORE 113 INFORMATION<br>ID             : 113<br>NAME           : VMwareImages<br>USER           :
 oneadmin<br>GROUP          : oneadmin<br>CLUSTER        : datastore-test<br>TYPE           : IMAGE<br>DS_MAD         : vmfs<br>TM_MAD         : vmfs<br>BASE PATH      : /var/lib/one/datastores/113<br>DISK_TYPE      : FILE<br><br>DATASTORE CAPACITY<br>TOTAL:         : 0M<br>USED:          : 0M<br>FREE:          : 0M<br><br>PERMISSIONS<br>OWNER          : um-<br>GROUP          : u--<br>OTHER          : ---<br><br>DATASTORE
 TEMPLATE<br>BRIDGE_LIST="192.168.10.10"<br>DS_MAD="vmfs"<br>TM_MAD="ssh"<br>TYPE="IMAGE_DS"<br><br>IMAGES<br><br clear="none">Any other ideas?<br><br>Thanks,<br>Cosmin<br clear="none"><div id="yiv3603898903yui_3_13_0_rc_1_7_1382541277260_10"><span><br clear="none"></span></div><div class="yiv3603898903yqt7271543359" id="yiv3603898903yqt57865"><div class="yiv3603898903yahoo_quoted" id="yiv3603898903yui_3_13_0_rc_1_7_1382541277260_12" style="display: block;"> <br clear="none"> <br clear="none"> <div class="yiv3603898903yui_3_13_0_rc_1_1_1382541277260_3355" style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt;"> <div class="yiv3603898903yui_3_13_0_rc_1_1_1382541277260_3356" style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt;"> <div dir="ltr"> <font face="Arial" size="2"> On Wednesday, October 23, 2013 5:45 PM, Tino Vazquez
 <cvazquez@c12g.com> wrote:<br clear="none"> </font> </div>  <div class="yiv3603898903y_msg_container">Hi,<br clear="none"><br clear="none">I think the problem here is due to the BASE_PATH referenced in the DS<br clear="none">templates. Where it reads<br clear="none"><br clear="none">BASE PATH      : /var/lib/one/datastores/0<br clear="none"><br clear="none">it should read<br clear="none"><br clear="none">BASE PATH      : /vmfs/volumes/datastores/0<br clear="none"><br clear="none">In order to achieve this, you will need to create
 another two<br clear="none">datastores (say 100, 101), one of them flagged as system datastore,<br clear="none">and add them to a cluster with a DATASTORE_LOCATION="/vmfs/volumes" in<br clear="none">its template). This is explained at length in [1].<br clear="none"><br clear="none">Hope it helps,<br clear="none"><br clear="none">-Tino<br clear="none"><br clear="none">[1] <a rel="nofollow" shape="rect" target="_blank" href="http://opennebula.org/documentation:rel4.2:system_ds#the_system_datastore_for_multi-cluster_setups">http://opennebula.org/documentation:rel4.2:system_ds#the_system_datastore_for_multi-cluster_setups</a><br clear="none">--<br clear="none">OpenNebula - Flexible Enterprise Cloud Made Simple<br clear="none"><br clear="none">--<br clear="none">Constantino Vázquez Blanco, PhD, MSc<br clear="none">Senior Infrastructure Architect at C12G Labs<br clear="none">www.c12g.com | @C12G | es.linkedin.com/in/tinova<br clear="none"><br
 clear="none">--<br clear="none">Confidentiality Warning: The information contained in this e-mail and<br clear="none">any accompanying documents, unless otherwise expressly indicated, is<br clear="none">confidential and privileged, and is intended solely for the person<br clear="none">and/or entity to whom it is addressed (i.e. those identified in the<br clear="none">"To" and "cc" box). They are the property of C12G Labs S.L..<br clear="none">Unauthorized distribution, review, use, disclosure, or copying of this<br clear="none">communication, or any part thereof, is strictly prohibited and may be<br clear="none">unlawful. If you have received this e-mail in error, please notify us<br clear="none">immediately by e-mail at <a rel="nofollow" shape="rect" ymailto="mailto:abuse@c12g.com" target="_blank" href="mailto:abuse@c12g.com">abuse@c12g.com</a> and delete the e-mail and<br clear="none">attachments and any copy from your system. C12G thanks you for
 your<br clear="none">cooperation.<br clear="none"><br clear="none"><div class="yiv3603898903yqt9096473665" id="yiv3603898903yqtfd11239"><br clear="none">On Wed, Oct 23, 2013 at 1:06 PM, cosmin cucu <<a rel="nofollow" shape="rect" ymailto="mailto:cosmincucu@yahoo.com" target="_blank" href="mailto:cosmincucu@yahoo.com">cosmincucu@yahoo.com</a>> wrote:<br clear="none">> <a rel="nofollow" shape="rect" ymailto="mailto:oneadmin@OpenNebula" target="_blank" href="mailto:oneadmin@OpenNebula">oneadmin@OpenNebula</a>:/root$ /var/lib/one/remotes/datastore/vmfs/monitor<br clear="none">>
 PERTX0RSSVZFUl9BQ1RJT05fREFUQT48REFUQVNUT1JFPjxJRD4xPC9JRD48VUlEPjA8L1VJRD48R0lEPjA8L0dJRD48VU5BTUU+b25lYW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9OX0RBVEE+<br clear="none">> 1<br clear="none">> USED_MB=<br clear="none">> TOTAL_MB=<br clear="none">> FREE_MB=<br clear="none">><br clear="none">> That's it.<br clear="none">><br clear="none">> Cosmin<br clear="none">><br clear="none">><br clear="none">> On Wednesday, October 23, 2013 2:00 PM, Tino Vazquez <<a rel="nofollow" shape="rect" ymailto="mailto:cvazquez@c12g.com" target="_blank" href="mailto:cvazquez@c12g.com">cvazquez@c12g.com</a>><br clear="none">> wrote:<br clear="none">> Hi,<br clear="none">><br clear="none">> Ok, let's try and debug this. First thing would be to make the monitor<br clear="none">> fail so we get the arguments to the monitor script.<br
 clear="none">><br clear="none">> This
 script resides on /var/lib/one/remotes/datastore/vmfs/monitor,<br clear="none">> please rename it to /var/lib/one/remotes/datastore/vmfs/monitor.bk,<br clear="none">> and check oned.log for the monitor fail, since it won't find the<br clear="none">> monitor script.<br clear="none">><br clear="none">> You will find a line similar to:<br clear="none">><br clear="none">> Mon Oct 21 11:31:21 2013 [ImM][I]: Command execution fail:<br clear="none">> /var/lib/one/remotes/datastore/vmfs/monitor P[..large alphanumeric<br clear="none">> string]= 100<br clear="none">><br clear="none">> After getting the above line, the idea is to rename back the monitor<br clear="none">> script and execute the above line as oneadmin in the front-end. Please<br clear="none">> send us the output for its analysis.<br clear="none">><br clear="none">> Best regards,<br clear="none">><br clear="none">> -Tino<br clear="none">><br
 clear="none">> --<br clear="none">> OpenNebula - Flexible Enterprise Cloud Made Simple<br clear="none">><br clear="none">> --<br clear="none">> Constantino Vázquez Blanco, PhD, MSc<br clear="none">> Senior Infrastructure Architect at C12G Labs<br clear="none">> www.c12g.com | @C12G | es.linkedin.com/in/tinova<br clear="none">><br clear="none">> --<br clear="none">> Confidentiality Warning: The information contained in this e-mail and<br clear="none">> any accompanying documents, unless otherwise expressly indicated, is<br clear="none">> confidential and privileged, and is intended solely for the person<br clear="none">> and/or entity to whom it is addressed (i.e. those identified in the<br clear="none">> "To" and "cc" box). They are the property of C12G Labs S.L..<br clear="none">> Unauthorized distribution, review, use, disclosure, or copying of this<br clear="none">> communication, or any part thereof,
 is strictly prohibited and may be<br clear="none">> unlawful. If you have received this e-mail in error, please notify us<br clear="none">> immediately by e-mail at <a rel="nofollow" shape="rect" ymailto="mailto:abuse@c12g.com" target="_blank" href="mailto:abuse@c12g.com">abuse@c12g.com</a> and delete the e-mail and<br clear="none">> attachments and any copy from your system. C12G thanks you for your<br clear="none">> cooperation.<br clear="none">><br clear="none">><br clear="none">> On Wed, Oct 23, 2013 at 11:10 AM, cosmin cucu <<a rel="nofollow" shape="rect" ymailto="mailto:cosmincucu@yahoo.com" target="_blank" href="mailto:cosmincucu@yahoo.com">cosmincucu@yahoo.com</a>> wrote:<br clear="none">>> Hello,<br clear="none">>><br clear="none">>> I am using the online documentation for adding a vmfs datastore, but it<br clear="none">>> doesn't seem to show the correct capacity. I think i may be missing<br
 clear="none">>> something. /var/log/one/oned.log does not
 show any errors. Here are the<br clear="none">>> datastores templates:<br clear="none">>><br clear="none">>><br clear="none">>> <a rel="nofollow" shape="rect" ymailto="mailto:oneadmin@OpenNebula" target="_blank" href="mailto:oneadmin@OpenNebula">oneadmin@OpenNebula</a>:/root$ onedatastore show 0<br clear="none">>> DATASTORE 0 INFORMATION<br clear="none">>> ID            : 0<br clear="none">>> NAME          : system<br clear="none">>> USER          : oneadmin<br clear="none">>> GROUP          : oneadmin<br clear="none">>> CLUSTER        : -<br clear="none">>> TYPE          : SYSTEM<br clear="none">>> DS_MAD        : -<br clear="none">>> TM_MAD        : vmfs<br clear="none">>> BASE
 PATH      :
 /var/lib/one/datastores/0<br clear="none">>> DISK_TYPE      : FILE<br clear="none">>><br clear="none">>> DATASTORE CAPACITY<br clear="none">>> TOTAL:        : -<br clear="none">>> USED:          : -<br clear="none">>> FREE:          : -<br clear="none">>><br clear="none">>> PERMISSIONS<br clear="none">>> OWNER          : um-<br clear="none">>> GROUP          : u--<br clear="none">>> OTHER          : ---<br clear="none">>><br clear="none">>> DATASTORE TEMPLATE<br clear="none">>> BRIDGE_LIST="192.168.10.10"<br clear="none">>> DS_MAD="-"<br clear="none">>> TM_MAD="vmfs"<br clear="none">>> TYPE="SYSTEM_DS"<br clear="none">>><br clear="none">>> IMAGES<br clear="none">>> <a
 rel="nofollow" shape="rect" ymailto="mailto:oneadmin@OpenNebula" target="_blank" href="mailto:oneadmin@OpenNebula">oneadmin@OpenNebula</a>:/root$ onedatastore show 1<br clear="none">>> DATASTORE 1 INFORMATION<br clear="none">>> ID            : 1<br clear="none">>> NAME          : default<br clear="none">>> USER          : oneadmin<br clear="none">>> GROUP          : oneadmin<br clear="none">>> CLUSTER        : -<br clear="none">>> TYPE          : IMAGE<br clear="none">>> DS_MAD        : vmfs<br clear="none">>> TM_MAD        : vmfs<br clear="none">>> BASE PATH      : /var/lib/one/datastores/1<br clear="none">>> DISK_TYPE      : FILE<br clear="none">>><br
 clear="none">>> DATASTORE CAPACITY<br clear="none">>> TOTAL:        : 0M<br clear="none">>> USED:          : 0M<br clear="none">>> FREE:          : 0M<br clear="none">>><br clear="none">>> PERMISSIONS<br clear="none">>> OWNER          : um-<br clear="none">>> GROUP          : u--<br clear="none">>> OTHER          : u--<br clear="none">>><br clear="none">>> DATASTORE TEMPLATE<br clear="none">>> BRIDGE_LIST="192.168.10.10"<br clear="none">>> DS_MAD="vmfs"<br clear="none">>> DS_USE_SSH="yes"<br clear="none">>> TM_MAD="vmfs"<br clear="none">>> TM_USE_SSH="yes"<br clear="none">>> TYPE="IMAGE_DS"<br clear="none">>><br clear="none">>> IMAGES<br clear="none">>><br clear="none">>> Thanks,<br
 clear="none">>> Cosmin<br clear="none">><br clear="none">>><br clear="none">>> _______________________________________________<br clear="none">>> Users mailing list<br clear="none">>> <a rel="nofollow" shape="rect" ymailto="mailto:Users@lists.opennebula.org" target="_blank" href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br clear="none">>> <a rel="nofollow" shape="rect" target="_blank" href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br clear="none">><br clear="none">>><br clear="none">><br clear="none">><br clear="none">><br clear="none">> _______________________________________________<br clear="none">> Users mailing list<br clear="none">> <a rel="nofollow" shape="rect" ymailto="mailto:Users@lists.opennebula.org" target="_blank"
 href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br clear="none">> <a rel="nofollow" shape="rect" target="_blank" href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br clear="none">></div><br clear="none"><br clear="none"></div>  </div> </div>  </div></div> </div></div></div></div></body></html>