|
|
楼主 |
发表于 2021-7-26 15:06:44
|
显示全部楼层
[root@controller ~]# ceph health detail
+ V7 N$ u8 @! P: f% kHEALTH_WARN Degraded data redundancy: 64 pgs undersized. [& Q' G) |' Z' M' e! w
[WRN] PG_DEGRADED: Degraded data redundancy: 64 pgs undersized/ v. [& u/ Y S% B. O
pg 9.d is stuck undersized for 115s, current state active+undersized, last acting [2,1]- p7 G* M" A* j7 v1 m8 \, R% n& y
pg 9.e is stuck undersized for 115s, current state active+undersized, last acting [2,1]
0 R9 x6 V& a! O pg 9.f is stuck undersized for 115s, current state active+undersized, last acting [2,1]
9 r b+ X+ a s& d' r8 o pg 9.10 is stuck undersized for 115s, current state active+undersized, last acting [2,0]
$ _$ K/ c; ]1 H/ @+ e2 `* C pg 9.11 is stuck undersized for 115s, current state active+undersized, last acting [2,0]
) @7 f' U0 q8 N! E- ^2 ^ pg 9.12 is stuck undersized for 115s, current state active+undersized, last acting [2,1]
: F6 v; X6 F% T pg 9.13 is stuck undersized for 115s, current state active+undersized, last acting [2,0]
$ y& n* I* s) q1 C pg 9.14 is stuck undersized for 115s, current state active+undersized, last acting [1,2]
1 l3 j8 { O- p* k- h5 j! |: L* G pg 9.15 is stuck undersized for 115s, current state active+undersized, last acting [2,1]
2 i( f+ [" ^5 ~5 c pg 9.16 is stuck undersized for 115s, current state active+undersized, last acting [2,1]& `, c1 o& a9 n
pg 9.17 is stuck undersized for 115s, current state active+undersized, last acting [2,1]
0 t! K N1 C% g/ I5 T0 F pg 9.18 is stuck undersized for 115s, current state active+undersized, last acting [2,0]0 ?. j, v% a! Q0 p' l
pg 9.19 is stuck undersized for 115s, current state active+undersized, last acting [0,2]
1 L8 V4 l5 U8 I) u pg 9.1a is stuck undersized for 115s, current state active+undersized, last acting [1,2]6 T [* b5 q0 l4 M4 ~
pg 9.1b is stuck undersized for 115s, current state active+undersized, last acting [0,2] u* G7 ?( o# Z
pg 9.1c is stuck undersized for 115s, current state active+undersized, last acting [0,2]# N1 b5 }9 }& }9 a6 _% P+ Z, l
pg 9.1d is stuck undersized for 115s, current state active+undersized, last acting [0,2]! {$ c; {/ @$ T. M
pg 9.1e is stuck undersized for 115s, current state active+undersized, last acting [0,2]: w" m& A* E& w) ?
pg 9.1f is stuck undersized for 115s, current state active+undersized, last acting [1,2]
7 I% D$ u7 Q2 ?6 o4 v+ F pg 9.20 is stuck undersized for 115s, current state active+undersized, last acting [0,2]
$ }: M5 e. L7 C+ A. E. { pg 9.21 is stuck undersized for 115s, current state active+undersized, last acting [0,2], v6 ~6 x- N6 A9 }
pg 9.22 is stuck undersized for 115s, current state active+undersized, last acting [2,1]
( U" T7 p& J4 Z8 n/ T( G pg 9.23 is stuck undersized for 115s, current state active+undersized, last acting [0,2]+ X! S& _ L# H5 ]- Y7 j
pg 9.24 is stuck undersized for 115s, current state active+undersized, last acting [1,2]
& P* `" w! j1 U/ t2 r" I8 {8 H pg 9.25 is stuck undersized for 115s, current state active+undersized, last acting [0,2]0 R5 w; x( ]9 Z
pg 9.26 is stuck undersized for 115s, current state active+undersized, last acting [2,0]
4 S; {, k' q$ U5 V9 X4 M pg 9.27 is stuck undersized for 115s, current state active+undersized, last acting [0,2]0 x5 \9 j' v6 h
pg 9.28 is stuck undersized for 115s, current state active+undersized, last acting [2,0]0 I3 B- x' n! c) ~
pg 9.29 is stuck undersized for 115s, current state active+undersized, last acting [2,0]
# U: [9 @# e$ G4 H) t pg 9.2a is stuck undersized for 115s, current state active+undersized, last acting [1,2]6 ^4 n& o( X3 V& _7 k( u# ^% _
pg 9.2b is stuck undersized for 115s, current state active+undersized, last acting [2,0]
5 y2 y' ?, x" F% X+ T: O. A$ g l; P pg 9.2c is stuck undersized for 115s, current state active+undersized, last acting [1,2]' Q, }& r9 s4 z. P$ U/ u
pg 9.2d is stuck undersized for 115s, current state active+undersized, last acting [0,2]* K% t' }% A- z) i% |, C: {7 m
pg 9.2e is stuck undersized for 115s, current state active+undersized, last acting [2,0]
2 ?# _/ J' i+ i% z% c; Q pg 9.2f is stuck undersized for 115s, current state active+undersized, last acting [1,2]9 v/ m+ B+ r1 L q
pg 9.30 is stuck undersized for 115s, current state active+undersized, last acting [0,2]* |3 C/ o6 k* R& G8 I- B+ j
pg 9.31 is stuck undersized for 115s, current state active+undersized, last acting [2,1]8 M! @% g. _$ r" e3 w, D6 \! L( S
pg 9.32 is stuck undersized for 115s, current state active+undersized, last acting [2,0]
6 }* }1 n0 A& d3 G1 q pg 9.33 is stuck undersized for 115s, current state active+undersized, last acting [2,0]; j" n; g2 O8 L
pg 9.34 is stuck undersized for 115s, current state active+undersized, last acting [2,1]2 U8 \+ V" Y5 _% B
pg 9.35 is stuck undersized for 115s, current state active+undersized, last acting [1,2]9 {1 G v3 y$ Y) a
pg 9.36 is stuck undersized for 115s, current state active+undersized, last acting [1,2]* L& a0 d8 P9 S; m* _ e3 D
pg 9.37 is stuck undersized for 115s, current state active+undersized, last acting [2,0]* v4 C1 i Z$ J* K# g( ~$ F
pg 9.38 is stuck undersized for 115s, current state active+undersized, last acting [0,2]" G0 w# `% R% S/ R' f4 Z
pg 9.39 is stuck undersized for 115s, current state active+undersized, last acting [2,0]* a; O) ~7 z6 i5 M
pg 9.3a is stuck undersized for 115s, current state active+undersized, last acting [0,2]
0 s( V |$ W1 v/ v pg 9.3b is stuck undersized for 115s, current state active+undersized, last acting [1,2]
8 U& ^+ M% X# \. u. M pg 9.3c is stuck undersized for 115s, current state active+undersized, last acting [2,0]
* J! ~/ a2 @1 f2 { pg 9.3d is stuck undersized for 115s, current state active+undersized, last acting [2,1]/ G( }0 U7 _) S1 Y: V
pg 9.3e is stuck undersized for 115s, current state active+undersized, last acting [1,2]
7 E* x r6 R/ u pg 9.3f is stuck undersized for 115s, current state active+undersized, last acting [1,2]+ E7 F- }- X q
[root@controller ~]# ceph pg dump |grep remapped
- Y: a5 E4 R3 W5 Y; ~dumped all
/ l. }# I: G- B; c[root@controller ~]# ceph osd pool ls
/ K5 c t5 h9 x" ]! Oimages
. c# d, b2 ]0 n[root@controller ~]# ceph osd pool ls detail
- v0 {; P' a1 D$ T' n; Y& fpool 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
% l& g) a) x7 n: F: o7 }& W( I. Z6 Y6 n" m' ^- z
总结:
2 R* ~1 _5 L5 d! I5 ?! }) z# v2 {' J+ j, K
原因大致可以定位为是副本数设置有问题,因为本环境就两台设备,副本数size设置为3,导致同步失败。根据设备数设置相应的副本数,否者就会报此类错误。 |
|