目的
- 了解 ceph scrub, deep-scrub 作用
- 了解 ceph scrub, deep-scrub 相关配置
参考告警
$ ceph -s
cluster:
id: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
health: HEALTH_WARN
434 pgs not deep-scrubbed in time <------ warning
services:
mon: 6 daemons, quorum ceph-mon-002,ceph-mon-003,ceph-mon-004,ceph-mon-005,ceph-mon-006,ceph-mon-001 (age 2w)
mgr: ceph-mon-003(active, since 10w), standbys: ceph-mon-004, ceph-mon-005, ceph-mon-002, ceph-mon-006, ceph-mon-001
mds: test_fs:3 {0=ceph-mon-002=up:active,1=ceph-mon-001=up:active,2=gd16-ceph-osd-v15-firefly-grey-006=up:active} 8 up:standby
osd: 532 osds: 532 up (since 7d), 532 in (since 2w)
data:
pools: 3 pools, 21505 pgs
objects: 107.99M objects, 408 TiB
usage: 1.3 PiB used, 1.5 PiB / 2.8 PiB avail
pgs: 21505 active+clean
io:
client: 238 MiB/s rd, 1.4 GiB/s wr,