易陆发现互联网技术论坛

 找回密码
 开始注册
查看: 532|回复: 0
收起左侧

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

[复制链接]
发表于 2023-7-2 08:26:45 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?开始注册

x
[root@controller1 ~]# ceph health detail , G: v+ L1 a2 ^7 X1 R
HEALTH_ERR 1 pgs inconsistent; 1 scrub errors$ t7 ?$ A* k$ _8 G" T3 V3 G
pg 1.20b3 is active+clean+inconsistent, acting [117,26,78]. U, C) p3 G# M
1 scrub errors
) w* {9 Z3 N' Q7 _  }[root@controller1 ~]# ceph pg  repair 1.20b3
( p5 q- s! u5 V9 @6 p& M1 vinstructing pg 1.20b3 on osd.117 to repair
  d2 G9 q0 @: V  |0 t4 R; U/ y: d' T* F[root@controller1 ~]# ceph health detail
8 j9 c! F: G# ?HEALTH_ERR 1 pgs inconsistent; 1 pgs repair; 1 scrub errors& P* f8 F; @; F8 |2 O" d
pg 1.20b3 is active+clean+scrubbing+deep+inconsistent+repair, acting [117,26,78]
- L" n9 i, q  p& j' W1 scrub errors
6 q0 V- |9 H# T4 ]; |8 M+ F7 C[root@controller1 ~]# ceph health detail & k/ v! W1 `' X
HEALTH_ERR 1 pgs inconsistent; 1 pgs repair; 1 scrub errors6 a* ~/ ~, [2 Z% Z
pg 1.20b3 is active+clean+scrubbing+deep+inconsistent+repair, acting [117,26,78]
; s4 D! @$ K" c; ?1 scrub errors
" q6 }, q" z7 e6 [[root@controller1 ~]# ceph -s
- j9 }: L* G, w2 y0 _4 e: |9 M' p  p    cluster 70d27aec-742e-4a95-b000-cf37ebba35d0; U# P2 w4 M& y/ s# l( j" U: R
     health HEALTH_ERR( l& V+ t& n! g6 \( N
            1 pgs inconsistent. y7 Q' Q6 u* |8 c. v% e% w
            1 pgs repair
' V- x; D; `% Q( O' B4 W            1 scrub errors, y0 ^9 S, ]" l: 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}
  {9 ^1 D# X+ K3 @8 [            election epoch 310, quorum 0,1,2 compute1,compute2,compute3
# Y1 S$ O0 E) O  _     osdmap e26007: 131 osds: 128 up, 128 in7 D) _0 o+ ~# e, c
            flags sortbitwise,require_jewel_osds/ V% w& r. L  J/ g/ J
      pgmap v157378710: 10240 pgs, 1 pools, 102 TB data, 26971 kobjects7 G  x, r) y7 _% y' m; O4 S% A
            306 TB used, 159 TB / 465 TB avail' f5 H0 x# A) p* X
               10234 active+clean
" u1 _$ x7 M# a- Z* _                   3 active+clean+scrubbing+deep
& w' U6 `3 {7 D                   2 active+clean+scrubbing
- T. j2 e' I: ^. u                   1 active+clean+scrubbing+deep+inconsistent+repair( X6 h! J8 h  K4 r" v
  client io 1661 kB/s rd, 51656 kB/s wr, 1616 op/s rd, 4889 op/s wr# L$ w8 v) H: w7 ^# h7 x5 m
[root@controller1 ~]# ceph health detail
' }$ W7 U4 t! _1 ^HEALTH_ERR 1 pgs inconsistent; 1 pgs repair; 1 scrub errors
- U, Q9 z$ ?6 i* k! ~pg 1.20b3 is active+clean+scrubbing+deep+inconsistent+repair, acting [117,26,78]5 T; c# `: Z' |% P# _
1 scrub errors
4 f6 }' E) D1 U2 NYou have new mail in /var/spool/mail/root) o0 y' ]% t5 ^6 }
[root@yz-cloud-prod-controller1 ~]# ceph health detail
& U4 X; \8 D% Y  ?; v) hHEALTH_ERR 1 pgs inconsistent; 1 pgs repair; 1 scrub errors6 |3 c7 _" e* k! w/ n1 K
pg 1.20b3 is active+clean+scrubbing+deep+inconsistent+repair, acting [117,26,78]# ~2 i  [3 R3 M5 v2 G
1 scrub errors
( D. x  Q+ m- Z0 B3 i6 y[root@controller1 ~]# ceph -s5 ?2 |& v8 x6 s% u9 C
    cluster 70d27aec-742e-4a95-b000-cf37ebba35d0+ a/ b4 ^2 T+ `; M0 i
     health HEALTH_ERR4 {6 S- D- e6 F3 `
            1 pgs inconsistent4 h" N0 |" \! M7 N* H
            1 pgs repair
3 {  T& C9 M# ^! M2 j! ]            1 scrub errors7 n# @( \- B6 m3 E7 C
    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}
8 f! v/ y; {  h7 K8 |, \            election epoch 310, quorum 0,1,2 compute1,compute2,compute3
, ^8 h& S4 h( D  o! q" x     osdmap e26007: 131 osds: 128 up, 128 in  q' p; r" J' V
            flags sortbitwise,require_jewel_osds
& G' e3 q( V1 D2 y/ B4 @7 S      pgmap v157378813: 10240 pgs, 1 pools, 102 TB data, 26971 kobjects) T$ G& g& O, R- s5 ^( i
            306 TB used, 159 TB / 465 TB avail
4 g( J" F0 u) d: J' h) @" N               10233 active+clean, Q* S" `$ ?' H% Y
                   5 active+clean+scrubbing
  J; M' G% e. P; H& K                   1 active+clean+scrubbing+deep+inconsistent+repair  F" M( _% ]7 m4 |7 A$ V" f( u5 C
                   1 active+clean+scrubbing+deep
( ]+ c6 t- {2 x3 I0 Q1 e  client io 143 kB/s rd, 160 MB/s wr, 1207 op/s rd, 3519 op/s wr
! l) V- a9 M- j( x[root@controller1 ~]# ceph -s
9 W' J+ F% N* H; t3 d    cluster 70d27aec-742e-4a95-b000-cf37ebba35d0
- c3 ]. F1 k8 `  [     health HEALTH_ERR
/ |9 ~* p+ V  d            1 pgs inconsistent
5 F* e  i( m" c; q            1 pgs repair8 ^7 e8 g9 J. c! H" K7 t1 H1 b% k
            1 scrub errors
9 {& b" K4 _% z8 o; q* [8 |    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}
" `! t1 a$ l8 C$ D- S: }1 M( j            election epoch 310, quorum 0,1,2 compute1,compute2,compute3: ?, @" H! h  w" k& h' U# t% I8 o
     osdmap e26007: 131 osds: 128 up, 128 in
. c( G( c5 ~7 j# T            flags sortbitwise,require_jewel_osds
1 m  m+ u0 M) {; J1 n0 e      pgmap v157378815: 10240 pgs, 1 pools, 102 TB data, 26971 kobjects9 L0 J$ f  z, {/ @( _4 g9 ^& i
            306 TB used, 159 TB / 465 TB avail
% P4 d( h3 }: H6 l               10234 active+clean  Z- Z9 k! e  M! X
                   4 active+clean+scrubbing
% J/ X! `& J: r, R0 @                   1 active+clean+scrubbing+deep+inconsistent+repair2 l. Q* a/ Q) F$ B9 _; E7 X
                   1 active+clean+scrubbing+deep
1 s9 }3 A, l. u# o5 h  client io 5790 kB/s rd, 189 MB/s wr, 2338 op/s rd, 4565 op/s wr$ O$ W! J0 f- f* j& U! \, o
[root@controller1 ~]# ceph -s
- V/ ?  K$ ]; S; z  |8 D# b( C+ t5 A    cluster 70d27aec-742e-4a95-b000-cf37ebba35d00 e( d, w! w+ v9 M" H& F
     health HEALTH_ERR
0 S1 c+ Z, x1 U5 j$ G; N            1 pgs inconsistent
" v8 G& F- j) q1 y+ o            1 pgs repair. \1 |4 n- y- w/ c+ N( K( }1 t
            1 scrub errors: F9 H9 E  f4 W0 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}
) h3 F+ i! m) `6 b7 ~3 R            election epoch 310, quorum 0,1,2 compute1,compute2,compute3: e4 f9 w; d1 L  X* L& d+ C
     osdmap e26007: 131 osds: 128 up, 128 in
- r% K6 `8 o: x9 b0 |  d7 S2 S            flags sortbitwise,require_jewel_osds
' A5 A# t1 i& h6 J; f      pgmap v157378817: 10240 pgs, 1 pools, 102 TB data, 26971 kobjects" j  `; X# j! @0 ~8 L
            306 TB used, 159 TB / 465 TB avail6 G8 H! @# `7 w' t6 r
               10234 active+clean
: t+ S2 z( Q* {$ ]/ U, r( ?& E                   4 active+clean+scrubbing
! K1 C, y4 {0 {4 g. D4 w                   1 active+clean+scrubbing+deep+inconsistent+repair0 \, F9 r4 D7 q
                   1 active+clean+scrubbing+deep) Y2 z8 Y/ t+ A: l
  client io 1274 kB/s rd, 117 MB/s wr, 1951 op/s rd, 4588 op/s wr# p; r' `) a4 Y
[root@controller1 ~]# ceph -s
1 |, m  R: d7 t! O. ?* x9 R    cluster 70d27aec-742e-4a95-b000-cf37ebba35d0; H7 p  N/ u$ o/ J9 w- e$ J
     health HEALTH_OK& z: s2 ?) a8 o2 T$ U  ~1 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}) X8 x8 [9 n! W+ f* l5 f5 v3 i( A
            election epoch 310, quorum 0,1,2 compute1,compute2,compute3
- t9 _/ D2 ?$ r8 k3 p' x( S     osdmap e26007: 131 osds: 128 up, 128 in
; `0 Q1 ^0 p( W2 m; K            flags sortbitwise,require_jewel_osds+ p' f2 p3 k/ `
      pgmap v157378917: 10240 pgs, 1 pools, 102 TB data, 26971 kobjects
* ]2 ~6 o5 x3 C            306 TB used, 159 TB / 465 TB avail8 I) _  u% S# g/ C
               10236 active+clean
6 G3 k& @9 w  R                   3 active+clean+scrubbing# C5 G, K0 c( e+ j
                   1 active+clean+scrubbing+deep! D0 y) G2 G( U3 ~  I8 G
  client io 1746 kB/s rd, 127 MB/s wr, 2117 op/s rd, 5036 op/s wr1 `1 p& ]6 X0 P2 y' @
You have mail in /var/spool/mail/root
" K8 r8 X+ I; B4 N' a# J+ y
  y* G( m% ~0 _0 y$ v
2 R; w0 a; X6 o- f6 s, ^; G
您需要登录后才可以回帖 登录 | 开始注册

本版积分规则

关闭

站长推荐上一条 /4 下一条

北京云银创陇科技有限公司以云计算运维,代码开发

QQ|返回首页|Archiver|小黑屋|易陆发现技术论坛 ( 蜀ICP备2026014127号-1 )点击这里给我发消息

GMT+8, 2026-4-8 21:31 , Processed in 0.053526 second(s), 23 queries .

Powered by Discuz! X3.4 Licensed

© 2012-2025 Discuz! Team.

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