问题描述:

在某些情况下,osd出现异常,导致pgs出现不一致状态
# ceph health detail
HEALTH_ERR 1 pgs inconsistent; 1 scrub errors
pg 6.89 is active+clean+inconsistent, acting [12,1,10]
1 scrub errors

可以看到,pg 6.89处于不一致状态


解决方式:
#ceph pg repair 6.89
instructing pg 6.89 on osd.12 to repair

#ceph health detail
知道状态恢复为ok