問題描述:
在某些情況下,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