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

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

[复制链接]

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
发表于 2023-7-2 08:26:45 | 显示全部楼层 |阅读模式
[root@controller1 ~]# ceph health detail
2 W& d& H9 C( g$ r; N" nHEALTH_ERR 1 pgs inconsistent; 1 scrub errors5 b, V+ L) _$ s8 y& s7 i) ]  a
pg 1.20b3 is active+clean+inconsistent, acting [117,26,78]
+ A4 O  n  B1 t0 {) H6 l8 d( U6 N1 scrub errors5 N$ |( `: U# Q  Z: t
[root@controller1 ~]# ceph pg  repair 1.20b3
/ h1 u  D: `9 C, g8 ]2 R: K  V: minstructing pg 1.20b3 on osd.117 to repair4 S6 x% h  T; ^  N6 n
[root@controller1 ~]# ceph health detail % M7 |' s8 }5 E% I
HEALTH_ERR 1 pgs inconsistent; 1 pgs repair; 1 scrub errors
  I' T  D$ W* w/ K/ ~pg 1.20b3 is active+clean+scrubbing+deep+inconsistent+repair, acting [117,26,78]
/ P& i" C- u( Q2 }+ j) c1 scrub errors
# {0 a, x9 v, C; N# q[root@controller1 ~]# ceph health detail
9 y5 p. e& r8 V4 X  d7 hHEALTH_ERR 1 pgs inconsistent; 1 pgs repair; 1 scrub errors* p: O/ K' I) b
pg 1.20b3 is active+clean+scrubbing+deep+inconsistent+repair, acting [117,26,78]
3 D. P/ G6 O& V$ S; `1 scrub errors9 _+ R% @' g" Y5 W, p! i3 K
[root@controller1 ~]# ceph -s; m, I) H% e  n$ Z
    cluster 70d27aec-742e-4a95-b000-cf37ebba35d0
, a% v4 e; p- ^  _6 r  U# A5 D8 O9 n     health HEALTH_ERR
/ h# `6 _% L8 r            1 pgs inconsistent
( o- ^. j7 ]% I" o/ W. X7 O: ~: R            1 pgs repair
% B/ r" \. q0 l& F# s" k            1 scrub errors
. A- M& @5 j0 K; P9 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}
  U, J! A. R9 U& z            election epoch 310, quorum 0,1,2 compute1,compute2,compute3* M" J% B. d; i
     osdmap e26007: 131 osds: 128 up, 128 in
$ B2 J0 p# Q' v% s5 C            flags sortbitwise,require_jewel_osds
7 E. j, X- T+ {) M1 F+ v' t, S      pgmap v157378710: 10240 pgs, 1 pools, 102 TB data, 26971 kobjects6 Y: w# [' C! s8 e1 G# U
            306 TB used, 159 TB / 465 TB avail
) m  F2 ^2 q' B# f1 q# A               10234 active+clean+ h8 ^4 ], C" B. U
                   3 active+clean+scrubbing+deep' ^. @, I; p" b
                   2 active+clean+scrubbing
  d+ M; X5 J  F8 i3 I' ^, f                   1 active+clean+scrubbing+deep+inconsistent+repair3 o8 @$ z/ W7 D# C" K5 \4 T
  client io 1661 kB/s rd, 51656 kB/s wr, 1616 op/s rd, 4889 op/s wr' `( q, I6 E2 f# y2 j! {" k
[root@controller1 ~]# ceph health detail
9 S- d* i" L* R+ uHEALTH_ERR 1 pgs inconsistent; 1 pgs repair; 1 scrub errors# `3 U8 o  ]/ P7 B, ~. V
pg 1.20b3 is active+clean+scrubbing+deep+inconsistent+repair, acting [117,26,78]
' F, c4 z9 }6 p; ]0 c! M! O% Q1 scrub errors. r& C2 w8 J  g" Z- m6 f
You have new mail in /var/spool/mail/root
1 n; h$ [3 ^/ R5 Z3 f4 @[root@yz-cloud-prod-controller1 ~]# ceph health detail
! R7 b+ S: U3 p% d4 U# `4 `HEALTH_ERR 1 pgs inconsistent; 1 pgs repair; 1 scrub errors
) R$ C# C& Z( Q" Spg 1.20b3 is active+clean+scrubbing+deep+inconsistent+repair, acting [117,26,78]2 J+ p) y* J5 A& U7 V  e
1 scrub errors9 G$ U/ E8 P$ U7 k9 v
[root@controller1 ~]# ceph -s
$ _1 I5 t1 M& j    cluster 70d27aec-742e-4a95-b000-cf37ebba35d0
4 k% H" u! l* Z4 w! Q  ]: N* K: C     health HEALTH_ERR
1 {. ^; X+ M" S4 ~% f( l9 O            1 pgs inconsistent6 z9 |* a; a! d+ T& n
            1 pgs repair
; D) P7 v' j1 A            1 scrub errors$ Z% y7 Y7 g9 e5 u& 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}) n/ G  R+ a$ S  g. v
            election epoch 310, quorum 0,1,2 compute1,compute2,compute38 t4 w2 ^' l' u3 F0 a, P; K
     osdmap e26007: 131 osds: 128 up, 128 in
7 m" H& `) r- r$ M! A            flags sortbitwise,require_jewel_osds
8 e) O# n8 J6 y% v' L      pgmap v157378813: 10240 pgs, 1 pools, 102 TB data, 26971 kobjects- q' P0 ]$ W. d) b6 g7 B8 C) F
            306 TB used, 159 TB / 465 TB avail
5 n+ g- k( ^( q2 A               10233 active+clean3 E( K5 e8 }- C8 @# u* L7 ]# m
                   5 active+clean+scrubbing
( }# P  m0 R& v" Q* z                   1 active+clean+scrubbing+deep+inconsistent+repair
# n+ Y, e. s7 C* [5 O                   1 active+clean+scrubbing+deep
4 g: \# s# N# a6 z4 W  client io 143 kB/s rd, 160 MB/s wr, 1207 op/s rd, 3519 op/s wr5 [' Y( m0 }3 i" X
[root@controller1 ~]# ceph -s4 ]6 E; E" p( v. O: t9 {9 f! |& \
    cluster 70d27aec-742e-4a95-b000-cf37ebba35d0
6 t3 V! t; U, F7 n     health HEALTH_ERR( a) p$ k  Q3 y" \
            1 pgs inconsistent
/ Y- P6 X6 I  t& h6 X, j. S            1 pgs repair
0 P. D3 d2 n! ~4 `! S% r            1 scrub errors
; K( ?, g' U2 `% ]( W  K$ R    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}
  L7 ]1 y  c  M9 ~            election epoch 310, quorum 0,1,2 compute1,compute2,compute32 t. l0 t/ U+ Q  x2 l
     osdmap e26007: 131 osds: 128 up, 128 in( {& v# ^/ i% Q# \# v
            flags sortbitwise,require_jewel_osds
* i; l: w( |! B$ y) n      pgmap v157378815: 10240 pgs, 1 pools, 102 TB data, 26971 kobjects
- ^( b* @' X0 Z5 z9 f            306 TB used, 159 TB / 465 TB avail
$ [5 M0 t0 }* Y               10234 active+clean. c) u" @9 k5 ~( [& U6 w# y
                   4 active+clean+scrubbing2 h1 P+ y  F2 t0 M
                   1 active+clean+scrubbing+deep+inconsistent+repair" [4 w# D/ V- Q/ y* E! q
                   1 active+clean+scrubbing+deep
5 B8 T% S; b# G1 R+ l* J7 [  client io 5790 kB/s rd, 189 MB/s wr, 2338 op/s rd, 4565 op/s wr+ A0 J4 [$ V, O- j* A: W& s2 l
[root@controller1 ~]# ceph -s
( f+ C5 \& S5 Z4 H    cluster 70d27aec-742e-4a95-b000-cf37ebba35d0& I6 K2 }$ P" f
     health HEALTH_ERR. T: j4 b: e' |) @: W% b
            1 pgs inconsistent
& P/ {8 T0 H- T4 X4 h! j            1 pgs repair
* j1 m$ N  f( }            1 scrub errors/ y8 G/ W0 ?9 {5 T' s; C9 Q; 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}( t, h, b( d' k
            election epoch 310, quorum 0,1,2 compute1,compute2,compute3
" `. ^# c" S4 X/ Z  K, V     osdmap e26007: 131 osds: 128 up, 128 in2 N8 h9 i% I* Y" ~3 W
            flags sortbitwise,require_jewel_osds( \- {7 W/ B- n6 X
      pgmap v157378817: 10240 pgs, 1 pools, 102 TB data, 26971 kobjects+ V7 q+ J1 I- o
            306 TB used, 159 TB / 465 TB avail
. B9 q, \3 l: R. h               10234 active+clean3 y9 r9 P0 g. X/ {" Y0 V  \' y! [
                   4 active+clean+scrubbing
( h2 f4 |9 H' g1 d0 e! o                   1 active+clean+scrubbing+deep+inconsistent+repair+ c2 P, e0 h( v
                   1 active+clean+scrubbing+deep
* z9 a. a* l/ w3 X! d- @6 y: e  client io 1274 kB/s rd, 117 MB/s wr, 1951 op/s rd, 4588 op/s wr
  l4 ?- F6 @0 P4 W& O[root@controller1 ~]# ceph -s4 q0 @! z( G1 D% D
    cluster 70d27aec-742e-4a95-b000-cf37ebba35d0
% v  F. l9 [6 z" d. {: `* Z     health HEALTH_OK
" i* t. X4 i1 Z) W) D( |     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}
& ^. X% r+ F9 D, y            election epoch 310, quorum 0,1,2 compute1,compute2,compute31 Q% \  t  j9 D, B1 d' R
     osdmap e26007: 131 osds: 128 up, 128 in
' {7 Y. q; \& _- W            flags sortbitwise,require_jewel_osds' \  a( Q. F5 Z9 g) x
      pgmap v157378917: 10240 pgs, 1 pools, 102 TB data, 26971 kobjects
  f- n6 I7 `5 s3 B) R4 g2 I            306 TB used, 159 TB / 465 TB avail- y4 Q5 }- P% n
               10236 active+clean
# p6 n. Z, w. R; `( a. {, O                   3 active+clean+scrubbing  k8 x5 g# d3 Y" m) l' g* b
                   1 active+clean+scrubbing+deep* {; R, N7 e  r% @
  client io 1746 kB/s rd, 127 MB/s wr, 2117 op/s rd, 5036 op/s wr; z  N; [$ y' Q% m+ {5 G$ t1 r* Y
You have mail in /var/spool/mail/root0 {* n1 F" Q) i! v
. V0 `1 k5 K+ h# c
; B. p2 |# \4 r! r& B( o: z% m2 f
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2026-6-12 02:28 , Processed in 0.017862 second(s), 22 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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