[SOLVED] cephfs and multiple crush rules

RobFantini

Famous Member
May 24, 2012
2,042
109
133
Boston,Mass
Hello

we have 2 crush rules replicated_nvme and replicated_ssd .

Is there a way to specify the crush rule using 'pveceph fs create' or the Web GUI’s Node -> CephFS panel ?

Currently it looks like the only the 1ST crush rule used.
 
You set the rule at pool level, on the CLI with the ceph tools.
Code:
ceph osd pool set <pool-name> crush_rule <rule-name>