|
|
楼主 |
发表于 2021-7-26 15:08:43
|
显示全部楼层
[root@controller ~]# ceph health detail
) L* J) B# X; T! Z HEALTH_WARN Degraded data redundancy: 64 pgs undersized
) c# u3 V8 W4 E [WRN] PG_DEGRADED: Degraded data redundancy: 64 pgs undersized8 y$ E) L$ d* `% Y
pg 9.d is stuck undersized for 115s, current state active+undersized, last acting [2,1]
. I5 O# R) b3 d7 E% h9 k6 i+ a pg 9.e is stuck undersized for 115s, current state active+undersized, last acting [2,1]
# I; R$ T' O8 L" K9 b- |! I% U pg 9.f is stuck undersized for 115s, current state active+undersized, last acting [2,1]
+ n( [1 |: l" l" Q( {: T! S% _ pg 9.10 is stuck undersized for 115s, current state active+undersized, last acting [2,0]
0 L6 Y1 m9 _2 Y# v0 |- \ pg 9.11 is stuck undersized for 115s, current state active+undersized, last acting [2,0]
4 [- l4 a7 {- c# G pg 9.12 is stuck undersized for 115s, current state active+undersized, last acting [2,1]
6 N* D* U. d+ H% c pg 9.13 is stuck undersized for 115s, current state active+undersized, last acting [2,0]: R# g0 b+ c8 i2 a! m1 B+ `
pg 9.14 is stuck undersized for 115s, current state active+undersized, last acting [1,2]" t8 S- I4 L5 B/ h5 d5 m5 Q
pg 9.15 is stuck undersized for 115s, current state active+undersized, last acting [2,1]
9 r3 h5 _0 C1 c N0 F. t2 r7 g pg 9.16 is stuck undersized for 115s, current state active+undersized, last acting [2,1]
% U- Z7 T. Q. }8 K/ L+ s! d+ v pg 9.17 is stuck undersized for 115s, current state active+undersized, last acting [2,1]% u+ J/ D! v/ D. L; j, \# {+ Q! m
pg 9.18 is stuck undersized for 115s, current state active+undersized, last acting [2,0]
$ ^7 b6 u3 j# ` pg 9.19 is stuck undersized for 115s, current state active+undersized, last acting [0,2]
5 h1 S4 _+ b% L pg 9.1a is stuck undersized for 115s, current state active+undersized, last acting [1,2]# j( W% @+ B6 E6 x' ]7 I
pg 9.1b is stuck undersized for 115s, current state active+undersized, last acting [0,2]
" D) l, q6 Y# U: u pg 9.1c is stuck undersized for 115s, current state active+undersized, last acting [0,2]
2 w6 d! i3 J9 C y7 `' g pg 9.1d is stuck undersized for 115s, current state active+undersized, last acting [0,2]0 ^& }/ g1 r9 d
pg 9.1e is stuck undersized for 115s, current state active+undersized, last acting [0,2]
" e7 t$ K9 O; J( u# O7 h+ n+ t pg 9.1f is stuck undersized for 115s, current state active+undersized, last acting [1,2]0 O2 n" s3 H3 z1 r
pg 9.20 is stuck undersized for 115s, current state active+undersized, last acting [0,2]
( m0 S* s8 n& v pg 9.21 is stuck undersized for 115s, current state active+undersized, last acting [0,2]; d W9 z* ~4 ]+ s6 u4 B
pg 9.22 is stuck undersized for 115s, current state active+undersized, last acting [2,1]/ D0 a8 t- t9 u. ~% K
pg 9.23 is stuck undersized for 115s, current state active+undersized, last acting [0,2]6 P7 l9 P: H9 e' }) t L
pg 9.24 is stuck undersized for 115s, current state active+undersized, last acting [1,2]' f, t Z; x2 i, [. Z* q4 g
pg 9.25 is stuck undersized for 115s, current state active+undersized, last acting [0,2]6 P5 F$ [8 {; D1 ^) {) u, R1 v
pg 9.26 is stuck undersized for 115s, current state active+undersized, last acting [2,0]
( ~. V' M5 j: P9 V& K* t pg 9.27 is stuck undersized for 115s, current state active+undersized, last acting [0,2]
2 S, ~9 `( C8 o8 @/ G2 b pg 9.28 is stuck undersized for 115s, current state active+undersized, last acting [2,0]
4 U, A: b# `$ {' u3 n# V pg 9.29 is stuck undersized for 115s, current state active+undersized, last acting [2,0]5 k& {. l" c6 O/ h
pg 9.2a is stuck undersized for 115s, current state active+undersized, last acting [1,2]0 r0 A( x! X/ I0 E: N
pg 9.2b is stuck undersized for 115s, current state active+undersized, last acting [2,0]
* f/ o, |3 o' ^ pg 9.2c is stuck undersized for 115s, current state active+undersized, last acting [1,2]# N2 F5 t7 y) |0 D5 J; {
pg 9.2d is stuck undersized for 115s, current state active+undersized, last acting [0,2]6 n$ ]/ r# Q" c6 @% \
pg 9.2e is stuck undersized for 115s, current state active+undersized, last acting [2,0]* _# M- w. n: w
pg 9.2f is stuck undersized for 115s, current state active+undersized, last acting [1,2]" E! k, z! x, T
pg 9.30 is stuck undersized for 115s, current state active+undersized, last acting [0,2]
! ^* ~2 R- ]0 z" P$ l. t pg 9.31 is stuck undersized for 115s, current state active+undersized, last acting [2,1]# b" S% V0 @. f( K' E
pg 9.32 is stuck undersized for 115s, current state active+undersized, last acting [2,0]
/ o, q c3 J+ s" ?) r9 F7 e+ n. ^& k pg 9.33 is stuck undersized for 115s, current state active+undersized, last acting [2,0]; j- Y9 [$ z; f$ Z4 F$ A& k6 [5 u
pg 9.34 is stuck undersized for 115s, current state active+undersized, last acting [2,1]
! T. j* R8 y# z% r6 l' g% g pg 9.35 is stuck undersized for 115s, current state active+undersized, last acting [1,2]
l9 {6 K. E F3 K4 K pg 9.36 is stuck undersized for 115s, current state active+undersized, last acting [1,2]3 L m! \8 S m% W' Q0 }
pg 9.37 is stuck undersized for 115s, current state active+undersized, last acting [2,0]# v4 Q, ]7 B7 E, `1 x T
pg 9.38 is stuck undersized for 115s, current state active+undersized, last acting [0,2]7 R8 I0 V& \$ n8 b5 ~
pg 9.39 is stuck undersized for 115s, current state active+undersized, last acting [2,0]
6 Z; _2 w9 v* j9 c) ]8 I+ s% e8 ~ pg 9.3a is stuck undersized for 115s, current state active+undersized, last acting [0,2]
e, C% `" [# \, g4 I: ~ pg 9.3b is stuck undersized for 115s, current state active+undersized, last acting [1,2]
9 W. e( A2 @4 b Y& Y) [, x pg 9.3c is stuck undersized for 115s, current state active+undersized, last acting [2,0]
, B r& ]8 E% X6 } Z6 B) P* x' k pg 9.3d is stuck undersized for 115s, current state active+undersized, last acting [2,1]
! J( g+ [, a. X. \$ Y8 U9 q pg 9.3e is stuck undersized for 115s, current state active+undersized, last acting [1,2]' Y" k3 c9 g+ r/ I
pg 9.3f is stuck undersized for 115s, current state active+undersized, last acting [1,2]
8 e( I: R; Y- o+ Y( { [root@controller ~]# ceph pg dump |grep remapped$ \) H# I; c$ ?
dumped all
q, Y5 m4 }) n9 s- L7 j6 p [root@controller ~]# ceph osd pool ls
4 ]- X3 N% d' U images% Y5 M4 w2 y5 U A7 I
[root@controller ~]# ceph osd pool ls detail
6 ?# }& Z0 L$ h+ V9 k 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
, I- a# L' j4 @8 ^
5 H8 S `9 t- }. {0 l* X总结:- I6 V0 l H) h4 A
2 d r" _8 v- @4 ~ O
原因大致可以定位为是副本数设置有问题,因为本环境就两台设备,副本数size设置为3,导致同步失败。根据设备数设置相应的副本数,否者就会报此类错误。 |
|