# ceph osd crush tree ID CLASS WEIGHT TYPE NAME -1 3.63835 root default -9 0.90959 pod group1 -5 0.90959 host feather1 1 hdd 0.90959 osd.1 -10 2.72876 pod group2 -7 1.81918 host ds1 2 hdd 0.90959 osd.2 3 hdd 0.90959 osd.3 -3 0.90958 host feather0 0 hdd 0.90958 osd.0 And I've made a rule # ceph osd crush rule dump pods { "rule_id": 1, "rule_name": "pods", "ruleset": 1, "type": 1, "min_size": 1, "max_size": 10, "steps": [ { "op": "take", "item": -1, "item_name": "default" }, { "op": "chooseleaf_firstn", "num": 0, "type": "pod" }, { "op": "emit" } ] }
1. Assign device class to your crush rule: ceph osd crush rule create-replicated pods default pod hdd 2. Your crush is imbalanced: *good*: root: host1: - osd0 host2: - osd1 host3: - osd3 *bad*: root: host1: - osd0 host2: - osd1 - osd2 - osd3 k _______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com