ceph repair

troubleshooting: pgs inconsistent; 1 scrub errors

。_饼干妹妹 提交于 2019-12-12 12:55:03
【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>> 1. Problem My demo ceph cluster outputs the error message as below: ceph1:~ # ceph health detail HEALTH_ERR 1 pgs inconsistent; 1 scrub errors pg 1.32 is active+clean+inconsistent, acting [0,2,1] 1 scrub errors So, the pg in question is 1.32 , and is acting on osd[0,1,2] 2. Let's fix it On one of the osd node, i.e. ceph1: ceph1:~ # ceph pg repair 1.32 Check if we made it: ceph1:~ # ceph -w cluster 388fe838-f746-48cb-a067-2cf73859994d health HEALTH_OK monmap e1: 3 mons at {ceph1=147.2.208.109:6789/0,ceph2=147.2.208.44:6789/0,ceph3=147.2.208.73:6789/0}