将设为首页浏览此站
开启辅助访问 天气与日历 收藏本站联系我们切换到窄版

易陆发现论坛

 找回密码
 开始注册
查看: 322|回复: 1
收起左侧

HEALTH_WARN Degraded data redundancy: 1 pg undersized; OSD count 2 < osd_pool

[复制链接]
发表于 2021-7-25 10:08:20 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有帐号?开始注册

x
ceph health detail ! ?9 b. Z1 e6 R, N- y; N4 \
HEALTH_WARN Degraded data redundancy: 1 pg undersized; OSD count 2 < osd_pool_default_size 3
5 X$ [* B. |' A  N[WRN] PG_DEGRADED: Degraded data redundancy: 1 pg undersized7 }* M" a8 }. H
    pg 1.0 is stuck undersized for 79s, current state active+undersized, last acting [1,0]
6 p$ M" n. o4 M2 ?0 O[WRN] TOO_FEW_OSDS: OSD count 2 < osd_pool_default_size 39 Q% l8 l5 {8 H: m) R* G
 楼主| 发表于 2021-7-26 15:08:43 | 显示全部楼层
[root@controller ~]# ceph health detail
2 }+ V  t) }2 _5 U' g8 {6 f HEALTH_WARN Degraded data redundancy: 64 pgs undersized  z  C: p6 {; t* |! ?/ N) e3 v* s9 x
[WRN] PG_DEGRADED: Degraded data redundancy: 64 pgs undersized$ V4 h" T. s* M8 o0 m/ ]/ O8 Q% X
     pg 9.d is stuck undersized for 115s, current state active+undersized, last acting [2,1]' Q, G6 b2 N9 J0 f
     pg 9.e is stuck undersized for 115s, current state active+undersized, last acting [2,1]* Q" B/ C, n# H7 [  b: }
     pg 9.f is stuck undersized for 115s, current state active+undersized, last acting [2,1]  j( ~8 O( O9 Y4 U5 @! G
     pg 9.10 is stuck undersized for 115s, current state active+undersized, last acting [2,0]
; e. _6 z4 l- s8 @' |- l     pg 9.11 is stuck undersized for 115s, current state active+undersized, last acting [2,0]
- r2 A" P- h9 Y+ H/ H& {- W     pg 9.12 is stuck undersized for 115s, current state active+undersized, last acting [2,1]. I3 o. R* G0 c! b/ c8 a
     pg 9.13 is stuck undersized for 115s, current state active+undersized, last acting [2,0]6 H. o, a0 l1 @$ l3 F3 z) J
     pg 9.14 is stuck undersized for 115s, current state active+undersized, last acting [1,2]
. y- o7 x+ Y! N5 W8 G     pg 9.15 is stuck undersized for 115s, current state active+undersized, last acting [2,1]
7 {+ `* }8 j# t     pg 9.16 is stuck undersized for 115s, current state active+undersized, last acting [2,1]
+ z$ P- \5 K0 D/ q     pg 9.17 is stuck undersized for 115s, current state active+undersized, last acting [2,1]
9 c, i) ~/ I# o9 `" x5 `# D     pg 9.18 is stuck undersized for 115s, current state active+undersized, last acting [2,0]
- F4 ]  A$ R+ j! q4 R8 m# X     pg 9.19 is stuck undersized for 115s, current state active+undersized, last acting [0,2]
) C3 O3 ]5 o2 z! c; b& m. s     pg 9.1a is stuck undersized for 115s, current state active+undersized, last acting [1,2]
" \3 ?- M+ j' ^0 I, U     pg 9.1b is stuck undersized for 115s, current state active+undersized, last acting [0,2]; ^% H, h. \( N" r  s4 a% w
     pg 9.1c is stuck undersized for 115s, current state active+undersized, last acting [0,2]% `3 I! U+ A  q# a, E4 G$ J
     pg 9.1d is stuck undersized for 115s, current state active+undersized, last acting [0,2]; A! F. p7 ?' ~! X& m8 M. j
     pg 9.1e is stuck undersized for 115s, current state active+undersized, last acting [0,2]
* U7 K- i) L! b     pg 9.1f is stuck undersized for 115s, current state active+undersized, last acting [1,2]
9 U/ |0 {( l5 T# o1 Q. r8 |4 c     pg 9.20 is stuck undersized for 115s, current state active+undersized, last acting [0,2]
3 q' I$ N  _/ g     pg 9.21 is stuck undersized for 115s, current state active+undersized, last acting [0,2]
3 V  V9 Z) R3 I7 s( o# B5 h4 }     pg 9.22 is stuck undersized for 115s, current state active+undersized, last acting [2,1]
) \$ {1 ]- y9 ]7 ^3 {% |& S2 J8 E; `     pg 9.23 is stuck undersized for 115s, current state active+undersized, last acting [0,2]8 E8 G! z5 W! h  X/ O% L
     pg 9.24 is stuck undersized for 115s, current state active+undersized, last acting [1,2]/ c! h7 _. U0 `( S3 }0 c
     pg 9.25 is stuck undersized for 115s, current state active+undersized, last acting [0,2]5 q- N* d& |  i0 Q
     pg 9.26 is stuck undersized for 115s, current state active+undersized, last acting [2,0]( t0 g/ o% B: M& z! {
     pg 9.27 is stuck undersized for 115s, current state active+undersized, last acting [0,2]* N& E" y5 @' a& f; k+ o
     pg 9.28 is stuck undersized for 115s, current state active+undersized, last acting [2,0]2 g$ Y5 b9 t) c1 b, h2 }+ R& B
     pg 9.29 is stuck undersized for 115s, current state active+undersized, last acting [2,0]
2 M( x, V1 s  E6 Y; H) h     pg 9.2a is stuck undersized for 115s, current state active+undersized, last acting [1,2]
+ [* @2 |6 o# I( d) S$ `# P* N     pg 9.2b is stuck undersized for 115s, current state active+undersized, last acting [2,0]# g- U3 m) _3 S% P
     pg 9.2c is stuck undersized for 115s, current state active+undersized, last acting [1,2]
  T- h: y/ V9 x+ B. k6 P     pg 9.2d is stuck undersized for 115s, current state active+undersized, last acting [0,2]
: M, u) [5 Y7 J& m     pg 9.2e is stuck undersized for 115s, current state active+undersized, last acting [2,0]
7 A, K- t2 W/ ^# k     pg 9.2f is stuck undersized for 115s, current state active+undersized, last acting [1,2]
0 }; \4 Y3 d. R# F7 }/ D     pg 9.30 is stuck undersized for 115s, current state active+undersized, last acting [0,2]
6 O7 {' x; c  g1 q# {3 i0 r     pg 9.31 is stuck undersized for 115s, current state active+undersized, last acting [2,1]
2 q8 t3 G7 l5 ~1 l     pg 9.32 is stuck undersized for 115s, current state active+undersized, last acting [2,0]
7 b' I4 l9 ^7 M. A5 D1 q     pg 9.33 is stuck undersized for 115s, current state active+undersized, last acting [2,0]; R  j2 _* E, P# F1 f! C. }
     pg 9.34 is stuck undersized for 115s, current state active+undersized, last acting [2,1]+ \, m# f4 y3 R) m; M2 O
     pg 9.35 is stuck undersized for 115s, current state active+undersized, last acting [1,2]
" H; S; U: x4 P' T* j     pg 9.36 is stuck undersized for 115s, current state active+undersized, last acting [1,2]
* ?3 {  V1 e+ @* a# W9 B9 w     pg 9.37 is stuck undersized for 115s, current state active+undersized, last acting [2,0]
! f7 m$ Q+ \8 z4 ]     pg 9.38 is stuck undersized for 115s, current state active+undersized, last acting [0,2]
" X3 a; E$ H) O' V. m' b7 D0 P     pg 9.39 is stuck undersized for 115s, current state active+undersized, last acting [2,0]6 E& T8 {+ d( |
     pg 9.3a is stuck undersized for 115s, current state active+undersized, last acting [0,2]; `. a6 H( |+ i' h
     pg 9.3b is stuck undersized for 115s, current state active+undersized, last acting [1,2]
+ W; y! z) _( e9 X  N9 e     pg 9.3c is stuck undersized for 115s, current state active+undersized, last acting [2,0]
% G1 c+ ?6 v' E2 N* m  k, F8 f     pg 9.3d is stuck undersized for 115s, current state active+undersized, last acting [2,1]: H7 N8 Y; o5 N3 x+ S4 z( u- v3 Q
     pg 9.3e is stuck undersized for 115s, current state active+undersized, last acting [1,2]+ g; b& ^2 Z8 x" m  f- d
     pg 9.3f is stuck undersized for 115s, current state active+undersized, last acting [1,2]& z- b/ Z) C& Z8 ]) l9 @# a
[root@controller ~]# ceph pg dump |grep remapped
7 W4 A& h% `) p& N3 x# E dumped all; P9 L! m1 \" W( x- S/ S
[root@controller ~]# ceph osd pool ls
) a& P' y2 B$ |* r  N2 g" N images# p/ z# P& d- i* Y3 V# X& D
[root@controller ~]# ceph osd pool ls detail
* L9 k9 q& w; K# N% }+ F 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 rbd3 W  d% t/ b$ I( p9 z
) U( V. r# s$ O' i
总结:# N; l. @9 E# |+ F4 r0 g

9 Z* X+ H# V9 a原因大致可以定位为是副本数设置有问题,因为本环境就两台设备,副本数size设置为3,导致同步失败。根据设备数设置相应的副本数,否者就会报此类错误。
您需要登录后才可以回帖 登录 | 开始注册

本版积分规则

关闭

站长推荐上一条 /4 下一条

如有购买积分卡请联系497906712

QQ|返回首页|Archiver|手机版|小黑屋|易陆发现 点击这里给我发消息

GMT+8, 2021-9-27 03:27 , Processed in 0.043523 second(s), 22 queries .

Powered by LR.LINUX.cloud bbs168x X3.2 Licensed

© 2012-2022 Comsenz Inc.

快速回复 返回顶部 返回列表