|
|
楼主 |
发表于 2021-7-26 15:06:44
|
显示全部楼层
[root@controller ~]# ceph health detail
5 B! |% m* k4 ^; s2 A) b. h, hHEALTH_WARN Degraded data redundancy: 64 pgs undersized
* n: E" C2 A6 X1 o+ P. N[WRN] PG_DEGRADED: Degraded data redundancy: 64 pgs undersized
, I5 S1 u [' S" d9 i6 p% u6 Y5 m pg 9.d is stuck undersized for 115s, current state active+undersized, last acting [2,1] w9 @/ V u" M. |6 X- q* w, t
pg 9.e is stuck undersized for 115s, current state active+undersized, last acting [2,1]
( Z7 [4 e/ G8 O! c pg 9.f is stuck undersized for 115s, current state active+undersized, last acting [2,1]
5 D y8 z4 s! c0 K pg 9.10 is stuck undersized for 115s, current state active+undersized, last acting [2,0]* N. F2 t# D* w7 I. N
pg 9.11 is stuck undersized for 115s, current state active+undersized, last acting [2,0]/ v. T E# ?% n; A) l- ?
pg 9.12 is stuck undersized for 115s, current state active+undersized, last acting [2,1]- D# T0 x& O9 K/ l! q. a6 i/ v2 b; z
pg 9.13 is stuck undersized for 115s, current state active+undersized, last acting [2,0]
, L- n. n l$ Y3 ~ h: } pg 9.14 is stuck undersized for 115s, current state active+undersized, last acting [1,2]
/ J u. f a4 u0 G pg 9.15 is stuck undersized for 115s, current state active+undersized, last acting [2,1]
/ F: S3 R9 t b* R9 w$ [; y% t pg 9.16 is stuck undersized for 115s, current state active+undersized, last acting [2,1]
5 y9 h- f' @( C4 | pg 9.17 is stuck undersized for 115s, current state active+undersized, last acting [2,1]
1 h( c" V4 r$ a! f- [( ~9 `* Z: G pg 9.18 is stuck undersized for 115s, current state active+undersized, last acting [2,0]1 _# ]9 J3 b/ @ E# m! Q) B
pg 9.19 is stuck undersized for 115s, current state active+undersized, last acting [0,2]- r& q3 k( ?9 n/ X( D1 z! O! K
pg 9.1a is stuck undersized for 115s, current state active+undersized, last acting [1,2]' U! ~+ y+ T6 ?
pg 9.1b is stuck undersized for 115s, current state active+undersized, last acting [0,2]( g8 Y6 M/ y0 } u
pg 9.1c is stuck undersized for 115s, current state active+undersized, last acting [0,2]
. a9 G8 v6 M+ A! B pg 9.1d is stuck undersized for 115s, current state active+undersized, last acting [0,2]
9 l0 S" ~) V- t: Y5 Z pg 9.1e is stuck undersized for 115s, current state active+undersized, last acting [0,2]7 R0 D8 P9 W6 B
pg 9.1f is stuck undersized for 115s, current state active+undersized, last acting [1,2]
3 H6 k& _& p: q0 O: z, W: K pg 9.20 is stuck undersized for 115s, current state active+undersized, last acting [0,2]9 [8 D( q" M# V" D0 s
pg 9.21 is stuck undersized for 115s, current state active+undersized, last acting [0,2]1 G0 w+ X) j2 ^+ P$ H
pg 9.22 is stuck undersized for 115s, current state active+undersized, last acting [2,1]
6 j) U/ T2 C1 ~- Y6 d2 f' l) y5 U pg 9.23 is stuck undersized for 115s, current state active+undersized, last acting [0,2]
8 w0 w8 E3 s& X9 L( V pg 9.24 is stuck undersized for 115s, current state active+undersized, last acting [1,2]
1 W" b7 l9 l- G5 ]* J5 | j pg 9.25 is stuck undersized for 115s, current state active+undersized, last acting [0,2]: I; |/ Z4 e2 ?2 Q8 p0 P
pg 9.26 is stuck undersized for 115s, current state active+undersized, last acting [2,0]; x0 t; h$ i& ^+ k1 P4 f6 A2 p
pg 9.27 is stuck undersized for 115s, current state active+undersized, last acting [0,2]
9 G) P9 A% Q* Z$ V0 I pg 9.28 is stuck undersized for 115s, current state active+undersized, last acting [2,0]3 @2 U/ z$ F% e; \9 I, I
pg 9.29 is stuck undersized for 115s, current state active+undersized, last acting [2,0]/ O$ A9 t( A& t8 i' }
pg 9.2a is stuck undersized for 115s, current state active+undersized, last acting [1,2]
: h0 f( a2 k" C pg 9.2b is stuck undersized for 115s, current state active+undersized, last acting [2,0]
5 W4 O, y, ]' W! Z) k- x pg 9.2c is stuck undersized for 115s, current state active+undersized, last acting [1,2]
/ S/ ?4 Q& Q: F6 _# f pg 9.2d is stuck undersized for 115s, current state active+undersized, last acting [0,2]* y1 @% {2 x6 h7 V7 s; B
pg 9.2e is stuck undersized for 115s, current state active+undersized, last acting [2,0]
6 E- C6 w4 R6 [# Y; T pg 9.2f is stuck undersized for 115s, current state active+undersized, last acting [1,2]
8 P! N7 @6 |: [) S pg 9.30 is stuck undersized for 115s, current state active+undersized, last acting [0,2]
/ E5 h- ?. g& |7 s pg 9.31 is stuck undersized for 115s, current state active+undersized, last acting [2,1]! ]) o6 H( P1 |! v' ]1 i
pg 9.32 is stuck undersized for 115s, current state active+undersized, last acting [2,0]6 {/ Q7 j. P7 Z3 U9 _8 h. S* V8 z* E
pg 9.33 is stuck undersized for 115s, current state active+undersized, last acting [2,0]' v G8 _$ z% i3 m6 P `* K# ^
pg 9.34 is stuck undersized for 115s, current state active+undersized, last acting [2,1]7 v1 T4 d) _. d) |& s) g* A
pg 9.35 is stuck undersized for 115s, current state active+undersized, last acting [1,2]
4 J5 M( E$ Y& c. Y! ` pg 9.36 is stuck undersized for 115s, current state active+undersized, last acting [1,2]
* r$ i6 {* _/ l2 D. s4 L/ l pg 9.37 is stuck undersized for 115s, current state active+undersized, last acting [2,0]7 n! ]( j) n G' d
pg 9.38 is stuck undersized for 115s, current state active+undersized, last acting [0,2]
* ^2 P M {9 [; H4 V1 g& q pg 9.39 is stuck undersized for 115s, current state active+undersized, last acting [2,0]8 M/ x% c* R ?2 D
pg 9.3a is stuck undersized for 115s, current state active+undersized, last acting [0,2]$ V5 J3 w3 g, I" E
pg 9.3b is stuck undersized for 115s, current state active+undersized, last acting [1,2]: I$ @$ i; {6 j
pg 9.3c is stuck undersized for 115s, current state active+undersized, last acting [2,0]
/ [# N1 c4 V9 f2 N3 B: r7 R pg 9.3d is stuck undersized for 115s, current state active+undersized, last acting [2,1]
( T8 C! I, o4 Q% E& {! T. J pg 9.3e is stuck undersized for 115s, current state active+undersized, last acting [1,2]7 D1 y! Z0 H x
pg 9.3f is stuck undersized for 115s, current state active+undersized, last acting [1,2]# A4 L9 k2 ~$ t; g4 c
[root@controller ~]# ceph pg dump |grep remapped
; f: l s8 e8 t& H4 M' P; A' jdumped all
: J$ }! g7 N4 F: {' w; T[root@controller ~]# ceph osd pool ls1 E7 o3 x, K' o
images
6 q N7 E# S1 K' M1 l7 l( o[root@controller ~]# ceph osd pool ls detail
/ |2 q/ e2 N Z j4 s- @pool 9 'images' replicated size 3 min_size 2 crush_rule 0 object_hash rjenkins pg_num 64 pgp_num 64 autoscale_mode on last_change 7458 flags hashpspool stripe_width 0 application rbd" b# ]% g" F4 _! P
- g. T6 `" ~6 Q; ]- f
总结:; \! E+ M0 j f1 T2 ?
$ B& B1 d% u' I( P: z' r6 Q原因大致可以定位为是副本数设置有问题,因为本环境就两台设备,副本数size设置为3,导致同步失败。根据设备数设置相应的副本数,否者就会报此类错误。 |
|