On Tue, Dec 20, 2016 at 3:18 PM, Marius Vaitiekunas <
mariusvaitieku...@gmail.com> wrote:

> Hi Cephers,
>
> Could anybody explain, how rgw works with pools? I don't understand
> how .rgw.control, .rgw.gc,,  .rgw.buckets.index pools could be 0 size, but
> also have some objects?
>
> # ceph df detail
> GLOBAL:
>     SIZE     AVAIL     RAW USED     %RAW USED     OBJECTS
>     507T      190T         316T         62.49      42285k
> POOLS:
>     NAME                           ID     CATEGORY     QUOTA OBJECTS
> QUOTA BYTES     USED       %USED     MAX AVAIL     OBJECTS      DIRTY
>  READ       WRITE      RAW USED
>     .rgw.control                   14     -            N/A
> N/A                  0         0        13605G            8          3
>      0          0            0
>     .rgw.gc                        16     -            N/A
> N/A                  0         0        13605G          512        492
>   365M       449M            0
>     .rgw.buckets.index             20     -            N/A
> N/A                  0         0        13605G          977        977
>  1593M       743M            0
>
>
> If I try to download objects from a .rgw.gc pool with rados -p .rgw.gc get
> ${object} ${object} , all the objects are zero size. So, how gc process
> know what should be deleted?
>
>
> Thanks!
>
>
We found an article, how rgw works with pools:
https://allthenodes.wordpress.com/2016/01/29/how-indexes-work-in-ceph-rados-gateway/

Just in case someone else needs it :)

-- 
Marius Vaitiekūnas
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to