What is the difference between Crush Rule1
Rule 1
Rule2
As I am seeing similar outcome in ceph
Can anyone explain
Rule 1
Code:
rule replicated_rule1 {
id 0
type replicated
min_size 1
max_size 10
step take default
step chooseleaf firstn 0 type chassis
step emit
}
Rule2
Code:
rule replicated_rule2 {
id 0
type replicated
min_size 1
max_size 10
step take default
step chooseleaf firstn 0 type chassis
step chooseleaf firstn 1 type hosts
step chooseleaf firstn 1 type osd
step emit
}
As I am seeing similar outcome in ceph
Can anyone explain