首页 > 技术文章 > PG 选不出足够的副本数导致创建 EC 池失败的问题

hlc-123 2019-06-06 19:48 原文

ceph osd getcrushmap -o crush
crushtool -d crush -o crush.txt
sed -i 's/tunable choose_total_tries 50/tunable choose_total_tries 150/g' crush.txt
crushtool -c crush.txt -o crush.new
ceph osd setcrushmap -i crush.new

大集群的场景下创建pool失败解决方法:

ceph tell mon.* injectargs '--paxos_osdmap_propose_interval=1'

推荐阅读