[one-users] ceph data store show 0M capacity

Vladislav Gorbunov vadikgo at gmail.com
Thu Aug 8 04:12:52 PDT 2013


run this test command from opennebula host:
ssh metal02 rados df | grep total
it's output like this:
  total used     15467972528      1877372
  total avail    88391504680
  total space   103859477208

2013/8/8 Marco Lanzotti - ADGlamor <marco.lanzotti at adglamor.com>:
> Hi all, I'm new in OpenNebula!
>
> I have a fresh instllation of OpenNebula 4.2 and Ceph 0.61 on Ubuntu 12.04
> LTS.
>
> I created new pool:
>
> ml at metal02:~$ sudo ceph osd pool create one 64
>
> I created new datastore on OpenNebula using this conf:
>
> NAME = "ceph"
> DS_MAD = ceph
> TM_MAD = ceph
> DISK_TYPE = RBD
> POOL_NAME = one
> HOST = metal02
>
> Now i see a 0 size datastore:
>
> oneadmin at metal01:~$ onedatastore show 108
> DATASTORE 108 INFORMATION
> ID             : 108
> NAME           : ceph
> USER           : oneadmin
> GROUP          : oneadmin
> CLUSTER        : -
> TYPE           : IMAGE
> DS_MAD         : ceph
> TM_MAD         : ceph
> BASE PATH      : /var/lib/one/datastores/108
> DISK_TYPE      : RBD
>
> DATASTORE CAPACITY
> TOTAL:         : 0M
> USED:          : 0M
> FREE:          : 0M
>
> PERMISSIONS
> OWNER          : um-
> GROUP          : u--
> OTHER          : ---
>
> DATASTORE TEMPLATE
> DS_MAD="ceph"
> HOST="metal02"
> POOL_NAME="one"
> TM_MAD="ceph"
> TYPE="IMAGE_DS"
>
> IMAGES
>
>
> I added /usr/bin/rados in sudoers with NOPASSWD as suggested here:
> http://lists.opennebula.org/pipermail/users-opennebula.org/2013-July/023884.html
>
> Now I can run rados as oneadmin user, but I still see a 0 size datastore.
>
> Thanks in advance for your help!
>
> Bye,
> Marco
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org



More information about the Users mailing list