- Crush Map:
- # begin crush map
- tunable choose_local_tries 0
- tunable choose_local_fallback_tries 0
- tunable choose_total_tries 50
- tunable chooseleaf_descend_once 1
- tunable straw_calc_version 1
- # devices
- device 0 osd.0
- device 1 osd.1
- device 2 osd.2
- device 3 osd.3
- device 4 osd.4
- device 5 osd.5
- device 6 osd.6
- # types
- type 0 osd
- type 1 host
- type 2 chassis
- type 3 rack
- type 4 row
- type 5 pdu
- type 6 pod
- type 7 room
- type 8 datacenter
- type 9 region
- type 10 root
- # buckets
- root sata {
- id -22 # do not change unnecessarily
- # weight 0.000
- alg straw
- hash 0 # rjenkins1
- item osd.0 weight 0.270
- item osd.1 weight 0.270
- item osd.2 weight 0.270
- }
- root ssd {
- id -21 # do not change unnecessarily
- # weight 0.000
- alg straw
- hash 0 # rjenkins1
- item osd.5 weight 0.180
- item osd.6 weight 0.180
- item osd.4 weight 0.270
- item osd.3 weight 0.270
- }
- # rules
- rule sata {
- ruleset 0
- type replicated
- min_size 1
- max_size 10
- step take sata
- step chooseleaf firstn 0 type osd
- step emit
- }
- rule ssd {
- ruleset 1
- type erasure
- min_size 1
- max_size 10
- step take ssd
- step chooseleaf firstn 0 type osd
- step emit
- }
- ceph osd erasure-code-profile set myprofile k=2 m=1 ruleset-root=ssd plugin=jerasure ruleset-failure-domain=osd
- ceph osd pool create ecpool 128 128 erasure myprofile
- Actually the PGs are getting stuck while creation process.
- '0 2015-06-10 04:47:55.642678 0'0 2015-06-10 04:47:55.642678
- 9.e 0 0 0 0 0 0 0 0 creating 0.000000 0'0 0:0 [NONE,NONE,NONE] -1 [NONE,NONE,NONE] -1 0'0 2015-06-10 04:47:55.642688 0'0 2015-06-10 04:47:55.642688
- 9.f 0 0 0 0 0 0 0 0 creating 0.000000 0'0 0:0 [NONE,NONE,NONE] -1 [NONE,NONE,NONE] -1 0'0 2015-06-10 04:47:55.642688 0'0 2015-06-10 04:47:55.642688
- 9.c 0 0 0 0 0 0 0 0 creating 0.000000 0'0 0:0 [NONE,NONE,NONE] -1 [NONE,NONE,NONE] -1 0'0 2015-06-10 04:47:55.642686 0'0 2015-06-10 04:47:55.642686
- 9.d 0 0 0 0 0 0 0 0 creating 0.000000 0'0 0:0 [NONE,NONE,NONE] -1 [NONE,NONE,NONE] -1 0'0 2015-06-10 04:47:55.642687 0'0 2015-06-10 04:47:55.642687
- 9.a 0 0 0 0 0 0 0 0 creating 0.000000 0'0 0:0 [NONE,NONE,NONE] -1 [NONE,NONE,NONE] -1 0'0 2015-06-10 04:47:55.642685 0'0 2015-06-10 04:47:55.642685
- 9.b 0 0 0 0 0 0 0 0 creating 0.000000 0'0 0:0 [NONE,NONE,NONE] -1 [NONE,NONE,NONE] -1 0'0 2015-06-10 04:47:55.642686 0'0 2015-06-10 04:47:55.642686
- 9.8 0 0 0 0 0 0 0 0 creating 0.000000 0'0 0:0 [NONE,NONE,NONE] -1 [NONE,NONE,NONE] -1 0'0 2015-06-10 04:47:55.642683 0'0 2015-06-10 04:47:55.642683
- 9.9 0 0 0 0 0 0 0 0 creating 0.000000 0'0 0:0 [NONE,NONE,NONE] -1 [NONE,NONE,NONE] -1 0'0 2015-06-10 04:47:55.642684 0'0 2015-06-10 04:47:55.642684
- pool 9 0 0 0 0 0 0 0 0
- sum 0 0 0 0 0 0 0 0
- osdstat kbused kbavail kb hb in hb out
- 0 36300 287001188 287037488 [] []
- 1 36456 287001032 287037488 [0] []
- 2 36628 287000860 287037488 [0,1] []
- 3 36684 287000804 287037488 [0,1,2] []
- 4 36748 287000740 287037488 [0,1,2,3] []
- 5 36564 189399964 189436528 [0,1,2,3,4] []
- 6 36688 189399840 189436528 [0,1,2,3,4,5] []