Re: [ceph-users] Erasure coded PGs incomplete

2015-01-09 Thread Nick Fisk
in the Crush map was the best way to achieve what I did, but it seemed to work. Nick From: ceph-users [mailto:ceph-users-boun...@lists.ceph.com] On Behalf Of Italo Santos Sent: 08 January 2015 22:35 To: Loic Dachary Cc: ceph-users@lists.ceph.com Subject: Re: [ceph-users] Erasure coded PGs

Re: [ceph-users] Erasure coded PGs incomplete

2015-01-08 Thread Italo Santos
Thanks for your answer. But another doubt raised… Suppose I have 4 hosts with a erasure pool created with k=3, m=1 and failure domain by host and I lost a host. On this case I’ll face with the same issue on the beginning of this thread because k+m number of hosts, right? - On this scenario,

Re: [ceph-users] Erasure coded PGs incomplete

2014-12-17 Thread Italo Santos
Hello Loic, Thanks for you help, I’ve take a look to my crush map and I replace step chooseleaf indep 0 type osd” by step choose indep 0 type osd” and all PGs was created successfully. At. Italo Santos http://italosantos.com.br/ On Tuesday, December 16, 2014 at 8:39 PM, Loic Dachary

Re: [ceph-users] Erasure coded PGs incomplete

2014-12-17 Thread Loic Dachary
Hi, Thanks for the update : good news are much appreciated :-) Would you have time to review the documentation at https://github.com/ceph/ceph/pull/3194/files ? It was partly motivated by the problem you had. Cheers On 17/12/2014 14:03, Italo Santos wrote: Hello Loic, Thanks for you help,

Re: [ceph-users] Erasure coded PGs incomplete

2014-12-17 Thread Italo Santos
Hello, I’ve take a look to this documentation (which help a lot) and if I understand right, when I set a profile like: === ceph osd erasure-code-profile set isilon k=8 m=2 ruleset-failure-domain=host === And create a pool following the recommendations on doc, I’ll need (100*16)/2 = 800 PGs,

Re: [ceph-users] Erasure coded PGs incomplete

2014-12-17 Thread Loic Dachary
On 17/12/2014 18:18, Italo Santos wrote: Hello, I’ve take a look to this documentation (which help a lot) and if I understand right, when I set a profile like: === ceph osd erasure-code-profile set isilon k=8 m=2 ruleset-failure-domain=host === And create a pool following the

Re: [ceph-users] Erasure coded PGs incomplete

2014-12-17 Thread Italo Santos
Loic, So, if want have a failure domain by host, I’ll need set up a erasure profile which k+m = total number of hosts I have, right? Regards. Italo Santos http://italosantos.com.br/ On Wednesday, December 17, 2014 at 3:24 PM, Loic Dachary wrote: On 17/12/2014 18:18, Italo Santos

Re: [ceph-users] Erasure coded PGs incomplete

2014-12-17 Thread Loic Dachary
On 17/12/2014 19:22, Italo Santos wrote: Loic, So, if want have a failure domain by host, I’ll need set up a erasure profile which k+m = total number of hosts I have, right? Yes, k+m has to be = number of hosts. Regards. *Italo Santos* http://italosantos.com.br/ On Wednesday,

Re: [ceph-users] Erasure coded PGs incomplete

2014-12-17 Thread Italo Santos
Understood. Thanks for your help, the cluster is healthy now :D Also, using for example k=6,m=1 and failure domain by host I’ll be able lose all OSD on the same host, but if a lose 2 disks on different hosts I can lose data right? So, it is possible been a failure domain which allow me to lose

Re: [ceph-users] Erasure coded PGs incomplete

2014-12-17 Thread Loic Dachary
On 17/12/2014 19:46, Italo Santos wrote: Understood. Thanks for your help, the cluster is healthy now :D Also, using for example k=6,m=1 and failure domain by host I’ll be able lose all OSD on the same host, but if a lose 2 disks on different hosts I can lose data right? So, it is

[ceph-users] Erasure coded PGs incomplete

2014-12-16 Thread Italo Santos
Hello, I'm trying to create an erasure pool following http://docs.ceph.com/docs/master/rados/operations/erasure-code/, but when I try create a pool with a specifc erasure-code-profile (myprofile) the PGs became on incomplete state. Anyone can help me? Below the profile I created:

Re: [ceph-users] Erasure coded PGs incomplete

2014-12-16 Thread Loic Dachary
Hi, The 2147483647 means that CRUSH did not find enough OSD for a given PG. If you check the crush rule associated with the erasure coded pool, you will most probably find why. Cheers On 16/12/2014 23:32, Italo Santos wrote: Hello, I'm trying to create an erasure pool following