ceph ( pgs inconsistent) pgs不一致 異常狀態處理方式

問題描述:

在某些情況下,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 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章