|
|
楼主 |
发表于 2021-7-26 15:08:43
|
显示全部楼层
[root@controller ~]# ceph health detail $ Q7 L+ t% a' r: a! U3 h+ e
HEALTH_WARN Degraded data redundancy: 64 pgs undersized
: i8 k' z5 [/ r4 G3 d [WRN] PG_DEGRADED: Degraded data redundancy: 64 pgs undersized3 _( K2 T8 z2 W; X9 h
pg 9.d is stuck undersized for 115s, current state active+undersized, last acting [2,1]
/ j: F/ M: }& x0 Z) T- r$ |4 X pg 9.e is stuck undersized for 115s, current state active+undersized, last acting [2,1]4 F! q( J# |' W7 s
pg 9.f is stuck undersized for 115s, current state active+undersized, last acting [2,1]
2 J* {$ D9 w7 `, f pg 9.10 is stuck undersized for 115s, current state active+undersized, last acting [2,0]! |7 P4 F& l( z+ Y
pg 9.11 is stuck undersized for 115s, current state active+undersized, last acting [2,0]$ h# M4 C) e1 y& U
pg 9.12 is stuck undersized for 115s, current state active+undersized, last acting [2,1]4 z. y5 J# O# x
pg 9.13 is stuck undersized for 115s, current state active+undersized, last acting [2,0]
9 `* A" D1 y, y5 _ pg 9.14 is stuck undersized for 115s, current state active+undersized, last acting [1,2]! L8 q; e4 b# `: j- B
pg 9.15 is stuck undersized for 115s, current state active+undersized, last acting [2,1]$ B/ c3 ]* n4 \+ Z: Y
pg 9.16 is stuck undersized for 115s, current state active+undersized, last acting [2,1]
" @. A9 {" h5 W pg 9.17 is stuck undersized for 115s, current state active+undersized, last acting [2,1]9 e. k; L% H" h5 ?0 _# R
pg 9.18 is stuck undersized for 115s, current state active+undersized, last acting [2,0]3 C$ E! P/ u" @8 D; b( F$ m
pg 9.19 is stuck undersized for 115s, current state active+undersized, last acting [0,2]% g' n5 R0 D# e$ p4 H3 o
pg 9.1a is stuck undersized for 115s, current state active+undersized, last acting [1,2]$ ^; j' a4 _) i+ X8 E- n2 n
pg 9.1b is stuck undersized for 115s, current state active+undersized, last acting [0,2]& @0 n# M8 R$ v# ?0 k' G
pg 9.1c is stuck undersized for 115s, current state active+undersized, last acting [0,2]/ b- u9 y' f- ^0 T U0 `
pg 9.1d is stuck undersized for 115s, current state active+undersized, last acting [0,2]
, x) R ~- N& l% c pg 9.1e is stuck undersized for 115s, current state active+undersized, last acting [0,2]! R5 |; r# V7 C/ I" A8 h Y
pg 9.1f is stuck undersized for 115s, current state active+undersized, last acting [1,2]
' n) Y; E7 I$ r' U* U! k pg 9.20 is stuck undersized for 115s, current state active+undersized, last acting [0,2]! O* T, \% B1 l% u2 g
pg 9.21 is stuck undersized for 115s, current state active+undersized, last acting [0,2]
3 T' B4 b6 C; e, O1 s- b. L$ z pg 9.22 is stuck undersized for 115s, current state active+undersized, last acting [2,1]7 {; S4 B' K/ u( O( ~
pg 9.23 is stuck undersized for 115s, current state active+undersized, last acting [0,2]! n& m n) P _9 w! r5 o2 ?
pg 9.24 is stuck undersized for 115s, current state active+undersized, last acting [1,2]! @+ p) [( x9 `7 Z; z; p
pg 9.25 is stuck undersized for 115s, current state active+undersized, last acting [0,2]8 k; a( y7 n9 R# G, V/ B
pg 9.26 is stuck undersized for 115s, current state active+undersized, last acting [2,0]
7 K0 E8 J; `# ]5 I pg 9.27 is stuck undersized for 115s, current state active+undersized, last acting [0,2]* q3 g& U, D3 S- l( l* O
pg 9.28 is stuck undersized for 115s, current state active+undersized, last acting [2,0]( w- K) X& [0 L8 f
pg 9.29 is stuck undersized for 115s, current state active+undersized, last acting [2,0]" c6 u R2 w8 U2 k' X$ C+ Y
pg 9.2a is stuck undersized for 115s, current state active+undersized, last acting [1,2]- F" T3 W @3 r' E
pg 9.2b is stuck undersized for 115s, current state active+undersized, last acting [2,0]
9 x( X2 \6 g! z: J y, p pg 9.2c is stuck undersized for 115s, current state active+undersized, last acting [1,2]
7 |& x5 B8 H# _0 _ pg 9.2d is stuck undersized for 115s, current state active+undersized, last acting [0,2]
8 F- ?1 U1 E/ L1 c$ `9 q pg 9.2e is stuck undersized for 115s, current state active+undersized, last acting [2,0]
, n8 G' Y; x) R5 T! x: g2 { pg 9.2f is stuck undersized for 115s, current state active+undersized, last acting [1,2]% m$ H% L3 z. n* g& v. Y8 P! C" _- t% I
pg 9.30 is stuck undersized for 115s, current state active+undersized, last acting [0,2]
2 [' J' Z# j( x pg 9.31 is stuck undersized for 115s, current state active+undersized, last acting [2,1]. u5 {7 }' T1 v. A
pg 9.32 is stuck undersized for 115s, current state active+undersized, last acting [2,0]
- W, |* Q- O: h: G& k& D pg 9.33 is stuck undersized for 115s, current state active+undersized, last acting [2,0]8 \# D1 F5 x2 f
pg 9.34 is stuck undersized for 115s, current state active+undersized, last acting [2,1]
/ v$ y7 D3 K* a) ? pg 9.35 is stuck undersized for 115s, current state active+undersized, last acting [1,2]
# K0 X$ v) |2 I& \, F# D& S c pg 9.36 is stuck undersized for 115s, current state active+undersized, last acting [1,2]
" u7 W1 W( ~. N e5 _; I pg 9.37 is stuck undersized for 115s, current state active+undersized, last acting [2,0]! x9 z$ E, X# A* Z5 X. c9 Z; {9 D
pg 9.38 is stuck undersized for 115s, current state active+undersized, last acting [0,2]3 x! f) h$ k/ c; n+ u* h# q
pg 9.39 is stuck undersized for 115s, current state active+undersized, last acting [2,0]
8 u! W5 d- c* r: R pg 9.3a is stuck undersized for 115s, current state active+undersized, last acting [0,2]8 L) x, a( M$ X
pg 9.3b is stuck undersized for 115s, current state active+undersized, last acting [1,2]
1 h/ e" Q6 @( I1 c$ e pg 9.3c is stuck undersized for 115s, current state active+undersized, last acting [2,0]
% b/ T: Z6 O% A) B pg 9.3d is stuck undersized for 115s, current state active+undersized, last acting [2,1]
/ J$ M2 s8 E; h$ }& w pg 9.3e is stuck undersized for 115s, current state active+undersized, last acting [1,2]6 C) L7 W; L, E3 p" o; q- R* }7 k
pg 9.3f is stuck undersized for 115s, current state active+undersized, last acting [1,2]- L5 L( }3 s5 X% a" w
[root@controller ~]# ceph pg dump |grep remapped
, @. F* E2 f U# L7 A dumped all
# Q, P) A W/ l! D" [7 S# Q [root@controller ~]# ceph osd pool ls1 ?. M+ V, i: l+ L8 ?! v ?
images" C# |9 i- H- W1 c" F
[root@controller ~]# ceph osd pool ls detail
4 z x" V6 w/ }" z8 z1 U 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
- J& t" Z: `5 b4 f- c7 s s' ]4 A! _; h
总结:9 o# v+ q. I& t) p# s3 \
5 ~0 V( f4 m1 r' }$ Q
原因大致可以定位为是副本数设置有问题,因为本环境就两台设备,副本数size设置为3,导致同步失败。根据设备数设置相应的副本数,否者就会报此类错误。 |
|