1.通过命令查看哪些pg状态不一致

ceph pg dump|grep inconsistent

2.根据输出的pg id 进行一致性检查

ceph pg scrub 1.23

instructing pg 1.23 on osd.5 to scrub

 3. 深度一致性检查

ceph pg deep-scrub 1.23

instructing pg 1.23 on osd.5 to deep-scrub

4. 修复pg

ceph pg repair 1.23

instructing pg 1.23 on osd.5 to repair

5.确认集群状态

ceph -s

posted on 2022-12-13 09:19  MhaiM  阅读(278)  评论(0编辑  收藏  举报