【Ceph运维】Ceph 调整crush map
Ceph 调整crush map
1、前言
本文章适用于ceph n版
2、示例
1、创建新的replicated
####命令模板######
ceph osd crush rule create-replicated <rule-name> <root> <failure-domain> <class>
###################示例#####
ceph osd crush rule create-replicated ssd-rule default host ssd
2、修改当前pool的rule
#####命令模板#######
ceph osd pool set <pool-name> crush_rule <rule-name>
####示例########
ceph osd pool set ssd-pool crush_rule ssd-rule