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

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

[复制链接]

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
发表于 2023-7-2 08:26:45 | 显示全部楼层 |阅读模式
[root@controller1 ~]# ceph health detail : ~, @8 ]' s, b
HEALTH_ERR 1 pgs inconsistent; 1 scrub errors
$ L# t; `% K. \7 X& P" Kpg 1.20b3 is active+clean+inconsistent, acting [117,26,78]
5 M& o; _9 n/ o/ S5 z1 scrub errors
" g+ x& J* t( W[root@controller1 ~]# ceph pg  repair 1.20b3
. H# `: y0 Z6 f: T( xinstructing pg 1.20b3 on osd.117 to repair
/ ~* N. u* [! U! P% U" R[root@controller1 ~]# ceph health detail
! r. Q3 S+ m! p7 ]: hHEALTH_ERR 1 pgs inconsistent; 1 pgs repair; 1 scrub errors
# w0 D; }* P2 p+ Cpg 1.20b3 is active+clean+scrubbing+deep+inconsistent+repair, acting [117,26,78]. W) B1 {4 y! q9 z. b" W; `
1 scrub errors3 P/ ^, f$ y- K
[root@controller1 ~]# ceph health detail 2 T% r7 T; v: m9 u' |2 r
HEALTH_ERR 1 pgs inconsistent; 1 pgs repair; 1 scrub errors4 n' x6 w- q  X1 ~5 W
pg 1.20b3 is active+clean+scrubbing+deep+inconsistent+repair, acting [117,26,78]. ~5 g4 |& P$ r, v
1 scrub errors
6 {! M4 I6 W7 w& J1 [0 v[root@controller1 ~]# ceph -s0 Q2 O: b; u1 U1 K) ]& w2 Q5 B
    cluster 70d27aec-742e-4a95-b000-cf37ebba35d07 `- u; k" B, C
     health HEALTH_ERR  i) Z5 @0 T7 ?
            1 pgs inconsistent
3 m6 t$ Q/ ^6 f# K1 ~. ^            1 pgs repair, N4 e; A1 ]( @7 s6 E
            1 scrub errors
, p* X, E8 @( o    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}
: z6 k& P) {/ J' j, r* t& Q! g- p            election epoch 310, quorum 0,1,2 compute1,compute2,compute3
9 a; [0 A! x9 s* }+ `; m     osdmap e26007: 131 osds: 128 up, 128 in
; Y9 B' C  D$ H4 X# x+ H& a5 g$ V; q            flags sortbitwise,require_jewel_osds1 i6 _. y' i. m, L
      pgmap v157378710: 10240 pgs, 1 pools, 102 TB data, 26971 kobjects) i, f9 q* D  `" G3 @8 H
            306 TB used, 159 TB / 465 TB avail6 L3 O) H5 s" A6 w# x4 U+ D3 g# A# ^
               10234 active+clean
( m5 t' \8 V) e( V& p1 g                   3 active+clean+scrubbing+deep2 c% _/ l4 ~  L/ Q4 Z* j# [( ~1 P
                   2 active+clean+scrubbing1 W3 G, a# O  ?2 A+ Y) C
                   1 active+clean+scrubbing+deep+inconsistent+repair
' V& I, }; _0 t2 P& b1 \  client io 1661 kB/s rd, 51656 kB/s wr, 1616 op/s rd, 4889 op/s wr
% d. E8 x" p% Z6 j' X$ t% F1 V[root@controller1 ~]# ceph health detail 0 Y# M, ?7 [% n. g- [! j% ^1 y
HEALTH_ERR 1 pgs inconsistent; 1 pgs repair; 1 scrub errors
7 {( u1 N& W( b9 B  w! O, g% Spg 1.20b3 is active+clean+scrubbing+deep+inconsistent+repair, acting [117,26,78]
5 W* V3 C8 f" t& h0 L5 p+ n1 scrub errors& |3 r' k: W& _  [& G% Y
You have new mail in /var/spool/mail/root  B1 ^. ?( C' a9 Z! `7 I
[root@yz-cloud-prod-controller1 ~]# ceph health detail
- e" J9 T4 {# w' H8 D0 c7 hHEALTH_ERR 1 pgs inconsistent; 1 pgs repair; 1 scrub errors
. {% g8 ~' e  s/ s0 D6 Fpg 1.20b3 is active+clean+scrubbing+deep+inconsistent+repair, acting [117,26,78]7 ~* G% B* j. l4 Y) }* h) o6 G
1 scrub errors
5 R1 g6 y: {+ u6 g[root@controller1 ~]# ceph -s
' {% t3 M5 t& B; K4 |. a    cluster 70d27aec-742e-4a95-b000-cf37ebba35d05 K/ ]: R6 p& u
     health HEALTH_ERR7 B7 o6 F6 ^/ n  X+ H/ Z
            1 pgs inconsistent
8 u$ V, x' J/ k% {% L% {            1 pgs repair4 s/ S9 f; Q" U
            1 scrub errors$ k" v! |: l: J$ k: D, Z% Y
    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}
+ y5 d; T* w* h            election epoch 310, quorum 0,1,2 compute1,compute2,compute3
" `5 W$ f+ ~" M     osdmap e26007: 131 osds: 128 up, 128 in% u7 S4 V# t& V( P2 I
            flags sortbitwise,require_jewel_osds7 U; o' Z/ p+ X4 K! ?* t
      pgmap v157378813: 10240 pgs, 1 pools, 102 TB data, 26971 kobjects
2 }$ t7 v8 e- G            306 TB used, 159 TB / 465 TB avail) e, W, T) y+ w5 I/ d0 X: Z
               10233 active+clean
8 x9 S7 R0 n, L/ {8 \/ `; ]                   5 active+clean+scrubbing3 v5 \, E* m" ^- E% W
                   1 active+clean+scrubbing+deep+inconsistent+repair, @+ t7 e- M5 v7 h( x  S8 v, p* x
                   1 active+clean+scrubbing+deep
; o/ m4 }+ U+ `& [  O5 h  client io 143 kB/s rd, 160 MB/s wr, 1207 op/s rd, 3519 op/s wr
+ \' F& l) G: y: s4 g; {[root@controller1 ~]# ceph -s" H- w3 ~% S3 o, S+ ^
    cluster 70d27aec-742e-4a95-b000-cf37ebba35d0. x# A/ p% N& _. Z5 k$ v
     health HEALTH_ERR/ @: J5 T- W- q. j: ?, i7 @
            1 pgs inconsistent6 o. f7 ^& q( [& n+ y* G* w
            1 pgs repair. o/ _; [* R$ f+ {$ z$ G
            1 scrub errors
7 _7 h: M6 W4 t    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}3 U6 {. C. }' K
            election epoch 310, quorum 0,1,2 compute1,compute2,compute3  h1 X% k+ x5 ^) d2 W
     osdmap e26007: 131 osds: 128 up, 128 in5 u0 W: i4 W; ]& a" E
            flags sortbitwise,require_jewel_osds
' M5 d+ A( V' @+ P$ q      pgmap v157378815: 10240 pgs, 1 pools, 102 TB data, 26971 kobjects
1 U( E* v" D! m) I- b( @5 k  s            306 TB used, 159 TB / 465 TB avail
  d3 F. v9 w! z  [               10234 active+clean  R9 @6 `+ j  L* ^6 i! T: |. |
                   4 active+clean+scrubbing
/ f6 M0 G0 j" f2 B  X# w                   1 active+clean+scrubbing+deep+inconsistent+repair
$ M* t! I  P. h: H2 z# E+ {                   1 active+clean+scrubbing+deep% i$ c- _0 V3 w3 o" T/ J
  client io 5790 kB/s rd, 189 MB/s wr, 2338 op/s rd, 4565 op/s wr, O. |' I7 f7 c* Z4 v& u4 m8 _
[root@controller1 ~]# ceph -s
* u0 S8 @; K: y+ O6 _% H    cluster 70d27aec-742e-4a95-b000-cf37ebba35d0$ i% R; {* z/ ^' X
     health HEALTH_ERR
& E0 h- @2 H% J  ~            1 pgs inconsistent9 g8 {! c4 H8 b) k6 ?
            1 pgs repair
7 ?1 n# o- @$ i" f& L5 A            1 scrub errors/ r" f9 L* i' ?7 _
     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 K2 {5 t7 q4 g7 e3 ^: ?            election epoch 310, quorum 0,1,2 compute1,compute2,compute3
+ B9 L1 p8 U1 [- P' M1 d: a) E# T     osdmap e26007: 131 osds: 128 up, 128 in
9 {4 O' e! T, ]' X, ]7 I            flags sortbitwise,require_jewel_osds
3 V4 X5 k. i+ z, W& {      pgmap v157378817: 10240 pgs, 1 pools, 102 TB data, 26971 kobjects
8 A7 M% U/ s9 a6 _            306 TB used, 159 TB / 465 TB avail5 q/ A( _3 P' T" Z
               10234 active+clean
, O1 }/ L$ q4 d8 z                   4 active+clean+scrubbing% K6 E9 b3 Z  {/ q0 m
                   1 active+clean+scrubbing+deep+inconsistent+repair$ D) U9 U: f" ^3 h3 [/ V! l- r6 f
                   1 active+clean+scrubbing+deep
( o. n, W% h: e+ S/ s9 t: v  client io 1274 kB/s rd, 117 MB/s wr, 1951 op/s rd, 4588 op/s wr
  `$ E5 W% Y/ M# S[root@controller1 ~]# ceph -s
) g' G! s% K4 ~, q; B- i) ]    cluster 70d27aec-742e-4a95-b000-cf37ebba35d0
: ]) X% [/ A) x: I' E     health HEALTH_OK' c5 M, ~, U+ N) v8 l. U% x
     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}
2 V) h% }0 O! m/ |( B2 f! T3 L            election epoch 310, quorum 0,1,2 compute1,compute2,compute36 v: P+ X. f' C
     osdmap e26007: 131 osds: 128 up, 128 in
0 E- n- d0 D$ |            flags sortbitwise,require_jewel_osds
$ {* ?# b6 k9 K( y& J9 K) ?      pgmap v157378917: 10240 pgs, 1 pools, 102 TB data, 26971 kobjects
* a* s! j5 K' U6 ~! C            306 TB used, 159 TB / 465 TB avail' X1 g) q8 n7 g8 M/ S% _+ s
               10236 active+clean- z; c& S# {2 s0 i  S
                   3 active+clean+scrubbing# ?$ b4 J9 ]3 V! M1 l4 S$ j
                   1 active+clean+scrubbing+deep, M+ Y( L# }& X/ y
  client io 1746 kB/s rd, 127 MB/s wr, 2117 op/s rd, 5036 op/s wr; D, L% V! ^- J
You have mail in /var/spool/mail/root
2 j4 R" }; x2 P* W. H! n) ~# p: T) q2 T8 I4 i+ l, J

( Q& W1 {' a. _) o0 K
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2026-6-12 00:18 , Processed in 0.016801 second(s), 23 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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