Ceph Replication Rule

ermanishchawla

Well-Known Member
Mar 23, 2020
332
37
48
38
What is the difference between Crush Rule1

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
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!