ceph pgs not deep-scrubbed in time 处理

测试环境出现 deep-scrubbed in time 警告

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
[root@node437 ~]# ceph -v
ceph version 15.2.13 (c44bc49e7a57a87d84dfff2a077a2058aa2172e2) octopus (stable)[root@node437 ~]# ceph -s
  cluster:
    id:     78169f4d-882c-4b36-b478-71691ec2f436
    health: HEALTH_WARN
            3 pgs not deep-scrubbed in time
            3 pgs not scrubbed in time
            3 pool(s) have no replicas configured
  
  services:
    mon: 1 daemons, quorum node437 (age 5w)
    mgr: node437(active, since 5w)
    osd: 6 osds: 6 up (since 5w), 6 in (since 5w)
  
  data:
    pools:   3 pools, 97 pgs
    objects: 10.20k objects, 16 GiB
    usage:   23 GiB used, 6.5 TiB / 6.5 TiB avail
    pgs:     97 active+clean
  
  io:
    client:   0 B/s rd, 5.7 KiB/s wr, 0 op/s rd, 0 op/s wr

查看具体详细信息

[root@node437 ~]# ceph health detail
HEALTH_WARN 3 pgs not deep-scrubbed in time; 3 pgs not scrubbed in time; 3 pool(s) have no replicas configured
[WRN] PG_NOT_DEEP_SCRUBBED: 3 pgs not deep-scrubbed in time
    pg 3.19 not deep-scrubbed since 2021-12-27T14:54:35.417018+0800
    pg 3.10 not deep-scrubbed since 2021-12-27T14:54:35.417018+0800
    pg 3.4 not deep-scrubbed since 2021-12-27T14:54:35.417018+0800
[WRN] PG_NOT_SCRUBBED: 3 pgs not scrubbed in time
    pg 3.19 not scrubbed since 2021-12-27T14:54:35.417018+0800
    pg 3.10 not scrubbed since 2021-12-27T14:54:35.417018+0800
    pg 3.4 not scrubbed since 2021-12-27T14:54:35.417018+0800
[WRN] POOL_NO_REDUNDANCY: 3 pool(s) have no replicas configured
    pool 'device_health_metrics' has no replicas configured
    pool 'dreamer_pool_1' has no replicas configured
    pool 'dreamer_pool_4.0' has no replicas configured

修复pg

[root@node437 ~]# ceph pg deep-scrub 3.19
instructing pg 3.19 on osd.1 to deep-scrub
[root@node437 ~]# ceph pg deep-scrub 3.10
instructing pg 3.10 on osd.1 to deep-scrub
[root@node437 ~]# ceph pg deep-scrub 3.4
instructing pg 3.4 on osd.1 to deep-scrub

再次确认状态,告警消失

[root@node437 ~]# ceph -s
  cluster:
    id:     78169f4d-882c-4b36-b478-71691ec2f436
    health: HEALTH_WARN
            3 pool(s) have no replicas configured
 
  services:
    mon: 1 daemons, quorum node437 (age 5w)
    mgr: node437(active, since 5w)
    osd: 6 osds: 6 up (since 5w), 6 in (since 5w)
 
  data:
    pools:   3 pools, 97 pgs
    objects: 10.20k objects, 16 GiB
    usage:   23 GiB used, 6.5 TiB / 6.5 TiB avail
    pgs:     97 active+clean
 
  io:
    client:   0 B/s rd, 341 B/s wr, 0 op/s rd, 0 op/s wr

  

posted @   一只不会飞的猪  阅读(2654)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 被坑几百块钱后,我竟然真的恢复了删除的微信聊天记录!
· 没有Manus邀请码?试试免邀请码的MGX或者开源的OpenManus吧
· 【自荐】一款简洁、开源的在线白板工具 Drawnix
· 园子的第一款AI主题卫衣上架——"HELLO! HOW CAN I ASSIST YOU TODAY
· Docker 太简单,K8s 太复杂?w7panel 让容器管理更轻松!
点击右上角即可分享
微信分享提示