Ceph 12 报错:health: HEALTH_ERR 1 scrub errors Possible data damage: 1 pg inconsistent

报错如下:

[root@mon1 cluster_info]# ceph -s
  cluster:
    id:     ccce22db-bbbb-dddd-eeee-fffffffbaaaaa
    health: HEALTH_ERR
            1 scrub errors
            Possible data damage: 1 pg inconsistent

  services:
    mon: 3 daemons, quorum mon1,mon2,mon3
    mgr: mon1(active)
    mds: cephfs-1/1/1 up  {0=mon1=up:active}, 2 up:standby
    osd: 21 osds: 21 up, 21 in
    rgw: 3 daemons active

  data:
    pools:   7 pools, 1632 pgs
    objects: 2.80M objects, 3.80TiB
    usage:   10.9TiB used, 23.5TiB / 34.4TiB avail
    pgs:     1631 active+clean
             1    active+clean+inconsistent

# 找异常的 PG
ceph health detail
# 查询异常 PG 的异常
ceph pg 1.3af query
# 去对应节点上看 osd 的日志
zgrep ERR ceph-osd.8.log*
# 修复异常
ceph pg repair 1.3af


参考链接:
ceph修复pg inconsistent
Ceph: manually repair object

你可能感兴趣的:(ceph)