Re: [ceph-users] Erasure code ruleset for small cluster

2018-02-05 Thread Sage Weil
On Mon, 5 Feb 2018, Gregory Farnum wrote: > On Mon, Feb 5, 2018 at 3:23 AM Caspar Smit wrote: > > > Hi Gregory, > > > > Thanks for your answer. > > > > I had to add another step emit to your suggestion to make it work: > > > > step take default > > step chooseleaf indep 4

Re: [ceph-users] Erasure code ruleset for small cluster

2018-02-05 Thread Gregory Farnum
On Mon, Feb 5, 2018 at 3:23 AM Caspar Smit wrote: > Hi Gregory, > > Thanks for your answer. > > I had to add another step emit to your suggestion to make it work: > > step take default > step chooseleaf indep 4 type host > step emit > step take default > step chooseleaf

Re: [ceph-users] Erasure code ruleset for small cluster

2018-02-05 Thread Caspar Smit
Hi Gregory, Thanks for your answer. I had to add another step emit to your suggestion to make it work: step take default step chooseleaf indep 4 type host step emit step take default step chooseleaf indep 4 type host step emit However, now the same OSD is chosen twice for every PG: #

Re: [ceph-users] Erasure code ruleset for small cluster

2018-02-02 Thread Gregory Farnum
On Fri, Feb 2, 2018 at 8:13 AM, Caspar Smit wrote: > Hi all, > > I'd like to setup a small cluster (5 nodes) using erasure coding. I would > like to use k=5 and m=3. > Normally you would need a minimum of 8 nodes (preferably 9 or more) for > this. > > Then i found this