[ceph-users] Re: Crush map & rule

2023-11-08 Thread David C.
Hi Albert, What would be the number of replicas (in total and on each row) and their distribution on the tree ? Le mer. 8 nov. 2023 à 18:45, Albert Shih a écrit : > Hi everyone, > > I'm totally newbie with ceph, so sorry if I'm asking some stupid question. > > I'm trying to understand how the

[ceph-users] Re: Crush map & rule

2023-11-08 Thread Albert Shih
Le 08/11/2023 à 19:29:19+0100, David C. a écrit Hi David. > > What would be the number of replicas (in total and on each row) and their > distribution on the tree ? Well “inside” a row that would be 3 in replica mode. Between row...well two ;-) Beside to understanding how to write a rule a l

[ceph-users] Re: Crush map & rule

2023-11-09 Thread David C.
(I wrote it freehand, test before applying) If your goal is to have a replication of 3 on a row and to be able to switch to the secondary row, then you need 2 roles and you change the crush rule on the pool side : rule primary_location { (...) step take primary class ssd step chooseleaf firs