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

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

[复制链接]

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
发表于 2023-7-2 08:26:45 | 显示全部楼层 |阅读模式
[root@controller1 ~]# ceph health detail ( X- y1 g. u' ]7 x* {' r" j
HEALTH_ERR 1 pgs inconsistent; 1 scrub errors
+ s2 r2 Y9 G' \, Hpg 1.20b3 is active+clean+inconsistent, acting [117,26,78]2 u9 Y9 |/ L7 P& R
1 scrub errors7 D0 V6 Q, A( G8 E0 L
[root@controller1 ~]# ceph pg  repair 1.20b3 % f# O3 k6 p8 G8 v: ?
instructing pg 1.20b3 on osd.117 to repair! n/ b5 j- b; r  F! q" p
[root@controller1 ~]# ceph health detail * _0 D# K/ M- @
HEALTH_ERR 1 pgs inconsistent; 1 pgs repair; 1 scrub errors$ `6 Z" Q. ?- E/ l! I
pg 1.20b3 is active+clean+scrubbing+deep+inconsistent+repair, acting [117,26,78]
# c: `/ F9 o' s1 scrub errors
, {% _$ s  Y! d6 `: Y) t6 h% _6 [# M[root@controller1 ~]# ceph health detail . w, U/ `0 y- Q+ T9 K
HEALTH_ERR 1 pgs inconsistent; 1 pgs repair; 1 scrub errors8 v9 ~# Z* B$ e( T
pg 1.20b3 is active+clean+scrubbing+deep+inconsistent+repair, acting [117,26,78]
. a+ b7 s7 P7 ~; N2 p3 ?+ T1 scrub errors3 A9 p' y# t3 h5 v6 z
[root@controller1 ~]# ceph -s
( m7 _1 S5 P" q    cluster 70d27aec-742e-4a95-b000-cf37ebba35d0
' R7 I; }& }9 I2 D  ?! h% X     health HEALTH_ERR
  H5 ~% c' M5 e6 z            1 pgs inconsistent
# b6 ~% l$ k6 g$ B2 Z  g' n            1 pgs repair
2 H/ P0 D3 z, l) J            1 scrub errors+ e2 Q& a0 g6 A! [9 G
    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}
" L5 i8 |0 k9 ~' v+ }" l# e6 v7 V            election epoch 310, quorum 0,1,2 compute1,compute2,compute3
/ w7 i# f  [( s& s4 Q     osdmap e26007: 131 osds: 128 up, 128 in
$ V  D8 y; d  e7 I, y5 O3 ?            flags sortbitwise,require_jewel_osds
3 I" I1 p! O. n) _& C      pgmap v157378710: 10240 pgs, 1 pools, 102 TB data, 26971 kobjects
/ k0 N7 G5 `" |2 ~+ z% N            306 TB used, 159 TB / 465 TB avail
* ^  h8 x' @6 M* k% V               10234 active+clean- q) f8 v7 c" \, C% I* @
                   3 active+clean+scrubbing+deep
9 u" M* P- }  l) x  }$ M  O                   2 active+clean+scrubbing9 e( ?# x: i7 R- }. y# S
                   1 active+clean+scrubbing+deep+inconsistent+repair3 b: l1 T  O  R/ d0 B$ ^, j
  client io 1661 kB/s rd, 51656 kB/s wr, 1616 op/s rd, 4889 op/s wr) E4 U5 z' q; m; u1 r
[root@controller1 ~]# ceph health detail
' O6 ?  \- K6 GHEALTH_ERR 1 pgs inconsistent; 1 pgs repair; 1 scrub errors* N- y0 A; B9 d, _! |5 N  i; Y
pg 1.20b3 is active+clean+scrubbing+deep+inconsistent+repair, acting [117,26,78]* a7 |) u2 n7 d2 W
1 scrub errors
5 @: l: L& Z* m* X: QYou have new mail in /var/spool/mail/root* z2 k" M( C  ]1 ]: e
[root@yz-cloud-prod-controller1 ~]# ceph health detail
* p( W1 N! a+ p  |9 LHEALTH_ERR 1 pgs inconsistent; 1 pgs repair; 1 scrub errors/ @' N% I/ s$ j% Q# O+ f& S( o
pg 1.20b3 is active+clean+scrubbing+deep+inconsistent+repair, acting [117,26,78]
( t! Z& e- J9 ?2 l8 V7 `5 O2 i) D1 scrub errors
) q2 c, h7 ?' G( T8 ], |[root@controller1 ~]# ceph -s( V, ^! J# g  @6 I1 C
    cluster 70d27aec-742e-4a95-b000-cf37ebba35d0: I+ X% ~9 A& ]5 ?. p% z0 p
     health HEALTH_ERR
+ Y1 z7 i( }7 z            1 pgs inconsistent- d8 R  R/ P& C$ J
            1 pgs repair
) I) Z$ y5 D) M6 t            1 scrub errors) [* i; r" t& h7 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}* R* v, `; H9 W& K* X# X4 ?( T
            election epoch 310, quorum 0,1,2 compute1,compute2,compute3
' L5 [3 U, r( i4 S# F6 S" U# X     osdmap e26007: 131 osds: 128 up, 128 in
2 d4 P) v& d) G$ r( P            flags sortbitwise,require_jewel_osds
, K: U8 _6 j. C1 E4 _0 k      pgmap v157378813: 10240 pgs, 1 pools, 102 TB data, 26971 kobjects7 K# j& ^+ v* ]4 P0 k9 r3 T. W, T, ~
            306 TB used, 159 TB / 465 TB avail
% {2 f' G1 F! P  }; a" x               10233 active+clean. k# T/ V! z- H; Q0 M9 _
                   5 active+clean+scrubbing
! U5 {( L. |  Y. B                   1 active+clean+scrubbing+deep+inconsistent+repair
! r7 t7 o% p# i. _" ]! e                   1 active+clean+scrubbing+deep1 [/ X1 g4 W0 m+ c; V2 _  K, U
  client io 143 kB/s rd, 160 MB/s wr, 1207 op/s rd, 3519 op/s wr' P. r# `/ P7 }9 z" w8 B
[root@controller1 ~]# ceph -s
- V8 g& s/ e4 Z% t4 Z. \6 L, H    cluster 70d27aec-742e-4a95-b000-cf37ebba35d0/ {9 {) }2 ^4 ?0 ?( f5 Z
     health HEALTH_ERR
" ]* ?8 i1 R3 W* M! z3 I            1 pgs inconsistent
+ V" y) d! f8 [1 E: R# X$ ~3 A            1 pgs repair% x5 ?* ^5 _+ b# z4 P  w
            1 scrub errors/ ^% w  V& e# Y0 N% j0 S
    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}& l6 K7 O/ e; g8 a
            election epoch 310, quorum 0,1,2 compute1,compute2,compute39 f+ s7 i1 j1 e. ]
     osdmap e26007: 131 osds: 128 up, 128 in" n* m6 y/ ~) S: Q: s
            flags sortbitwise,require_jewel_osds8 D" F( O; V5 c& h4 a& H$ |
      pgmap v157378815: 10240 pgs, 1 pools, 102 TB data, 26971 kobjects
4 \6 g' f) d6 l' Q: m            306 TB used, 159 TB / 465 TB avail# O& ^3 X' U+ R5 X/ w. u& W
               10234 active+clean
2 @2 m* q9 p: G7 j; ^! p- ~                   4 active+clean+scrubbing, L+ O5 L' u! r& N$ b+ C- w+ z8 i
                   1 active+clean+scrubbing+deep+inconsistent+repair
+ r* X3 B/ o2 X$ }9 Z5 g                   1 active+clean+scrubbing+deep
  ^% p/ g- n' ^2 j% E- Q6 J  client io 5790 kB/s rd, 189 MB/s wr, 2338 op/s rd, 4565 op/s wr( Q4 V; e  C4 q# ^# g! w
[root@controller1 ~]# ceph -s
3 L4 g" s/ s: i' }$ I    cluster 70d27aec-742e-4a95-b000-cf37ebba35d05 H( p4 X( C- R1 G6 J& _/ V
     health HEALTH_ERR' y, w4 s8 M$ E3 B2 m9 H, l
            1 pgs inconsistent( ?& W# n  t6 y4 q* J! D7 N: m  x
            1 pgs repair
1 h$ c. u4 h( H' F% I& i6 v            1 scrub errors
) m, ]( w' E4 ~     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( n, Q5 o+ H: S4 y. v4 q1 P            election epoch 310, quorum 0,1,2 compute1,compute2,compute39 S- t3 s/ V' p8 m( l* B
     osdmap e26007: 131 osds: 128 up, 128 in
+ @: A3 {) Y% U8 ]            flags sortbitwise,require_jewel_osds5 v9 \& }# t4 O  _4 o6 P
      pgmap v157378817: 10240 pgs, 1 pools, 102 TB data, 26971 kobjects
& b: i, Q6 D  X0 x2 `            306 TB used, 159 TB / 465 TB avail+ O1 Y6 u4 H- h- Z, W, b
               10234 active+clean" y" S- U- R- t' i" ^4 X. Z! a
                   4 active+clean+scrubbing
9 ?) m3 `# C8 [8 U( t2 @* e                   1 active+clean+scrubbing+deep+inconsistent+repair8 ^. j* f! ?! v. J8 Z. \
                   1 active+clean+scrubbing+deep
$ c9 z9 [  q9 b6 V9 u( M  client io 1274 kB/s rd, 117 MB/s wr, 1951 op/s rd, 4588 op/s wr
3 _4 I% r6 o* F- Q( I, g3 w[root@controller1 ~]# ceph -s
: T* D# r# K9 C* K) L7 }    cluster 70d27aec-742e-4a95-b000-cf37ebba35d0
3 I6 {, A4 D( V: `" }     health HEALTH_OK" s% ~3 j9 c) i7 C2 B: {
     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}
# ~" B5 @' L/ F3 J            election epoch 310, quorum 0,1,2 compute1,compute2,compute3
- z8 z8 C7 t. t' I! G( v2 d     osdmap e26007: 131 osds: 128 up, 128 in6 [( O( `3 V  Q! o% ~
            flags sortbitwise,require_jewel_osds6 G" L0 H9 E6 S  L% n4 {& J" r
      pgmap v157378917: 10240 pgs, 1 pools, 102 TB data, 26971 kobjects
# t2 i- u! _. {0 ^            306 TB used, 159 TB / 465 TB avail
1 n& w5 d+ K+ W& p* G               10236 active+clean
( }1 @$ I7 R" p  R                   3 active+clean+scrubbing
" R: b9 G, @, o$ T, O6 C! ?                   1 active+clean+scrubbing+deep
  y4 P$ h& z2 k( \' p" m  client io 1746 kB/s rd, 127 MB/s wr, 2117 op/s rd, 5036 op/s wr; w6 i- N- Y, P
You have mail in /var/spool/mail/root. ]3 p# [" ]; m( \

0 }1 m* g# S1 D, L6 a' G0 W; Q0 F% s! E( L
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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