|
|
[root@ceph1 deploy]# ceph -s% N2 r! p1 u6 R: x
cluster:! T" j* s' P* B! B8 A6 h
id: 9072e6f0-0aff-4024-81b4-651bcb8d2b017 k& W" r& @# ~0 x, d
health: HEALTH_WARN
+ X. b: _5 F" F& D$ [6 X too few PGs per OSD (10 < min 30)
3 Y& v: w q7 N! f& l$ G" a! z) W2 ~
services:+ L& u) Y e4 y4 B; P
mon: 3 daemons, quorum ceph1,ceph2,ceph3
/ _5 g% A) s4 d' x mgr: ceph1(active), standbys: ceph2) k" Z2 q2 p/ W% r6 W
osd: 6 osds: 6 up, 6 in$ H3 h( U* @' S# o
# X# `8 X, q; {1 L; O
data:% ?3 c) \2 I8 L3 t
pools: 1 pools, 64 pgs4 P2 ^ _. O* _+ _# v
objects: 0 objects, 0B
) t& h R1 t" L# ~; d" S! ^ usage: 671MiB used, 119GiB / 120GiB avail9 t; ~2 v3 L$ \6 P! \) m
pgs: 64 active+clean' B5 l# D, O" Y* n6 n
: D% e, {1 L8 i0 u5 o
[root@ceph1 deploy]# ceph osd tree
' [+ `' \2 v7 p. f, z; vID CLASS WEIGHT TYPE NAME STATUS REWEIGHT PRI-AFF
9 @/ u. m2 R5 k; T-1 0.11691 root default
^. [# e8 m! \+ P4 t-2 0.03897 host ceph1 : h5 M% P$ o- V+ l7 S
0 0.01949 osd.0 up 1.00000 1.00000 3 x2 ~6 V2 g0 M s+ i }1 f
1 0.01949 osd.1 up 1.00000 1.00000 - i$ ]: ]' v- ]! }9 r# j+ _3 w
-3 0.03897 host ceph2
, S0 g8 ]8 L2 I8 F" ^1 N 2 0.01949 osd.2 up 1.00000 1.00000
: j: ^& ^- Q) q N7 e) T 3 0.01949 osd.3 up 1.00000 1.00000 - M3 X* {& w6 ^
-4 0.03897 host ceph3
5 v4 W" }4 q( u 4 0.01949 osd.4 up 1.00000 1.00000
- ~8 O0 L2 y) W5 q6 U7 Y) W 5 0.01949 osd.5 up 1.00000 1.00000
3 w. o; t, z8 o) s# ?* M$ n# w
4 S P2 ]8 b% d; F4 n. K[root@ceph1 deploy]# ceph osd pool ls
& J0 g7 |& R3 @, Simages ?1 i* ]# i. p8 a) C% i) A
[root@ceph1 deploy]# ceph osd pool rm images images / q; u( c% N* O
Error EPERM: WARNING: this will *PERMANENTLY DESTROY* all data stored in pool images. If you are *ABSOLUTELY CERTAIN* that is what you want, pass the pool name *twice*, followed by --yes-i-really-really-mean-it.1 m( F& b9 S- |0 H0 j9 u
[root@ceph1 deploy]# ceph osd pool rm images images --yes-i-really-really-mean-it% P U+ R+ t) i6 ]6 N
pool 'images' removed0 g( G. ^- L$ ]9 G
[root@ceph1 deploy]# ceph -s1 ^+ N( u0 a6 A9 D: F( n) s
cluster:- ]+ l+ p; B7 F7 ^
id: 9072e6f0-0aff-4024-81b4-651bcb8d2b01: b5 \: z8 m9 J
health: HEALTH_OK
7 a9 m; H3 B8 F, ]% }. m: I3 A. G0 J# f h
services:2 ]4 D' H/ F' k& |' j+ u
mon: 3 daemons, quorum ceph1,ceph2,ceph3
! D, Q& r' I8 [" T7 Y mgr: ceph1(active), standbys: ceph2
* j$ J; V2 |) l osd: 6 osds: 6 up, 6 in N4 Y6 ]3 z C' ^5 O* ]
$ L) U7 ~* q" E1 i; ~; L data:3 \0 P. `) R' ^$ A1 R: e
pools: 0 pools, 0 pgs" e9 h. @2 o8 t) a' f6 S- W6 L; M( J5 e
objects: 0 objects, 0B
, }% N4 y y4 p4 n ~& B2 Z( Q& d usage: 670MiB used, 119GiB / 120GiB avail
( y, j7 \7 _$ ~9 x ` pgs:
. X0 R& p3 c; N. w
: W3 t* l4 ~8 Z
6 g6 {$ [* G! w0 _; q/ c7 q/ Y5 `0 V7 f* ?5 p7 }0 t/ S$ m; Q
|
|