Re: PG to pool mapping?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

> On Wed, Feb 4, 2015 at 1:20 PM, Chad William Seys
> <cwseys@xxxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxx
> 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@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com




[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux