找回密码
 注册
查看: 541|回复: 0

一次pgs,1 scrub errors 修复过程。

[复制链接]

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
发表于 2023-7-2 08:26:45 | 显示全部楼层 |阅读模式
[root@controller1 ~]# ceph health detail 2 X. V% d1 D5 g
HEALTH_ERR 1 pgs inconsistent; 1 scrub errors
5 g. C* D) N" Z1 A& [$ `0 ~& ~5 Zpg 1.20b3 is active+clean+inconsistent, acting [117,26,78]' {/ \4 D" l, n* r" i
1 scrub errors; P$ a% w3 a1 v8 }
[root@controller1 ~]# ceph pg  repair 1.20b3
; y' z' n; P- q, M9 Zinstructing pg 1.20b3 on osd.117 to repair
! A* f: O' A( I. b[root@controller1 ~]# ceph health detail
9 f4 A- e8 J3 J8 a5 RHEALTH_ERR 1 pgs inconsistent; 1 pgs repair; 1 scrub errors
2 J- t& O3 Q% [pg 1.20b3 is active+clean+scrubbing+deep+inconsistent+repair, acting [117,26,78]
  g  v3 S: z+ {& g1 M1 scrub errors  q# N5 _' C+ J' y
[root@controller1 ~]# ceph health detail
7 p" Q8 Y2 ~! F3 r! a; y7 i/ RHEALTH_ERR 1 pgs inconsistent; 1 pgs repair; 1 scrub errors0 n3 h- W; h; L8 m2 D
pg 1.20b3 is active+clean+scrubbing+deep+inconsistent+repair, acting [117,26,78]/ `! h, G; S. r
1 scrub errors( a3 ~7 T0 N2 O0 ]/ L" o# D/ ~
[root@controller1 ~]# ceph -s
% k" ]" d8 y/ o    cluster 70d27aec-742e-4a95-b000-cf37ebba35d0
1 _, j+ {2 j/ c( B  J     health HEALTH_ERR
+ p1 x8 W* X, T) s            1 pgs inconsistent9 k9 X+ s( w- n1 K
            1 pgs repair) p" r  o7 u3 x' d8 Y
            1 scrub errors- R% b" s9 \% d$ K- w1 Q
    monmap e3: 3 mons at {compute1=12.24.14.5:6789/0,compute2=12.24.14.6:6789/0,compute3=12.24.14.7:6789/0}
) \, C) P) g% D9 F. [  ^            election epoch 310, quorum 0,1,2 compute1,compute2,compute3
7 F5 d/ _5 _; P, _5 T     osdmap e26007: 131 osds: 128 up, 128 in/ G; L5 d4 X4 M% p  }  j6 u
            flags sortbitwise,require_jewel_osds
" f! i" @+ P9 p. e4 V      pgmap v157378710: 10240 pgs, 1 pools, 102 TB data, 26971 kobjects1 l6 d3 J& M& E% j1 t! Z
            306 TB used, 159 TB / 465 TB avail
4 s" p. ?5 r8 T               10234 active+clean
) L5 q6 x: s& F! o, `                   3 active+clean+scrubbing+deep
, U4 N% ^( B( p) z                   2 active+clean+scrubbing
& z+ \5 h) w- g; G4 S" k                   1 active+clean+scrubbing+deep+inconsistent+repair4 D: ~# y7 [) I. v( m  w) c+ d
  client io 1661 kB/s rd, 51656 kB/s wr, 1616 op/s rd, 4889 op/s wr
9 \" m% J' L- I9 ^2 b# Y[root@controller1 ~]# ceph health detail
1 X- w2 m' _4 a( w  jHEALTH_ERR 1 pgs inconsistent; 1 pgs repair; 1 scrub errors
/ n' K4 l4 ]3 w8 k2 `, upg 1.20b3 is active+clean+scrubbing+deep+inconsistent+repair, acting [117,26,78]' r: I" r9 |+ I, p7 H9 H
1 scrub errors7 y1 O  Y8 [! J
You have new mail in /var/spool/mail/root: z- Z1 Z7 S% E# Z/ d+ i
[root@yz-cloud-prod-controller1 ~]# ceph health detail 1 I) e9 u; y* l. x/ F5 O8 d3 Z" y7 ~
HEALTH_ERR 1 pgs inconsistent; 1 pgs repair; 1 scrub errors3 Q; b! @: V; e  C* X3 a
pg 1.20b3 is active+clean+scrubbing+deep+inconsistent+repair, acting [117,26,78], B( N; [1 g! Z/ u
1 scrub errors( @# X6 M+ a' k. W4 ?
[root@controller1 ~]# ceph -s% Z; G5 }% G9 `2 R8 [' k; |
    cluster 70d27aec-742e-4a95-b000-cf37ebba35d0
, Q+ G4 F+ J/ c) S+ J* z     health HEALTH_ERR3 v! R+ N% |6 _" s5 @+ q, R! l
            1 pgs inconsistent
1 o: ^5 t8 h5 V: a! |, @# b9 p            1 pgs repair9 Q# Z' c* H5 q/ u( Q" M
            1 scrub errors
2 C/ g% T' G+ y9 h    monmap e3: 3 mons at {compute1=12.24.14.5:6789/0,compute2=12.24.14.6:6789/0,compute3=12.24.14.7:6789/0}- p' Y- ~' g# m  [  p! C$ A, Z* R
            election epoch 310, quorum 0,1,2 compute1,compute2,compute3
; {3 H# p; `- \7 P9 C" c     osdmap e26007: 131 osds: 128 up, 128 in
7 Z  a: [& {+ W. |* S  K& B            flags sortbitwise,require_jewel_osds
6 v/ D8 C3 z0 c  D      pgmap v157378813: 10240 pgs, 1 pools, 102 TB data, 26971 kobjects
! s( P- b: o# p( U5 ~            306 TB used, 159 TB / 465 TB avail
- }% g3 `8 [. w, a2 Y" i: A               10233 active+clean6 O3 X8 G4 D2 O8 e0 p/ m9 t
                   5 active+clean+scrubbing
( F6 n) ]0 U2 I2 r* F$ a                   1 active+clean+scrubbing+deep+inconsistent+repair- U, |, [! A! r) ?( F: M: |+ Y
                   1 active+clean+scrubbing+deep
9 }7 X( _, S7 {6 q; O  client io 143 kB/s rd, 160 MB/s wr, 1207 op/s rd, 3519 op/s wr* g' ^: V) }1 |6 E3 k; R* x
[root@controller1 ~]# ceph -s% |6 l5 {9 G. U/ n8 n4 a2 ~5 [. m
    cluster 70d27aec-742e-4a95-b000-cf37ebba35d06 I# X6 o* G; v0 M+ a; e
     health HEALTH_ERR
$ C5 [' ]  U" U            1 pgs inconsistent
" t- [1 i, K. U9 t2 Q0 Y* I            1 pgs repair
& S6 T9 u4 [6 H" v/ @; Y* x+ C            1 scrub errors  Y% E# e( u: c, _# h: }7 }: P, {
    monmap e3: 3 mons at {compute1=12.24.14.5:6789/0,compute2=12.24.14.6:6789/0,compute3=12.24.14.7:6789/0}
  i) d" I1 y7 k$ S            election epoch 310, quorum 0,1,2 compute1,compute2,compute3
1 {: D7 n: J$ C0 n8 ^" ?     osdmap e26007: 131 osds: 128 up, 128 in
4 O! E' i" H) W' F* H# D- E. R* X            flags sortbitwise,require_jewel_osds! Z! `+ y4 V( c/ [- W
      pgmap v157378815: 10240 pgs, 1 pools, 102 TB data, 26971 kobjects
+ C* g5 Q# ?; H& @            306 TB used, 159 TB / 465 TB avail) k+ \5 u7 L! L! Y  I- I* U$ t
               10234 active+clean1 V" j+ [5 F' `" Q# o+ |3 l
                   4 active+clean+scrubbing
! U. A$ q+ t3 o7 a; c% r2 s3 N0 ?2 H                   1 active+clean+scrubbing+deep+inconsistent+repair; [/ k: k: T- D3 n3 {/ N3 v
                   1 active+clean+scrubbing+deep
  k- d: l* g) q8 H2 Q8 P9 D  client io 5790 kB/s rd, 189 MB/s wr, 2338 op/s rd, 4565 op/s wr1 u3 Q3 U0 ]+ k# o/ a
[root@controller1 ~]# ceph -s
% ?: u# {6 O2 n    cluster 70d27aec-742e-4a95-b000-cf37ebba35d0; O- ^- r5 V- {: ~# @, a- r
     health HEALTH_ERR6 w: R0 u4 @7 q. f. V6 D2 N
            1 pgs inconsistent; m# \" u- e8 L  v) w% Z$ A
            1 pgs repair: {1 M  z0 }- V/ P) f
            1 scrub errors
; \/ x2 d$ Z" o6 |  i( _; |6 M     monmap e3: 3 mons at {compute1=12.24.14.5:6789/0,compute2=12.24.14.6:6789/0,compute3=12.24.14.7:6789/0}/ O! c6 ~3 u& I7 e6 Z4 j
            election epoch 310, quorum 0,1,2 compute1,compute2,compute3. l/ _: |1 J! }3 N
     osdmap e26007: 131 osds: 128 up, 128 in/ C1 s5 f2 L& j, z3 x8 v  h( r
            flags sortbitwise,require_jewel_osds- e, C5 x- X: d: o
      pgmap v157378817: 10240 pgs, 1 pools, 102 TB data, 26971 kobjects+ ^$ X* r  J* P' ~$ _3 M. n
            306 TB used, 159 TB / 465 TB avail
( V" V' g' k8 W# `7 x2 Z# `  x               10234 active+clean7 |% G5 X, [9 u- }( V
                   4 active+clean+scrubbing
# B6 T* v3 `, W, Y1 R                   1 active+clean+scrubbing+deep+inconsistent+repair
8 b- [, m/ p, G+ A, T$ _" B# W! r1 {                   1 active+clean+scrubbing+deep
% k4 b3 a: }2 S) N  r2 c4 C  client io 1274 kB/s rd, 117 MB/s wr, 1951 op/s rd, 4588 op/s wr
! H4 S5 M7 U6 E[root@controller1 ~]# ceph -s- L+ Q6 }$ @, U' N3 Y3 I
    cluster 70d27aec-742e-4a95-b000-cf37ebba35d0
. \& U& m* X0 a+ A     health HEALTH_OK2 }3 t8 v& b1 p3 S( a1 u" L
     monmap e3: 3 mons at {compute1=12.24.14.5:6789/0,compute2=12.24.14.6:6789/0,compute3=12.24.14.7:6789/0}
9 Q1 t1 Q7 U" v5 G$ W& k, k- c            election epoch 310, quorum 0,1,2 compute1,compute2,compute3, y1 ~" S/ Z) J, ^- b1 z5 S, Q
     osdmap e26007: 131 osds: 128 up, 128 in/ ^& Z5 A, _2 ^$ a: v; ]  M
            flags sortbitwise,require_jewel_osds
. B7 R. t% ]2 l5 L5 S      pgmap v157378917: 10240 pgs, 1 pools, 102 TB data, 26971 kobjects
5 U4 Q# y' T& T0 g- p            306 TB used, 159 TB / 465 TB avail) k7 I; {! I9 v9 m2 Z
               10236 active+clean
% B* F$ d5 J: x                   3 active+clean+scrubbing
6 f: _9 k: z- C, H, O9 V  m                   1 active+clean+scrubbing+deep
5 r" D  R' ?6 h& e8 L  client io 1746 kB/s rd, 127 MB/s wr, 2117 op/s rd, 5036 op/s wr4 W& c1 q! M" N+ |* T
You have mail in /var/spool/mail/root* Z  B' r. v4 A3 P) G! M3 y' }. _
/ f1 M3 a* [  U3 U* w" V/ Y: W' x, Y
# k" Z" i1 j$ Y3 w% q# C! X
您需要登录后才可以回帖 登录 | 注册

本版积分规则

返回首页|Archiver|手机版|小黑屋|易陆发现技术论坛 ( 蜀ICP备2026014127号-1 )

GMT+8, 2026-6-12 02:06 , Processed in 0.015361 second(s), 23 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表