ceph ( pgs inconsistent) pgs不一致 异常状态问题

现象:巡检ceph时候

$ ceph health detail
HEALTH_ERR 1 pgs inconsistent; 1 scrub errors
pg 4.395 is active+clean+inconsistent, acting [37,278,197]

1 scrub errors


解决方法:

进行修复

$ ceph pg repair 4.395

instructing pg 4.395 on osd.37 to repair

一段时间后:修复有个过程

$ ceph health detail
HEALTH_ERR 1 pgs inconsistent; 1 pgs repair; 1 scrub errors
pg 4.395 is active+clean+scrubbing+deep+inconsistent+repair, acting [37,278,197]
1 scrub errors

过一会再看:

$ ceph health detail

HEALTH_OK

当服务器数量增加,osd增多,pg相对也会增多,偶尔发生这种情况很正常,不必担心,ceph修复能力很强

你可能感兴趣的:(ceph,gluster等网络存储)