- [root@hp-ms-01-c02 ~]# ceph osd tree
- ID WEIGHT TYPE NAME UP/DOWN REWEIGHT PRIMARY-AFFINITY
- -1 4.29997 root default
- -2 1.09999 host osd1
- 0 1.00000 osd.0 up 1.00000 1.00000
- 5 0.09999 osd.5 up 1.00000 1.00000
- -4 1.09999 host osd2
- 1 1.00000 osd.1 up 1.00000 1.00000
- 6 0.09999 osd.6 up 1.00000 1.00000
- -3 1.00000 host osd3
- 2 1.00000 osd.2 up 1.00000 1.00000
- -5 1.00000 host osd4
- 3 1.00000 osd.3 up 1.00000 1.00000
- -6 0.09999 host osd5
- 4 0.09999 osd.4 up 1.00000 1.00000
- [root@hp-ms-01-c02 ~]# ceph osd lspools
- 0 rbd,6 n2,7 new3,8 n4,9 ceph1,10 ceph2,11 cephlrc,
- 11 is the LRC pool
- [root@hp-ms-01-c02 ~]# ceph osd erasure-code-profile get mylrc
- directory=/usr/lib64/ceph/erasure-code
- k=4
- l=3
- m=2
- plugin=lrc
- ruleset-failure-domain=osd
- [root@hp-ms-01-c02 ~]# ceph pg dump | grep ^11
- dumped all in format plain
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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