On Feb 4, 2015, at 3:27 PM, Gregory Farnum wrote:

> On Wed, Feb 4, 2015 at 1:20 PM, Chad William Seys
> <cws...@physics.wisc.edu> wrote:
>> Hi all,
>>   How do I determine which pool a PG belongs to?
>>   (Also, is it the case that all objects in a PG belong to one pool?)
> 
> PGs are of the form "1.a2b3c4". The part prior to the period is the
> pool ID; the part following distinguishes the PG and is based on the
> hash range it covers. :)
> 
> Yes, all objects in a PG belong to a single pool; they are hash ranges
> of the pool.
> -Greg
> _______________________________________________
> ceph-users mailing list
> ceph-users@lists.ceph.com
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

You can also map the pool number to the pool name with:

'ceph osd lspools'

Similarly, 'rados lspools' will print out the pools line by line.

Cheers,
Lincoln

_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to