易陆发现互联网技术论坛

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

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

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

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

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

x
[root@controller1 ~]# ceph health detail + {* Q7 Z5 ^3 x! n
HEALTH_ERR 1 pgs inconsistent; 1 scrub errors
, i. ~) ]# `. p! J, fpg 1.20b3 is active+clean+inconsistent, acting [117,26,78]! ]! |) f; r, f/ V/ J6 ^5 l$ h2 G
1 scrub errors& H9 U4 y; i& b8 U# I# v/ g6 O6 ?
[root@controller1 ~]# ceph pg  repair 1.20b3
- }1 j, V5 b. `( Q3 C0 Qinstructing pg 1.20b3 on osd.117 to repair
: Y/ w; ]+ |# h+ x& ]/ s( Z[root@controller1 ~]# ceph health detail
/ M7 o8 ~: b- w& g" {HEALTH_ERR 1 pgs inconsistent; 1 pgs repair; 1 scrub errors) e+ z$ m$ x( m& R! c/ c& r
pg 1.20b3 is active+clean+scrubbing+deep+inconsistent+repair, acting [117,26,78]  g7 `  i# B3 @8 R" b
1 scrub errors) L/ u. `9 ^* H
[root@controller1 ~]# ceph health detail
5 G- B1 |& p" l5 jHEALTH_ERR 1 pgs inconsistent; 1 pgs repair; 1 scrub errors
; D& D1 ~) N- c& N$ H. K8 w- k9 upg 1.20b3 is active+clean+scrubbing+deep+inconsistent+repair, acting [117,26,78]
: L8 b4 [9 V0 x; ?. g! y! r! {; j5 }1 scrub errors0 b8 T* U1 \$ n( f, R3 o
[root@controller1 ~]# ceph -s
7 ^  T8 W: Z3 k6 X& t1 C2 P6 x    cluster 70d27aec-742e-4a95-b000-cf37ebba35d0
7 e+ u. A9 z, _     health HEALTH_ERR
8 s* ~( m! w1 J            1 pgs inconsistent/ [+ T$ W6 ^1 _( r
            1 pgs repair! L  g$ g  K6 l) T
            1 scrub errors" o  j0 p9 R6 q5 {- I
    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}
& t5 A. D3 M7 u, Z- n9 g1 l            election epoch 310, quorum 0,1,2 compute1,compute2,compute3
0 {% g3 E+ O, m& V     osdmap e26007: 131 osds: 128 up, 128 in
5 P. y- b2 K+ Z* j            flags sortbitwise,require_jewel_osds7 \; v/ j. f9 Q# k
      pgmap v157378710: 10240 pgs, 1 pools, 102 TB data, 26971 kobjects2 q, {: O% l) I  e# q6 y, o+ t1 b9 C
            306 TB used, 159 TB / 465 TB avail9 B. k: r: e7 w
               10234 active+clean3 ~* p0 d; I5 ?1 x! s  L' V4 C" L' E( x% Y
                   3 active+clean+scrubbing+deep
' d2 B+ E2 ]7 i. s3 }0 N                   2 active+clean+scrubbing
- d+ H( s. C# n9 v0 T! o                   1 active+clean+scrubbing+deep+inconsistent+repair
. a$ Y- H. ~( x6 N" \  client io 1661 kB/s rd, 51656 kB/s wr, 1616 op/s rd, 4889 op/s wr, Y) `6 w- b! `1 w% T9 l: x
[root@controller1 ~]# ceph health detail 7 X% \3 z. B5 T7 M8 H: ?2 R7 Z9 c0 f
HEALTH_ERR 1 pgs inconsistent; 1 pgs repair; 1 scrub errors: w5 I1 o  W" l) h1 g
pg 1.20b3 is active+clean+scrubbing+deep+inconsistent+repair, acting [117,26,78]
/ I" b3 w& |. F4 h! a% p1 scrub errors! ^2 r4 v' L/ z: V% E3 G1 L$ I
You have new mail in /var/spool/mail/root  j8 ^* e6 r6 _8 T1 I! ^/ a
[root@yz-cloud-prod-controller1 ~]# ceph health detail   t' \! |# T3 m8 K% w( }
HEALTH_ERR 1 pgs inconsistent; 1 pgs repair; 1 scrub errors. {! V: }1 I0 y  |
pg 1.20b3 is active+clean+scrubbing+deep+inconsistent+repair, acting [117,26,78]
( W  L7 u6 W: @  |1 scrub errors8 q% G4 W( K. X* r  i9 e- D
[root@controller1 ~]# ceph -s) }! ~, q5 h1 B" h) _: R+ U9 B
    cluster 70d27aec-742e-4a95-b000-cf37ebba35d0
+ |" K7 a) e2 [; h! o+ u5 E( e     health HEALTH_ERR7 ~, W5 H/ `0 b( A& {4 v$ s) z
            1 pgs inconsistent
# C& _( _6 z! E9 t0 ^            1 pgs repair
: A' w# P) I, p) T0 V) Z            1 scrub errors6 M' P; f) P! a3 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}
; P  y2 `/ k+ A" b0 L) L, z5 p            election epoch 310, quorum 0,1,2 compute1,compute2,compute32 R1 N4 G" [, h# C, }. N
     osdmap e26007: 131 osds: 128 up, 128 in
2 C& D% T  m& p5 N5 ~            flags sortbitwise,require_jewel_osds+ l# X5 {6 P: m- Y1 d2 E" S
      pgmap v157378813: 10240 pgs, 1 pools, 102 TB data, 26971 kobjects3 Z! N& D  Q$ U) D: o8 a5 S; u
            306 TB used, 159 TB / 465 TB avail$ ]: P% o2 ?) e: }2 G
               10233 active+clean
: F* X# e/ ^) J3 d6 z- H* L  k                   5 active+clean+scrubbing5 f3 g/ Z+ s7 Q8 ^9 I& |/ S
                   1 active+clean+scrubbing+deep+inconsistent+repair. _# N  R( T0 O* _2 `$ K
                   1 active+clean+scrubbing+deep
2 ~7 [7 g; B5 {3 n4 ]9 l9 [# J  client io 143 kB/s rd, 160 MB/s wr, 1207 op/s rd, 3519 op/s wr
/ A$ d$ l$ O0 {- P[root@controller1 ~]# ceph -s9 @% L/ F2 A6 ^( ], P
    cluster 70d27aec-742e-4a95-b000-cf37ebba35d0  m$ B6 }. b$ _+ A0 ]6 N/ _8 z6 V
     health HEALTH_ERR
4 ]* P: w6 m/ t. S5 a7 ]            1 pgs inconsistent
/ S7 H/ V! k% C1 S; A+ t            1 pgs repair* o& s* w. j5 M+ U( B! o( M& r
            1 scrub errors
& c; l9 W3 u$ A& p9 N    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 T" N8 P6 t' D            election epoch 310, quorum 0,1,2 compute1,compute2,compute3. B8 B( s# w; {; J* ]
     osdmap e26007: 131 osds: 128 up, 128 in" b/ O' P" \2 d6 I' r
            flags sortbitwise,require_jewel_osds2 ]/ Z" g. i+ R1 _
      pgmap v157378815: 10240 pgs, 1 pools, 102 TB data, 26971 kobjects- M" I, q" u3 B+ U5 j  H' }- E
            306 TB used, 159 TB / 465 TB avail
6 x- U& f3 x- m$ c0 ]! m, A               10234 active+clean4 _+ A0 {; g* C9 t  N7 J6 F: F
                   4 active+clean+scrubbing: \! a! _4 m, `+ b8 m
                   1 active+clean+scrubbing+deep+inconsistent+repair
  P+ F" C0 g4 w  ?8 y; C                   1 active+clean+scrubbing+deep( y8 c$ I2 l+ K' ^5 ?* F8 c% b
  client io 5790 kB/s rd, 189 MB/s wr, 2338 op/s rd, 4565 op/s wr
/ d' Q5 F5 u! m/ l[root@controller1 ~]# ceph -s
% m0 P, y* L' F3 W    cluster 70d27aec-742e-4a95-b000-cf37ebba35d05 S6 H2 `* w. r- g+ r) A
     health HEALTH_ERR
! i4 j5 c# e& H0 s            1 pgs inconsistent7 q* b3 y; v8 ~( V. f6 J
            1 pgs repair, ^2 s7 O& e( o8 F* |( H% j
            1 scrub errors
2 X' `3 C, e* V     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}
  z# x7 \3 l# j$ n! J9 l            election epoch 310, quorum 0,1,2 compute1,compute2,compute3' R1 f+ P6 e8 ~. ]; H: v
     osdmap e26007: 131 osds: 128 up, 128 in
6 z! F, K3 s4 g4 y, |            flags sortbitwise,require_jewel_osds% e# l* S+ e; M% H4 s2 o3 \1 y
      pgmap v157378817: 10240 pgs, 1 pools, 102 TB data, 26971 kobjects
. E9 |: _' Y6 F0 I  w+ S# \- N6 i            306 TB used, 159 TB / 465 TB avail
% z! U& z; b- Z               10234 active+clean6 b7 A  R! Q0 a5 h( _8 R! F5 C8 ~, Q/ x
                   4 active+clean+scrubbing& G* G4 ]: V' w' r/ K2 c+ L
                   1 active+clean+scrubbing+deep+inconsistent+repair( P" B! b0 F5 S: z! ?+ `8 G
                   1 active+clean+scrubbing+deep; R! B) ?7 H$ r3 [
  client io 1274 kB/s rd, 117 MB/s wr, 1951 op/s rd, 4588 op/s wr0 `) E: w, V) f1 W: f* O/ o
[root@controller1 ~]# ceph -s
) M" G* A! u' @. t- d  h    cluster 70d27aec-742e-4a95-b000-cf37ebba35d07 D; s, d" _7 i! n) M' Z6 Q
     health HEALTH_OK, W9 O' W2 t1 E/ E" r* M: 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}# K. `! |. H) m' D7 b
            election epoch 310, quorum 0,1,2 compute1,compute2,compute3
0 G7 I; T6 Y( W  x; q* J. B     osdmap e26007: 131 osds: 128 up, 128 in
0 U. a# P+ W% O5 o7 [            flags sortbitwise,require_jewel_osds- Z. H0 |5 j3 X* _& ]. z
      pgmap v157378917: 10240 pgs, 1 pools, 102 TB data, 26971 kobjects
7 j1 o. b. U, H            306 TB used, 159 TB / 465 TB avail
- t: I, v$ y& l8 _               10236 active+clean
: Y' s1 z* T' Y                   3 active+clean+scrubbing# R: v8 m( h; P) w# \
                   1 active+clean+scrubbing+deep1 v( ?% s2 D9 b( r; f; L- O; O
  client io 1746 kB/s rd, 127 MB/s wr, 2117 op/s rd, 5036 op/s wr4 S/ w: f" H. U
You have mail in /var/spool/mail/root2 P0 I" b1 E; v# E" i- u
2 A" U  ?; g( \8 e9 J4 C8 `% H% W

  u; d  t7 J% S! Z! Z3 y
您需要登录后才可以回帖 登录 | 开始注册

本版积分规则

关闭

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

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

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

GMT+8, 2026-4-8 21:30 , Processed in 0.051298 second(s), 25 queries .

Powered by Discuz! X3.4 Licensed

© 2012-2025 Discuz! Team.

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