|
|
[root@gm268-5 ~]# ceph config set global mon_warn_on_pool_no_redundancy false
}3 j5 `. Q! A' e" E[root@gm268-5 ~]# ceph -s
$ w2 J* l' s9 Y cluster:
( U# s8 F- k1 Q' d3 c id: ce68aab8-8f46-11ed-88c0-ac1f6b3a30b9
, @0 ?7 _+ G: F+ e0 r- o" h# e; f health: HEALTH_WARN
7 Z+ Y# Q0 k" W. Z, _9 ` 1 pool(s) have no replicas configured* S; k ^" T8 J. u" U
' ~) p0 j- c0 s services:
4 @* M7 }4 V* w8 L! Y8 w7 g( Z mon: 3 daemons, quorum gm268-1,gm268-2,gm268-3 (age 35h)# \ X+ Q1 e* F
mgr: gm268-1.jgdvxs(active, since 36h), standbys: gm268-2.zttohs, gm268-3.sjagqo
3 [3 [' {( z% j+ y, i mds: cephfs:1 {0=cephfs.gm268-2.xdsdoz=up:active} 2 up:standby- f8 K7 J% g. u0 j
osd: 30 osds: 30 up (since 35h), 30 in (since 37h)6 h4 c3 s$ U5 X$ l% z8 Q
9 T' r; [: n8 a3 U0 q5 e4 v* M- i data:
s* A+ |# W3 ]5 i0 e9 E pools: 3 pools, 49 pgs
2 Y* I: d! F% Z" T objects: 6.46M objects, 4.4 TiB6 K5 w( y/ S( @; t
usage: 9.3 TiB used, 427 TiB / 437 TiB avail
0 p4 P0 |: T, P! d0 d& L pgs: 49 active+clean; n y& Y8 [7 T& K! z) Q
8 @$ t: z. F' P) I
[root@gm268-5 ~]# ceph -s
6 U: G2 }# g3 O7 A& t( z0 r2 P cluster:
! }7 x/ b7 o. {* {) Z" Q id: ce68aab8-8f46-11ed-88c0-ac1f6b3a30b9
. ^3 j1 o; A$ h* A health: HEALTH_WARN; e! T7 Z( |8 T0 x7 }9 r
1 pool(s) have no replicas configured
& I3 v7 t6 z( o/ |) c' |4 L7 v9 t$ u, s5 o4 |0 J A5 T
services:
3 d/ b7 I8 v$ J6 s; b7 i( J% C mon: 3 daemons, quorum gm268-1,gm268-2,gm268-3 (age 35h)1 m ~5 _2 A0 ^- _! \5 O. H9 _ V/ J
mgr: gm268-1.jgdvxs(active, since 36h), standbys: gm268-2.zttohs, gm268-3.sjagqo" r/ ^; T! {4 h k @
mds: cephfs:1 {0=cephfs.gm268-2.xdsdoz=up:active} 2 up:standby4 ]* |% }) ?: M3 o3 D6 a
osd: 30 osds: 30 up (since 35h), 30 in (since 37h)
; j, v) c' H! `! j8 n* ?- X4 {3 A0 e3 @5 }# O; z. b) ~
data:
( j) K! X2 q' Z: Y5 Z6 n( ] pools: 3 pools, 49 pgs: {" |2 l- O+ u9 t! u5 [# \# n
objects: 6.46M objects, 4.4 TiB
* m. Y( J! l5 K+ Z0 M usage: 9.3 TiB used, 427 TiB / 437 TiB avail% e' S" U# C) X |9 w% e, J$ `( J
pgs: 49 active+clean
& D; w5 M( S9 A% n* M& X4 {/ W: U6 _- i
9 r q0 G9 f1 R" j2 u
调整pool的size值就可以了。 8 n+ B: t8 f1 g4 D/ K- r
_8 i' j. g4 o* b3 F |
|