|
|
楼主 |
发表于 2021-7-26 15:08:43
|
显示全部楼层
[root@controller ~]# ceph health detail * {% V6 j& Z* z
HEALTH_WARN Degraded data redundancy: 64 pgs undersized
' c! P% z+ T$ a. i1 t [WRN] PG_DEGRADED: Degraded data redundancy: 64 pgs undersized
1 _( B+ H6 w) O5 h9 f7 Z pg 9.d is stuck undersized for 115s, current state active+undersized, last acting [2,1]
4 e- V o6 x+ A pg 9.e is stuck undersized for 115s, current state active+undersized, last acting [2,1]6 h5 E: {4 A4 k2 J6 J1 i! ]
pg 9.f is stuck undersized for 115s, current state active+undersized, last acting [2,1]
% t4 h+ n/ _" z7 [ pg 9.10 is stuck undersized for 115s, current state active+undersized, last acting [2,0]8 K' J0 |4 _. A: ?5 r
pg 9.11 is stuck undersized for 115s, current state active+undersized, last acting [2,0]
1 F! _8 a( r F3 ` pg 9.12 is stuck undersized for 115s, current state active+undersized, last acting [2,1]( a1 ?# v. f ?
pg 9.13 is stuck undersized for 115s, current state active+undersized, last acting [2,0]6 v; k- Y" K f) ~; v+ I
pg 9.14 is stuck undersized for 115s, current state active+undersized, last acting [1,2]6 \7 Y1 q+ i. i/ E i) M* O3 [
pg 9.15 is stuck undersized for 115s, current state active+undersized, last acting [2,1]
% \0 X/ p! Z3 y( W5 Z pg 9.16 is stuck undersized for 115s, current state active+undersized, last acting [2,1]
( r9 \3 Y. y/ A+ T pg 9.17 is stuck undersized for 115s, current state active+undersized, last acting [2,1]. o y8 g! l& U0 Y* x
pg 9.18 is stuck undersized for 115s, current state active+undersized, last acting [2,0]. b f- s) I* F8 h, K2 I- y
pg 9.19 is stuck undersized for 115s, current state active+undersized, last acting [0,2]0 o# G) R0 z) H. J0 t
pg 9.1a is stuck undersized for 115s, current state active+undersized, last acting [1,2]
% _; h8 B9 y% T pg 9.1b is stuck undersized for 115s, current state active+undersized, last acting [0,2]
1 j: W" O5 O& \ pg 9.1c is stuck undersized for 115s, current state active+undersized, last acting [0,2]
/ L7 k! e) ?( W5 b5 u4 q pg 9.1d is stuck undersized for 115s, current state active+undersized, last acting [0,2]9 ^: [( _: N. {6 V
pg 9.1e is stuck undersized for 115s, current state active+undersized, last acting [0,2]* c/ ]; u! a G8 i4 U
pg 9.1f is stuck undersized for 115s, current state active+undersized, last acting [1,2]; h6 n) v- G0 x; \# F
pg 9.20 is stuck undersized for 115s, current state active+undersized, last acting [0,2]
" i' x7 C: E( |0 G pg 9.21 is stuck undersized for 115s, current state active+undersized, last acting [0,2], _* k2 c$ I. `6 U
pg 9.22 is stuck undersized for 115s, current state active+undersized, last acting [2,1]
! R5 L9 }' ?# b5 M pg 9.23 is stuck undersized for 115s, current state active+undersized, last acting [0,2]* y, n* C' g' D. }8 ]
pg 9.24 is stuck undersized for 115s, current state active+undersized, last acting [1,2]' J( i. R5 b% ]6 r& i; r4 D I
pg 9.25 is stuck undersized for 115s, current state active+undersized, last acting [0,2]. O# B, K+ E$ W {
pg 9.26 is stuck undersized for 115s, current state active+undersized, last acting [2,0]
/ o8 d' a: }5 i( p0 ]2 M3 ~& j pg 9.27 is stuck undersized for 115s, current state active+undersized, last acting [0,2]9 @- c2 H- p7 A3 L% {
pg 9.28 is stuck undersized for 115s, current state active+undersized, last acting [2,0]9 u9 L. S( q: M1 w
pg 9.29 is stuck undersized for 115s, current state active+undersized, last acting [2,0]
( F! S5 i+ W3 s @0 _. ^5 y9 h pg 9.2a is stuck undersized for 115s, current state active+undersized, last acting [1,2]
& ^. h4 z( a, i/ \ pg 9.2b is stuck undersized for 115s, current state active+undersized, last acting [2,0]
' q0 N$ b: [8 f, W! k' H pg 9.2c is stuck undersized for 115s, current state active+undersized, last acting [1,2]- D- f- d$ g% q1 ]" ^
pg 9.2d is stuck undersized for 115s, current state active+undersized, last acting [0,2]2 Y, A; Z! P0 K& C4 u
pg 9.2e is stuck undersized for 115s, current state active+undersized, last acting [2,0]
, G% P& {1 w2 T o) v pg 9.2f is stuck undersized for 115s, current state active+undersized, last acting [1,2]; w/ H2 V( j1 h6 d
pg 9.30 is stuck undersized for 115s, current state active+undersized, last acting [0,2]
. `4 U4 Q, s( F z7 a; K pg 9.31 is stuck undersized for 115s, current state active+undersized, last acting [2,1]3 g6 b9 ~6 [1 r1 r
pg 9.32 is stuck undersized for 115s, current state active+undersized, last acting [2,0]
3 z, u. f1 ?, s6 @6 B pg 9.33 is stuck undersized for 115s, current state active+undersized, last acting [2,0]7 A% L N8 w$ f0 ~
pg 9.34 is stuck undersized for 115s, current state active+undersized, last acting [2,1]
, y) ^$ J) I# ]5 r& O7 r! P% } pg 9.35 is stuck undersized for 115s, current state active+undersized, last acting [1,2]
+ K* E% J s6 K3 I, }, m, y pg 9.36 is stuck undersized for 115s, current state active+undersized, last acting [1,2]
7 T" z9 s' Q% H6 U0 Q pg 9.37 is stuck undersized for 115s, current state active+undersized, last acting [2,0]
' j5 |9 i/ h9 Q9 ?( ?2 x n) V pg 9.38 is stuck undersized for 115s, current state active+undersized, last acting [0,2]5 X8 l' N9 v+ R
pg 9.39 is stuck undersized for 115s, current state active+undersized, last acting [2,0]6 A' d8 X6 ^% M' P- T
pg 9.3a is stuck undersized for 115s, current state active+undersized, last acting [0,2]
. h* B9 T- L0 G: H# ]8 E$ d, w pg 9.3b is stuck undersized for 115s, current state active+undersized, last acting [1,2]2 h. n/ `2 U( [* D% H
pg 9.3c is stuck undersized for 115s, current state active+undersized, last acting [2,0]
& q0 ^; [8 y( {8 k pg 9.3d is stuck undersized for 115s, current state active+undersized, last acting [2,1]3 U& E8 u4 d4 V$ b3 A3 n
pg 9.3e is stuck undersized for 115s, current state active+undersized, last acting [1,2]
) O0 H9 U9 I, [$ }% T! c4 P( ~& g pg 9.3f is stuck undersized for 115s, current state active+undersized, last acting [1,2]2 I! W- u8 [2 [; |, w
[root@controller ~]# ceph pg dump |grep remapped# Z/ L& K- [$ m9 u5 ]
dumped all
* Y+ u8 u1 q! A: X. B1 S9 S0 U7 U [root@controller ~]# ceph osd pool ls7 h5 J% K1 b) P) @' W" W6 ^5 q
images; C. [+ h. {1 `& ^9 f+ K+ Q
[root@controller ~]# ceph osd pool ls detail
$ c* ]" t4 l- y7 S2 a( a9 y 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" }" h) ^4 c. V6 Z! L
# A4 W3 L' y+ I! V9 P3 ?
总结:. f9 @( k! J$ J6 N+ H$ Q
+ {; U4 U: s1 S5 X! T% f2 B: @
原因大致可以定位为是副本数设置有问题,因为本环境就两台设备,副本数size设置为3,导致同步失败。根据设备数设置相应的副本数,否者就会报此类错误。 |
|