<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt"><div><span>oneadmin@OpenNebula:/root$ /var/lib/one/remotes/datastore/vmfs/monitor
PERTX0RSSVZFUl9BQ1RJT05fREFUQT48REFUQVNUT1JFPjxJRD4xPC9JRD48VUlEPjA8L1VJRD48R0lEPjA8L0dJRD48VU5BTUU+b25lYWRtaW48L1VOQU1FPjxHTkFNRT5vbmVhZG1pbjwvR05BTUU+PE5BTUU+ZGVmYXVsdDwvTkFNRT48UEVSTUlTU0lPTlM+PE9XTkVSX1U+MTwvT1dORVJfVT48T1dORVJfTT4xPC9PV05FUl9NPjxPV05FUl9BPjA8L09XTkVSX0E+PEdST1VQX1U+MTwvR1JPVVBfVT48R1JPVVBfTT4wPC9HUk9VUF9NPjxHUk9VUF9BPjA8L0dST1VQX0E+PE9USEVSX1U+MTwvT1RIRVJfVT48T1RIRVJfTT4wPC9PVEhFUl9NPjxPVEhFUl9BPjA8L09USEVSX0E+PC9QRVJNSVNTSU9OUz48RFNfTUFEPnZtZnM8L0RTX01BRD48VE1fTUFEPnZtZnM8L1RNX01BRD48QkFTRV9QQVRIPi92YXIvbGliL29uZS9kYXRhc3RvcmVzLzE8L0JBU0VfUEFUSD48VFlQRT4wPC9UWVBFPjxESVNLX1RZUEU+MDwvRElTS19UWVBFPjxDTFVTVEVSX0lEPi0xPC9DTFVTVEVSX0lEPjxDTFVTVEVSPjwvQ0xVU1RFUj48VE9UQUxfTUI+MDwvVE9UQUxfTUI+PEZSRUVfTUI+MDwvRlJFRV9NQj48VVNFRF9NQj4wPC9VU0VEX01CPjxJTUFHRVM+PC9JTUFHRVM+PFRFTVBMQVRFPjxCUklER0VfTElTVD48IVtDREFUQVsxOTIuMTY4LjEwLjEwXV0+PC9CUklER0VfTElTVD48RFNfTUFEPjwhW0NEQVRBW3ZtZnNdXT48L0RTX01BRD48RFNfVVNFX1NTSD48IVtDREFUQVt5ZXNdXT48L0RTX1VTRV
9TU0g+PFRNX01BRD48IVtDREFUQVt2bWZzXV0+PC9UTV9NQUQ+PFRNX1VTRV9TU0g+PCFbQ0RBVEFbeWVzXV0+PC9UTV9VU0VfU1NIPjxUWVBFPjwhW0NEQVRBW0lNQUdFX0RTXV0+PC9UWVBFPjwvVEVNUExBVEU+PC9EQVRBU1RPUkU+PC9EU19EUklWRVJfQUNUSU9OX0RBVEE+ 1<br>USED_MB=<br>TOTAL_MB=<br>FREE_MB=<br></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><br><span></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><span>That's it.</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><br><span></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><span>Cosmin</span></div><div style="display: block;" class="yahoo_quoted"> <br> <br> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;"> <div 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 2:00 PM, Tino Vazquez <cvazquez@c12g.com> wrote:<br> </font> </div> <div class="y_msg_container">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 shape="rect" ymailto="mailto:abuse@c12g.com"
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="yqt2779867490" id="yqtfd15841"><br clear="none">On Wed, Oct 23, 2013 at 11:10 AM, cosmin cucu <<a shape="rect" ymailto="mailto:cosmincucu@yahoo.com" 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 shape="rect" ymailto="mailto:oneadmin@OpenNebula"
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 shape="rect" ymailto="mailto:oneadmin@OpenNebula" 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</div><br clear="none">><br clear="none">> _______________________________________________<br clear="none">> Users mailing list<br clear="none">> <a shape="rect" ymailto="mailto:Users@lists.opennebula.org" href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br clear="none">> <a shape="rect" href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org"
target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><div class="yqt2779867490" id="yqtfd64978"><br clear="none">></div><br><br></div> </div> </div> </div> </div></body></html>