[one-users] System volumes created with no space

Ruben S. Montero rsmontero at opennebula.org
Fri Apr 25 02:58:49 PDT 2014


That's right Stefan

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.

Cheers

Ruben


On Fri, Apr 25, 2014 at 9:21 AM, Stefan Kooman <stefan at bit.nl> wrote:

> Quoting Marius Rex (MariusRex at venda.com):
> >
> > I am using Opennebula 4.5.80 on Centos6 with KVM.
> >
> > /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.
> >
> > [oneadmin$] onedatastore list
> >   ID NAME                SIZE AVAIL CLUSTER      IMAGES TYPE DS       TM
> >    0 system                0M -     snowman           0 sys  -
>  shared
> >    1 default             1.4T 100%  snowman           1 img  fs
> shared
> >    2 files               1.4T 100%  snowman           0 fil  fs       ssh
> >
> > All volumes are actually located on the same NFS volume:
> >
> > [oneadmin]$ df -h /var/lib/one
> > Filesystem            Size  Used Avail Use% Mounted on
> > snowman03.of-1.uk.venda.com:/tank/systems/one
> >                       1.4T  946M  1.4T   1% /var/lib/one
> >
> > Yet:
> >
> > [oneadmin]$ onedatastore show 0
> > DATASTORE 0 INFORMATION
> > ID             : 0
> > NAME           : system
> > USER           : oneadmin
> > GROUP          : oneadmin
> > CLUSTER        : snowman
> > TYPE           : SYSTEM
> > DS_MAD         : -
> > TM_MAD         : shared
> > BASE PATH      : /var/lib/one//datastores/0
> > DISK_TYPE      : FILE
> >
> > DATASTORE CAPACITY
> > TOTAL:         : 0M
> > FREE:          : 0M
> > USED:          : 0M
> > LIMIT:         : -
> >
> > PERMISSIONS
> > OWNER          : um-
> > GROUP          : u--
> > OTHER          : ---
> >
> > DATASTORE TEMPLATE
> > BASE_PATH="/var/lib/one//datastores/"
> > SHARED="YES"
> > TM_MAD="shared"
> > TYPE="SYSTEM_DS"
> >
> > IMAGES
> > [oneadmin]$ onedatastore show 1
> > DATASTORE 1 INFORMATION
> > ID             : 1
> > NAME           : default
> > USER           : oneadmin
> > GROUP          : oneadmin
> > CLUSTER        : snowman
> > TYPE           : IMAGE
> > DS_MAD         : fs
> > TM_MAD         : shared
> > BASE PATH      : /var/lib/one//datastores/1
> > DISK_TYPE      : FILE
> >
> > DATASTORE CAPACITY
> > TOTAL:         : 1.4T
> > FREE:          : 1.4T
> > USED:          : 945M
> > LIMIT:         : -
> >
> > PERMISSIONS
> > OWNER          : um-
> > GROUP          : u--
> > OTHER          : ---
> >
> > DATASTORE TEMPLATE
> > BASE_PATH="/var/lib/one//datastores/"
> > CLONE_TARGET="SYSTEM"
> > DISK_TYPE="FILE"
> > DS_MAD="fs"
> > LN_TARGET="NONE"
> > TM_MAD="shared"
> > TYPE="IMAGE_DS"
> >
> > IMAGES
> > 5
> >
> >
> > So I tried creating a new systems datastore on separate NFS mount as a
> test:
> >
> > [oneadmin]$ cat template.ds
> > NAME    = systems_nfs
> > TM_MAD  = shared
> > TYPE    = SYSTEM_DS
> > BASE_PATH = /mnt/systems/one
> >
> > [oneadmin]$ onedatastore create template.ds -c snowman
> >
> > And I get another system volume with no space:
> >
> > [oneadmin at snow-opennebula01 ~]$ onedatastore show 102
> > DATASTORE 102 INFORMATION
> > ID             : 102
> > NAME           : systems_nfs
> > USER           : oneadmin
> > GROUP          : oneadmin
> > CLUSTER        : snowman
> > TYPE           : SYSTEM
> > DS_MAD         : -
> > TM_MAD         : shared
> > BASE PATH      : /mnt/systems/one/102
> > DISK_TYPE      : FILE
> >
> > DATASTORE CAPACITY
> > TOTAL:         : 0M
> > FREE:          : 0M
> > USED:          : 0M
> > LIMIT:         : -
> >
> > PERMISSIONS
> > OWNER          : um-
> > GROUP          : u--
> > OTHER          : ---
> >
> > DATASTORE TEMPLATE
> > BASE_PATH="/mnt/systems/one/"
> > SHARED="YES"
> > TM_MAD="shared"
> > TYPE="SYSTEM_DS"
> >
> > IMAGES
> >
> > [oneadmin]$ df -h /mnt/systems/one
> > Filesystem            Size  Used Avail Use% Mounted on
> > snowman03.of-1.uk.venda.com:/tank/systems
> >                       1.4T  945M  1.4T   1% /mnt/systems
> >
> >
> > I am not sure what I am doing wrong.
>
> Hmm. I see the same over here:
>
> oneadmin at template-vm:~$ onedatastore list
>   ID NAME                SIZE AVAIL CLUSTER      IMAGES TYPE DS       TM
>  100 dummy1_ds_sys         0M -     -                 0 sys  -
>  shared
>  101 dummy1_ds_ima       7.9G 44%   BITED_zone01      1 img  fs
> shared
>  102 dummy2_ds_ima       7.9G 44%   -                 0 img  fs
> shared
>  103 dummy2_ds_sys         0M -     -                 0 sys  -
>  shared
>  104 dummy3_ds_sys         0M -     -                 0 sys  -
>  shared
>
> onedatastore show 104
> DATASTORE 104 INFORMATION
> ID             : 104
> NAME           : dummy3_ds_system
> USER           : oneadmin
> GROUP          : oneadmin
> CLUSTER        : -
> TYPE           : SYSTEM
> DS_MAD         : -
> TM_MAD         : shared
> BASE PATH      : /var/lib/one//datastores/104
> DISK_TYPE      : FILE
>
> DATASTORE CAPACITY
> TOTAL:         : 0M
> FREE:          : 0M
> USED:          : 0M
> LIMIT:         : -
>
> PERMISSIONS
> OWNER          : um-
> GROUP          : u--
> OTHER          : ---
>
> DATASTORE TEMPLATE
> BASE_PATH="/var/lib/one//datastores/"
> SHARED="YES"
> TM_MAD="shared"
> TYPE="SYSTEM_DS"
>
> IMAGES
>
> These datastores are on a ONE 4.5.85 test vm with only local storage. So
> it does not seem to matter if it's on nfs or not. One reason for having
> incorrect DATASTORE CAPACITY is that it's not monitored. I've checked
> oned.log and all image/file datastores are checked except for system
> datatores. DATASTORE_CAPACITY_CHECK is enabled. On this VM this proably
> is because there's no real host added (only dummy's). IM probes are
> copied to the host and executed in the host. Do you have enabled and
> healthy hypervisors (onehost list)? Can you check oned.log if those
> system datastores get monitored?
>
> Gr. Stefan
>
>
> --
> | BIT BV  http://www.bit.nl/        Kamer van Koophandel 09090351
> | GPG: 0xD14839C6                   +31 318 648 688 / info at bit.nl
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>



-- 
-- 
Ruben S. Montero, PhD
Project co-Lead and Chief Architect
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | rsmontero at opennebula.org | @OpenNebula
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20140425/4c8fc9c4/attachment-0002.htm>


More information about the Users mailing list