1. [root@hp-ms-01-c02 ~]# ceph osd tree
  2. ID WEIGHT TYPE NAME UP/DOWN REWEIGHT PRIMARY-AFFINITY
  3. -1 4.29997 root default
  4. -2 1.09999 host osd1
  5. 0 1.00000 osd.0 up 1.00000 1.00000
  6. 5 0.09999 osd.5 up 1.00000 1.00000
  7. -4 1.09999 host osd2
  8. 1 1.00000 osd.1 up 1.00000 1.00000
  9. 6 0.09999 osd.6 up 1.00000 1.00000
  10. -3 1.00000 host osd3
  11. 2 1.00000 osd.2 up 1.00000 1.00000
  12. -5 1.00000 host osd4
  13. 3 1.00000 osd.3 up 1.00000 1.00000
  14. -6 0.09999 host osd5
  15. 4 0.09999 osd.4 up 1.00000 1.00000
  16. [root@hp-ms-01-c02 ~]# ceph osd lspools
  17. 0 rbd,6 n2,7 new3,8 n4,9 ceph1,10 ceph2,11 cephlrc,
  18. 11 is the LRC pool
  19. [root@hp-ms-01-c02 ~]# ceph osd erasure-code-profile get mylrc
  20. directory=/usr/lib64/ceph/erasure-code
  21. k=4
  22. l=3
  23. m=2
  24. plugin=lrc
  25. ruleset-failure-domain=osd
  26. [root@hp-ms-01-c02 ~]# ceph pg dump | grep ^11
  27. dumped all in format plain
  28. 11.4 0 0 0 0 0 0 0 0 active+undersized+degraded 2015-05-23 03:15:47.531271 0'0 4564:34 [3,1,4,2,5,6,NONE,0] 3 [3,1,4,2,5,6,NONE,0] 3 0'0 2015-05-21 03:37:24.438653 0'0 2015-05-21 03:37:24.438653
  29. 11.5 0 0 0 0 0 0 0 0 active+remapped 2015-05-23 03:15:48.014459 0'0 4564:93 [3,NONE,5,0,2,6,4,1] 3 [3,5,5,0,2,6,4,1] 3 0'0 2015-05-21 03:37:24.438656 0'0 2015-05-21 03:37:24.438656
  30. 11.6 0 0 0 0 0 0 0 0 active+remapped 2015-05-23 03:15:49.726581 0'0 4564:26 [0,6,2,3,1,NONE,4,5] 0 [0,6,2,3,1,5,4,5] 0 0'0 2015-05-21 03:37:24.438660 0'0 2015-05-21 03:37:24.438660
  31. 11.7 1 0 0 2 0 6840 1 1 active+remapped 2015-05-23 03:15:48.011700 3858'1 4564:81 [3,2,1,5,6,4,NONE,0] 3 [3,2,1,5,6,4,5,0] 3 0'0 2015-05-21 03:37:24.438663 0'0 2015-05-21 03:37:24.438663
  32. 11.0 0 0 0 0 0 0 0 0 active+remapped 2015-05-23 03:15:47.927157 0'0 4564:70 [2,4,3,0,5,6,NONE,1] 2 [2,4,3,0,5,6,5,1] 2 0'0 2015-05-21 03:37:24.438640 0'0 2015-05-21 03:37:24.438640
  33. 11.1 0 0 0 0 0 0 0 0 active+remapped 2015-05-23 03:15:48.397199 0'0 4564:91 [1,3,2,5,0,NONE,6,4] 1 [1,3,2,5,0,5,6,4] 1 0'0 2015-05-21 03:37:24.438644 0'0 2015-05-21 03:37:24.438644
  34. 11.2 0 0 0 0 0 0 0 0 active+undersized+degraded 2015-05-23 03:15:49.568298 0'0 4564:24 [0,2,6,3,4,1,5,NONE] 0 [0,2,6,3,4,1,5,NONE] 0 0'0 2015-05-21 03:37:24.438647 0'0 2015-05-21 03:37:24.438647
  35. 11.3 0 0 0 0 0 0 0 0 active+remapped 2015-05-23 03:15:49.549607 0'0 4564:26 [0,3,1,2,6,4,5,NONE] 0 [0,3,1,2,6,4,5,5] 0 0'0 2015-05-21 03:37:24.438650 0'0 2015-05-21 03:37:24.438650
  36. 11.8 1 0 0 2 0 76771328 19 19 active+remapped 2015-05-23 03:15:47.904829 3858'19 4564:175 [6,2,4,0,5,3,1,NONE] 6 [6,2,4,0,5,3,1,5] 6 0'0 2015-05-21 03:37:24.438667 0'0 2015-05-21 03:37:24.438667
  37. 11.9 0 0 0 0 0 0 0 0 active+remapped 2015-05-23 03:15:47.928034 0'0 4564:89 [2,5,4,1,NONE,0,6,3] 2 [2,5,4,1,5,0,6,3] 2 0'0 2015-05-21 03:37:24.438682 0'0 2015-05-21 03:37:24.438682
  38. 11.a 0 0 0 0 0 0 0 0 active+undersized+degraded 2015-05-23 03:15:46.129840 0'0 4562:66 [1,0,6,5,NONE,3,4,2] 1 [1,0,6,5,NONE,3,4,2] 1 0'0 2015-05-21 03:37:24.438686 0'0 2015-05-21 03:37:24.438686
  39. 11.b 0 0 0 0 0 0 0 0 active+remapped 2015-05-23 03:15:47.932236 0'0 4564:89 [2,5,1,0,6,4,3,NONE] 2 [2,5,1,0,6,4,3,5] 2 0'0 2015-05-21 03:37:24.438690 0'0 2015-05-21 03:37:24.438690