Guest User

mteixeira ceph osd crush dump

a guest
Jul 16th, 2013
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.83 KB | None | 0 0
  1. { "devices": [
  2. { "id": 0,
  3. "name": "osd.0"},
  4. { "id": 1,
  5. "name": "osd.1"},
  6. { "id": 2,
  7. "name": "osd.2"},
  8. { "id": 3,
  9. "name": "osd.3"},
  10. { "id": 4,
  11. "name": "osd.4"},
  12. { "id": 5,
  13. "name": "osd.5"},
  14. { "id": 6,
  15. "name": "device6"},
  16. { "id": 7,
  17. "name": "osd.7"},
  18. { "id": 8,
  19. "name": "device8"},
  20. { "id": 9,
  21. "name": "device9"},
  22. { "id": 10,
  23. "name": "osd.10"},
  24. { "id": 11,
  25. "name": "osd.11"},
  26. { "id": 12,
  27. "name": "osd.12"},
  28. { "id": 13,
  29. "name": "osd.13"},
  30. { "id": 14,
  31. "name": "osd.14"},
  32. { "id": 15,
  33. "name": "osd.15"},
  34. { "id": 16,
  35. "name": "osd.16"},
  36. { "id": 17,
  37. "name": "osd.17"},
  38. { "id": 18,
  39. "name": "osd.18"},
  40. { "id": 19,
  41. "name": "osd.19"},
  42. { "id": 20,
  43. "name": "osd.20"},
  44. { "id": 21,
  45. "name": "osd.21"},
  46. { "id": 22,
  47. "name": "osd.22"},
  48. { "id": 23,
  49. "name": "osd.23"},
  50. { "id": 24,
  51. "name": "osd.24"},
  52. { "id": 25,
  53. "name": "osd.25"},
  54. { "id": 26,
  55. "name": "osd.26"},
  56. { "id": 27,
  57. "name": "osd.27"},
  58. { "id": 28,
  59. "name": "osd.28"},
  60. { "id": 29,
  61. "name": "osd.29"}],
  62. "types": [
  63. { "type_id": 0,
  64. "name": "osd"},
  65. { "type_id": 1,
  66. "name": "host"},
  67. { "type_id": 2,
  68. "name": "rack"},
  69. { "type_id": 3,
  70. "name": "row"},
  71. { "type_id": 4,
  72. "name": "room"},
  73. { "type_id": 5,
  74. "name": "datacenter"},
  75. { "type_id": 6,
  76. "name": "pool"}],
  77. "buckets": [
  78. { "id": -1,
  79. "name": "default",
  80. "type_id": 6,
  81. "type_name": "pool",
  82. "weight": 1187039,
  83. "alg": "straw",
  84. "hash": "rjenkins1",
  85. "items": [
  86. { "id": -8,
  87. "weight": 704701,
  88. "pos": 0},
  89. { "id": -9,
  90. "weight": 482338,
  91. "pos": 1}]},
  92. { "id": -2,
  93. "name": "ceph1",
  94. "type_id": 1,
  95. "type_name": "host",
  96. "weight": 180416,
  97. "alg": "straw",
  98. "hash": "rjenkins1",
  99. "items": [
  100. { "id": 0,
  101. "weight": 27721,
  102. "pos": 0},
  103. { "id": 1,
  104. "weight": 30539,
  105. "pos": 1},
  106. { "id": 2,
  107. "weight": 30539,
  108. "pos": 2},
  109. { "id": 3,
  110. "weight": 30539,
  111. "pos": 3},
  112. { "id": 4,
  113. "weight": 30539,
  114. "pos": 4},
  115. { "id": 5,
  116. "weight": 30539,
  117. "pos": 5}]},
  118. { "id": -3,
  119. "name": "nc3",
  120. "type_id": 1,
  121. "type_name": "host",
  122. "weight": 145947,
  123. "alg": "straw",
  124. "hash": "rjenkins1",
  125. "items": [
  126. { "id": 21,
  127. "weight": 61079,
  128. "pos": 0},
  129. { "id": 22,
  130. "weight": 45809,
  131. "pos": 1},
  132. { "id": 23,
  133. "weight": 39059,
  134. "pos": 2}]},
  135. { "id": -4,
  136. "name": "ceph2",
  137. "type_id": 1,
  138. "type_name": "host",
  139. "weight": 30539,
  140. "alg": "straw",
  141. "hash": "rjenkins1",
  142. "items": [
  143. { "id": 7,
  144. "weight": 30539,
  145. "pos": 0}]},
  146. { "id": -6,
  147. "name": "nc1",
  148. "type_id": 1,
  149. "type_name": "host",
  150. "weight": 106888,
  151. "alg": "straw",
  152. "hash": "rjenkins1",
  153. "items": [
  154. { "id": 17,
  155. "weight": 45809,
  156. "pos": 0},
  157. { "id": 16,
  158. "weight": 61079,
  159. "pos": 1}]},
  160. { "id": -7,
  161. "name": "nc2",
  162. "type_id": 1,
  163. "type_name": "host",
  164. "weight": 144702,
  165. "alg": "straw",
  166. "hash": "rjenkins1",
  167. "items": [
  168. { "id": 20,
  169. "weight": 39059,
  170. "pos": 0},
  171. { "id": 18,
  172. "weight": 61079,
  173. "pos": 1},
  174. { "id": 19,
  175. "weight": 44564,
  176. "pos": 2}]},
  177. { "id": -8,
  178. "name": "rack3",
  179. "type_id": 2,
  180. "type_name": "rack",
  181. "weight": 704701,
  182. "alg": "straw",
  183. "hash": "rjenkins1",
  184. "items": [
  185. { "id": -7,
  186. "weight": 144702,
  187. "pos": 0},
  188. { "id": -6,
  189. "weight": 106888,
  190. "pos": 1},
  191. { "id": -3,
  192. "weight": 145947,
  193. "pos": 2},
  194. { "id": -10,
  195. "weight": 161217,
  196. "pos": 3},
  197. { "id": -11,
  198. "weight": 145947,
  199. "pos": 4}]},
  200. { "id": -9,
  201. "name": "rack2",
  202. "type_id": 2,
  203. "type_name": "rack",
  204. "weight": 482338,
  205. "alg": "straw",
  206. "hash": "rjenkins1",
  207. "items": [
  208. { "id": -2,
  209. "weight": 180416,
  210. "pos": 0},
  211. { "id": -4,
  212. "weight": 30539,
  213. "pos": 1},
  214. { "id": -12,
  215. "weight": 271383,
  216. "pos": 2}]},
  217. { "id": -10,
  218. "name": "nc4",
  219. "type_id": 1,
  220. "type_name": "host",
  221. "weight": 161217,
  222. "alg": "straw",
  223. "hash": "rjenkins1",
  224. "items": [
  225. { "id": 24,
  226. "weight": 61079,
  227. "pos": 0},
  228. { "id": 25,
  229. "weight": 61079,
  230. "pos": 1},
  231. { "id": 26,
  232. "weight": 39059,
  233. "pos": 2}]},
  234. { "id": -11,
  235. "name": "nc5",
  236. "type_id": 1,
  237. "type_name": "host",
  238. "weight": 145947,
  239. "alg": "straw",
  240. "hash": "rjenkins1",
  241. "items": [
  242. { "id": 27,
  243. "weight": 61079,
  244. "pos": 0},
  245. { "id": 28,
  246. "weight": 45809,
  247. "pos": 1},
  248. { "id": 29,
  249. "weight": 39059,
  250. "pos": 2}]},
  251. { "id": -12,
  252. "name": "ceph4",
  253. "type_id": 1,
  254. "type_name": "host",
  255. "weight": 271383,
  256. "alg": "straw",
  257. "hash": "rjenkins1",
  258. "items": [
  259. { "id": 10,
  260. "weight": 42663,
  261. "pos": 0},
  262. { "id": 11,
  263. "weight": 45744,
  264. "pos": 1},
  265. { "id": 12,
  266. "weight": 45744,
  267. "pos": 2},
  268. { "id": 13,
  269. "weight": 45744,
  270. "pos": 3},
  271. { "id": 14,
  272. "weight": 45744,
  273. "pos": 4},
  274. { "id": 15,
  275. "weight": 45744,
  276. "pos": 5}]}],
  277. "rules": [
  278. { "rule_id": 0,
  279. "rule_name": "data",
  280. "ruleset": 0,
  281. "type": 1,
  282. "min_size": 1,
  283. "max_size": 10,
  284. "steps": [
  285. { "op": "take",
  286. "item": -1},
  287. { "op": "chooseleaf_firstn",
  288. "num": 0,
  289. "type": "host"},
  290. { "op": "emit"}]},
  291. { "rule_id": 1,
  292. "rule_name": "metadata",
  293. "ruleset": 1,
  294. "type": 1,
  295. "min_size": 1,
  296. "max_size": 10,
  297. "steps": [
  298. { "op": "take",
  299. "item": -1},
  300. { "op": "chooseleaf_firstn",
  301. "num": 0,
  302. "type": "host"},
  303. { "op": "emit"}]},
  304. { "rule_id": 2,
  305. "rule_name": "rbd",
  306. "ruleset": 2,
  307. "type": 1,
  308. "min_size": 1,
  309. "max_size": 10,
  310. "steps": [
  311. { "op": "take",
  312. "item": -1},
  313. { "op": "chooseleaf_firstn",
  314. "num": 0,
  315. "type": "host"},
  316. { "op": "emit"}]}]}
Add Comment
Please, Sign In to add comment