ceph device classes hdd/nvme

jsterr

Renowned Member
Jul 24, 2020
862
248
88
33
On which drives does the default ceph crush rule "replicated_rule" place their data on? so if I create replicated_rule_nvme, I know data gets on the nvmes. But how do I know, on which devices the replicated_rule (default creation by proxmox ceph installer) puts her data?

Wanna be sure, that the pool with "replicated_rule" does not put data on nvmes aswell.


Code:
# rules
rule replicated_rule {
    id 0
    type replicated
    min_size 1
    max_size 10
    step take default
    step chooseleaf firstn 0 type host
    step emit
}
rule replicated_rule_nvme {
    id 1
    type replicated
    min_size 1
    max_size 10
    step take default class nvme
    step chooseleaf firstn 0 type host
    step emit
}

Does that mean default rule would still use all osds? So need to create two rules (one for hdd / one for nvme) and delete the replicated_rule?
 
Last edited:
Last edited: