ceph device classes hdd/nvme

jsterr

Renowned Member
Jul 24, 2020
787
223
68
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:

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!