Re: EC pool needs hosts equal to k + m?

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

 



Hi Nigel,

On 22/06/2015 02:52, Nigel Williams wrote:> I recall a post to the mailing list in the last week(s) where someone said that for an EC Pool the failure-domain defaults to having k+m hosts in some versions of Ceph?
> 
> Can anyone recall the post? have I got the requirement correct?

Yes.

The default is equivalent to "no two chunks in the same host". When you have K+M chunks, it means you need at least K+M hosts. It is however better to have K+M+1 hosts or more because CRUSH may fail to map otherwise. You can test the mapping as demonstrated at https://github.com/ceph/ceph/blob/master/src/test/cli/crushtool/bad-mappings.t: if it succeeds with this tool, it will also succeed on your actual cluster.

Cheers

-- 
Loïc Dachary, Artisan Logiciel Libre

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
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