测试环境出现 deep-scrubbed in time 警告
[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