Ceph

[Ceph] pgs not deep-scrubbed in time

plastic2113 2024. 11. 27. 05:42
728x90
반응형

Symptoms..

ceph -s 로 확인하면.

root@mon0:~# ceph -s
  cluster:
    id:     [fsid]
    health: HEALTH_WARN
            1 pgs not deep-scrubbed in time

 

여기서 좀 더 자세하게 확인하기 위해 ceph health detail 로 확인하면 아래와 같이 어떤 pg_id인지 확인 할 수 있다.

root@mon0:~# ceph health detail 
HEALTH_WARN 1 pgs not deep-scrubbed in time
[WRN] PG_NOT_DEEP_SCRUBBED: 1 pgs not deep-scrubbed in time
    pg [pg_id] not deep-scrubbed since [date]
반응형

Touble_shooting..

위에서 확인한 pg_id를 deep-scrub 한다.

root@mon0:~# ceph pg deep-scrub [pg_id]
instructing pg [pg_id] on osd.[osd_id] to deep-scrub

* 해당 pg가 있는 osd에서 deep-scrub을 하도록 하는 명령어

728x90

Verifying..

다시 한번 ceph -s 로 확인.

root@mon0:~# ceph -s
  cluster:
    id:     [fsid]
    health: HEALTH_OK

 

 

728x90
반응형