How this cluster will be growed, when two new rooms are builders 🙂 Google tells, if cluster are not fixed with domains (more hardware, as always) - num-failure-domains should be omitted Thanks, k Sent from my iPhone
On 11 Nov 2026, at 13:20, Eugen Block <ceph-users@ceph.io> wrote:
Note that for MSR to work you'll need to set require_min_compat_client to "squid". But it requires the --yes-i-really-mean-it flag, so you have to be sure that all clients really support squid features. Here's an example from one of my latest tests:
ceph osd erasure-code-profile set isa-cauchy k=5 m=7 crush-failure-domain=room crush-osds-per-failure-domain=2 crush-num-failure-domains=6 plugin=isa technique=cauchy
ceph osd erasure-code-profile get isa-cauchy crush-device-class= crush-failure-domain=room crush-num-failure-domains=6 crush-osds-per-failure-domain=2 crush-root=default k=5 m=7 plugin=isa technique=cauchy
ceph osd crush rule create-erasure ec-k5m7-isa-cauchy-rule isa-cauchy Error EINVAL: new crush map requires client version squid but require_min_compat_client is luminous
ceph osd set-require-min-compat-client squid --yes-i-really-mean-it set require_min_compat_client to squid
ceph osd crush rule create-erasure ec-k5m7-isa-cauchy-rule isa-cauchy created rule ec-k5m7-isa-cauchy-rule at 6
But after I set require_min_compat_client to squid I needed to run all commands from within cephadm shell until I updated Ceph packages to match the Ceph version. ;-)
And to answer your question, yes, I have 6 rooms (crush-failure-domain=room, crush-num-failure-domains=6) and I want to have two chunks per room (crush-osds-per-failure-domain=2). The rule works as expected.
Zitat von Konstantin Shalygin <ceph-users@ceph.io>:
Hi,
On 5 Nov 2026, at 06:32, Anh Phan Tuan <ceph-users@ceph.io> wrote:
What ceph version are you planning to use?,
If it is newer or equivalent to squid, you can easily use EC4+3 with the new CRUSH MSR introduced in squid.
For the early version, you must manually modify the CRUSH rule for EC4+3.
(Note, if using EC4+3 (pick 2 osd from 1 host), it's safe for 3 HDD failures, but not for 2 NVMe Metadata failures).
With MSR possible to define and failure-domain and bucket for placement in this domain? What I mean, is something like:
crush-failure-domain=rack (step 1) \ crush-failure-bucket=host (step 2) \ crush-osds-per-failure-domain=2 (step 3)
Also, is not documented what is "crush-num-failure-domains"? This means If I have 4 racks, should be defined crush-num-failure-domains=4?
Thanks, k _______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io
_______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io