⚲
Project
General
Profile
Sign in
Register
Home
Projects
Help
Search
:
Ceph
All Projects
Ceph
Overview
Activity
Roadmap
Issues
Spent time
Gantt
Calendar
Wiki
Repository
Download (1.59 KB)
Bug #3806
» crush.txt
Ben Poliakoff
, 01/18/2013 03:45 PM
# begin crush map
tunable choose_local_tries 0
tunable choose_local_fallback_tries 0
tunable choose_total_tries 50
# 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
# types
type 0 osd
type 1 host
type 2 rack
type 3 row
type 4 room
type 5 datacenter
type 6 root
# buckets
host cog {
id -2 # do not change unnecessarily
# weight 3.000
alg straw
hash 0 # rjenkins1
item osd.0 weight 1.000
item osd.1 weight 1.000
item osd.5 weight 1.000
}
host chain {
id -4 # do not change unnecessarily
# weight 3.000
alg straw
hash 0 # rjenkins1
item osd.2 weight 1.000
item osd.3 weight 1.000
item osd.6 weight 1.000
}
host prime {
id -5 # do not change unnecessarily
# weight 3.000
alg straw
hash 0 # rjenkins1
item osd.4 weight 1.000
item osd.7 weight 1.000
item osd.8 weight 1.000
}
rack unknownrack {
id -3 # do not change unnecessarily
# weight 9.000
alg straw
hash 0 # rjenkins1
item cog weight 3.000
item chain weight 3.000
item prime weight 3.000
}
root default {
id -1 # do not change unnecessarily
# weight 9.000
alg straw
hash 0 # rjenkins1
item unknownrack weight 9.000
}
# rules
rule data {
ruleset 0
type replicated
min_size 2
max_size 10
step take default
step chooseleaf firstn 0 type host
step emit
}
rule metadata {
ruleset 1
type replicated
min_size 2
max_size 10
step take default
step chooseleaf firstn 0 type host
step emit
}
rule rbd {
ruleset 2
type replicated
min_size 2
max_size 10
step take default
step chooseleaf firstn 0 type host
step emit
}
# end crush map
« Previous
1
2
3
Next »
(3-3/3)
Loading...