Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # begin crush map
- # 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
- device 7 osd.7
- device 8 osd.8
- device 9 osd.9
- # types
- type 0 osd
- type 1 host
- type 2 rack
- type 3 row
- type 4 room
- type 5 datacenter
- type 6 pool
- # buckets
- host localhost {
- id -2 # do not change unnecessarily
- # weight 10.000
- alg straw
- hash 0 # rjenkins1
- item osd.0 weight 1.000
- item osd.1 weight 1.000
- item osd.2 weight 1.000
- item osd.3 weight 1.000
- item osd.4 weight 1.000
- item osd.5 weight 1.000
- item osd.6 weight 1.000
- item osd.7 weight 1.000
- item osd.8 weight 1.000
- item osd.9 weight 1.000
- }
- rack localrack {
- id -3 # do not change unnecessarily
- # weight 10.000
- alg straw
- hash 0 # rjenkins1
- item localhost weight 10.000
- }
- pool default {
- id -1 # do not change unnecessarily
- # weight 10.000
- alg straw
- hash 0 # rjenkins1
- item localrack weight 10.000
- }
- # rules
- rule data {
- ruleset 0
- type replicated
- min_size 1
- max_size 10
- step take default
- step choose firstn 0 type osd
- step emit
- }
- rule metadata {
- ruleset 1
- type replicated
- min_size 1
- max_size 10
- step take default
- step choose firstn 0 type osd
- step emit
- }
- rule rbd {
- ruleset 2
- type replicated
- min_size 1
- max_size 10
- step take default
- step choose firstn 0 type osd
- step emit
- }
- # end crush map
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement