Re: [ceph-users] Help/advice with crush rules

2018-05-21 Thread Gregory Farnum
On Mon, May 21, 2018 at 11:19 AM Andras Pataki < apat...@flatironinstitute.org> wrote: > Hi Greg, > > Thanks for the detailed explanation - the examples make a lot of sense. > > One followup question regarding a two level crush rule like: > > > step take default > step choose 3 type=rack > step ch

Re: [ceph-users] Help/advice with crush rules

2018-05-21 Thread Andras Pataki
Hi Greg, Thanks for the detailed explanation - the examples make a lot of sense. One followup question regarding a two level crush rule like: step take default step choose 3 type=rack step chooseleaf 3 type=host step emit If the erasure code has 9 chunks, this lines up exactly without any pro

Re: [ceph-users] Help/advice with crush rules

2018-05-18 Thread Gregory Farnum
On Thu, May 17, 2018 at 9:05 AM Andras Pataki wrote: > I've been trying to wrap my head around crush rules, and I need some > help/advice. I'm thinking of using erasure coding instead of > replication, and trying to understand the possibilities for planning for > failure cases. > > For a simplif