<div dir="ltr">That's right Stefan<div><br></div><div>System DS are monitored through the host (so we can accommodate ssh system ds and other types that cannot be accessed from the front-end). If no host is reporting space for the System DS size will be 0.</div>
<div><br></div><div>Cheers</div><div><br></div><div>Ruben</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Apr 25, 2014 at 9:21 AM, Stefan Kooman <span dir="ltr"><<a href="mailto:stefan@bit.nl" target="_blank">stefan@bit.nl</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">Quoting Marius Rex (<a href="mailto:MariusRex@venda.com">MariusRex@venda.com</a>):<br>
><br>
> I am using Opennebula 4.5.80 on Centos6 with KVM.<br>
><br>
> /var/lib/one is a NFS mount, and has over a terabyte of free space available. I have it shared between my administrative host and my KVM servers, but I cannot launch a VM as there is never any space seen as available in the systems datastore.<br>
><br>
> [oneadmin$] onedatastore list<br>
> ID NAME SIZE AVAIL CLUSTER IMAGES TYPE DS TM<br>
> 0 system 0M - snowman 0 sys - shared<br>
> 1 default 1.4T 100% snowman 1 img fs shared<br>
> 2 files 1.4T 100% snowman 0 fil fs ssh<br>
><br>
> All volumes are actually located on the same NFS volume:<br>
><br>
> [oneadmin]$ df -h /var/lib/one<br>
> Filesystem Size Used Avail Use% Mounted on<br>
> snowman03.of-1.uk.venda.com:/tank/systems/one<br>
> 1.4T 946M 1.4T 1% /var/lib/one<br>
><br>
> Yet:<br>
><br>
> [oneadmin]$ onedatastore show 0<br>
> DATASTORE 0 INFORMATION<br>
> ID : 0<br>
> NAME : system<br>
> USER : oneadmin<br>
> GROUP : oneadmin<br>
> CLUSTER : snowman<br>
> TYPE : SYSTEM<br>
> DS_MAD : -<br>
> TM_MAD : shared<br>
> BASE PATH : /var/lib/one//datastores/0<br>
> DISK_TYPE : FILE<br>
><br>
> DATASTORE CAPACITY<br>
> TOTAL: : 0M<br>
> FREE: : 0M<br>
> USED: : 0M<br>
> LIMIT: : -<br>
><br>
> PERMISSIONS<br>
> OWNER : um-<br>
> GROUP : u--<br>
> OTHER : ---<br>
><br>
> DATASTORE TEMPLATE<br>
> BASE_PATH="/var/lib/one//datastores/"<br>
> SHARED="YES"<br>
> TM_MAD="shared"<br>
> TYPE="SYSTEM_DS"<br>
><br>
> IMAGES<br>
> [oneadmin]$ onedatastore show 1<br>
> DATASTORE 1 INFORMATION<br>
> ID : 1<br>
> NAME : default<br>
> USER : oneadmin<br>
> GROUP : oneadmin<br>
> CLUSTER : snowman<br>
> TYPE : IMAGE<br>
> DS_MAD : fs<br>
> TM_MAD : shared<br>
> BASE PATH : /var/lib/one//datastores/1<br>
> DISK_TYPE : FILE<br>
><br>
> DATASTORE CAPACITY<br>
> TOTAL: : 1.4T<br>
> FREE: : 1.4T<br>
> USED: : 945M<br>
> LIMIT: : -<br>
><br>
> PERMISSIONS<br>
> OWNER : um-<br>
> GROUP : u--<br>
> OTHER : ---<br>
><br>
> DATASTORE TEMPLATE<br>
> BASE_PATH="/var/lib/one//datastores/"<br>
> CLONE_TARGET="SYSTEM"<br>
> DISK_TYPE="FILE"<br>
> DS_MAD="fs"<br>
> LN_TARGET="NONE"<br>
> TM_MAD="shared"<br>
> TYPE="IMAGE_DS"<br>
><br>
> IMAGES<br>
> 5<br>
><br>
><br>
> So I tried creating a new systems datastore on separate NFS mount as a test:<br>
><br>
> [oneadmin]$ cat template.ds<br>
> NAME = systems_nfs<br>
> TM_MAD = shared<br>
> TYPE = SYSTEM_DS<br>
> BASE_PATH = /mnt/systems/one<br>
><br>
> [oneadmin]$ onedatastore create template.ds -c snowman<br>
><br>
> And I get another system volume with no space:<br>
><br>
> [oneadmin@snow-opennebula01 ~]$ onedatastore show 102<br>
> DATASTORE 102 INFORMATION<br>
> ID : 102<br>
> NAME : systems_nfs<br>
> USER : oneadmin<br>
> GROUP : oneadmin<br>
> CLUSTER : snowman<br>
> TYPE : SYSTEM<br>
> DS_MAD : -<br>
> TM_MAD : shared<br>
> BASE PATH : /mnt/systems/one/102<br>
> DISK_TYPE : FILE<br>
><br>
> DATASTORE CAPACITY<br>
> TOTAL: : 0M<br>
> FREE: : 0M<br>
> USED: : 0M<br>
> LIMIT: : -<br>
><br>
> PERMISSIONS<br>
> OWNER : um-<br>
> GROUP : u--<br>
> OTHER : ---<br>
><br>
> DATASTORE TEMPLATE<br>
> BASE_PATH="/mnt/systems/one/"<br>
> SHARED="YES"<br>
> TM_MAD="shared"<br>
> TYPE="SYSTEM_DS"<br>
><br>
> IMAGES<br>
><br>
> [oneadmin]$ df -h /mnt/systems/one<br>
> Filesystem Size Used Avail Use% Mounted on<br>
> snowman03.of-1.uk.venda.com:/tank/systems<br>
> 1.4T 945M 1.4T 1% /mnt/systems<br>
><br>
><br>
> I am not sure what I am doing wrong.<br>
<br>
</div></div>Hmm. I see the same over here:<br>
<br>
oneadmin@template-vm:~$ onedatastore list<br>
<div class=""> ID NAME SIZE AVAIL CLUSTER IMAGES TYPE DS TM<br>
</div> 100 dummy1_ds_sys 0M - - 0 sys - shared<br>
101 dummy1_ds_ima 7.9G 44% BITED_zone01 1 img fs shared<br>
102 dummy2_ds_ima 7.9G 44% - 0 img fs shared<br>
103 dummy2_ds_sys 0M - - 0 sys - shared<br>
104 dummy3_ds_sys 0M - - 0 sys - shared<br>
<br>
onedatastore show 104<br>
DATASTORE 104 INFORMATION<br>
ID : 104<br>
NAME : dummy3_ds_system<br>
USER : oneadmin<br>
GROUP : oneadmin<br>
CLUSTER : -<br>
<div class="">TYPE : SYSTEM<br>
DS_MAD : -<br>
TM_MAD : shared<br>
</div>BASE PATH : /var/lib/one//datastores/104<br>
<div class="">DISK_TYPE : FILE<br>
<br>
DATASTORE CAPACITY<br>
TOTAL: : 0M<br>
FREE: : 0M<br>
USED: : 0M<br>
LIMIT: : -<br>
<br>
PERMISSIONS<br>
OWNER : um-<br>
GROUP : u--<br>
OTHER : ---<br>
<br>
DATASTORE TEMPLATE<br>
BASE_PATH="/var/lib/one//datastores/"<br>
SHARED="YES"<br>
TM_MAD="shared"<br>
TYPE="SYSTEM_DS"<br>
<br>
IMAGES<br>
<br>
</div>These datastores are on a ONE 4.5.85 test vm with only local storage. So<br>
it does not seem to matter if it's on nfs or not. One reason for having<br>
incorrect DATASTORE CAPACITY is that it's not monitored. I've checked<br>
oned.log and all image/file datastores are checked except for system<br>
datatores. DATASTORE_CAPACITY_CHECK is enabled. On this VM this proably<br>
is because there's no real host added (only dummy's). IM probes are<br>
copied to the host and executed in the host. Do you have enabled and<br>
healthy hypervisors (onehost list)? Can you check oned.log if those<br>
system datastores get monitored?<br>
<br>
Gr. Stefan<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
--<br>
| BIT BV <a href="http://www.bit.nl/" target="_blank">http://www.bit.nl/</a> Kamer van Koophandel 09090351<br>
| GPG: 0xD14839C6 <a href="tel:%2B31%20318%20648%20688" value="+31318648688">+31 318 648 688</a> / <a href="mailto:info@bit.nl">info@bit.nl</a><br>
</font></span><div class="HOEnZb"><div class="h5">_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><div><div>-- <br></div></div>Ruben S. Montero, PhD<br>Project co-Lead and Chief Architect<div>OpenNebula - Flexible Enterprise Cloud Made Simple<br>
<a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:rsmontero@opennebula.org" target="_blank">rsmontero@opennebula.org</a> | @OpenNebula</div></div>
</div>