On Mon, Feb 5, 2018 at 12:45 PM, Thomas Bennett <tho...@ska.ac.za> wrote:
> Hi,
>
> In trying to understand RGW pool usage I've noticed the pool called
> default.rgw.meta pool has a large number of objects in it. Suspiciously
> about twice as many objects in my default.rgw.buckets.index pool.
>
> As I delete and add buckets, the number of objects in both pools decrease
> and increase proportionally.
>
> However when I try to list the objects in the default.rgw.meta pool, it
> returns nothing.
>
> I.e  'rados -p default.rgw.buckets.index ls' returns nothing.
>
> Is this expected behaviour for this pool?
>
> What are all those objects and why can I not list them?
>

default.rgw.bucket.index store the bucket index objects which are omap objects.
You cannot see the omap size using rados ls but need to use rados omap commands.
You can use this script to calculate the bucket index size:
https://github.com/mkogan1/ceph-utils/blob/master/scripts/get_omap_kv_size.sh

> From my understanding default.rgw.buckets.index should contain thinks like:
you probably meant default.rgw.meta.
It is a namespace not a pool try using:
rados ls -p default.rgw.meta --all

Regards,
Orit

> domain_root, user_keys_pool, user_email_pool, user_swift_pool,
> user_uid_pool.
>


> Cheers,
> Tom
>
>
> _______________________________________________
> ceph-users mailing list
> ceph-users@lists.ceph.com
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to