[ceph-users] Re: 2-Layer CRUSH Map Rule?

2022-09-28 Thread Janne Johansson
> > ceph osd setcrushmap -i /tmp/crush.new > > > > Note: If you are overwriting your current rule, your data will need to > > rebalance as soon as your set the crushmap, close to 100% of your > > objects will move. If you create a new rule, you can set your pool to > > use the new pool id anytime

[ceph-users] Re: 2-Layer CRUSH Map Rule?

2022-09-27 Thread duluxoz
Thank you Tyler, That looks like exactly what I was looking for (now to test it in a test rig)  :-) Cheers Dulux-Oz On 28/09/2022 07:16, Tyler Brekke wrote: Hi Matthew, You just have to take two steps when writing your crush rule. First you want to get 3 different hosts, then you need 2

[ceph-users] Re: 2-Layer CRUSH Map Rule?

2022-09-27 Thread Tyler Brekke
Hi Matthew, You just have to take two steps when writing your crush rule. First you want to get 3 different hosts, then you need 2 osd from each host. ceph osd getcrushmap -o /tmp/crush crushtool -d /tmp/crush -o /tmp/crush.txt #edit it / make new rule rule custom-ec-ruleset { id 3