|
|
[root@ceph1 deploy]# ceph -s4 j$ f- H. W$ a" R) i- H
cluster:( W9 `0 [: ?3 K
id: 9072e6f0-0aff-4024-81b4-651bcb8d2b01
0 H7 l3 d% D4 l& l$ W+ e health: HEALTH_WARN
+ o% K- ?3 |4 L$ m7 @ too few PGs per OSD (10 < min 30)
2 W* z- g6 @4 `# B) T5 z n( N8 N$ [
services:5 D. b) B- ?0 q9 G
mon: 3 daemons, quorum ceph1,ceph2,ceph3
& h( x! f2 R* J' K! Z* Y3 o% A mgr: ceph1(active), standbys: ceph25 ~2 z9 f! a) k9 C. o
osd: 6 osds: 6 up, 6 in: e2 V9 p) n4 K! X* G- S1 H g
7 r, F8 p% j; T. U data:; p) d. j$ H3 M( U. F
pools: 1 pools, 64 pgs
9 O# [9 y& Q" a6 [' c7 O& Y objects: 0 objects, 0B
4 j! I5 |# W' ]: g2 E usage: 671MiB used, 119GiB / 120GiB avail
4 j u, C7 F2 c* l1 H7 W( ] pgs: 64 active+clean1 R6 |- R+ ?+ h' ^
) O8 `0 g2 s5 Y) j/ h8 v- q
[root@ceph1 deploy]# ceph osd tree
6 L: d9 X x( L% D4 r4 L3 kID CLASS WEIGHT TYPE NAME STATUS REWEIGHT PRI-AFF + I# v/ T/ q. x6 y* k. E/ `( \
-1 0.11691 root default
! h8 a( y+ P9 m( K4 [; `-2 0.03897 host ceph1
9 q5 i6 ~3 @$ A7 f, J8 k8 `, b3 @ 0 0.01949 osd.0 up 1.00000 1.00000 0 O# S- W( e+ W6 V
1 0.01949 osd.1 up 1.00000 1.00000
2 |" M% K( C% s2 D& e-3 0.03897 host ceph2
4 h. d6 p; p: R 2 0.01949 osd.2 up 1.00000 1.00000 5 e1 \; l3 N0 ~+ \$ M* q
3 0.01949 osd.3 up 1.00000 1.00000
( o5 e, d( w: o: A) o-4 0.03897 host ceph3 0 t7 R K: o0 W
4 0.01949 osd.4 up 1.00000 1.00000 9 { o+ i$ R% z9 c4 M' }
5 0.01949 osd.5 up 1.00000 1.00000 8 E7 V' p: _5 I" t6 E
% |# }! y; k9 x
[root@ceph1 deploy]# ceph osd pool ls
! l) Z G7 B: x* ^images( t5 f9 a2 [3 T. a" a; b
[root@ceph1 deploy]# ceph osd pool rm images images / a$ R% q* j" a2 e
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.
0 J4 `& F' n3 K/ B2 |[root@ceph1 deploy]# ceph osd pool rm images images --yes-i-really-really-mean-it
; D- O# j0 w6 T3 ?% @pool 'images' removed U3 a2 F5 a& E- ?( y, {
[root@ceph1 deploy]# ceph -s
3 K0 Y/ Z& v$ x+ o! Y/ X cluster:
4 g# q8 G1 v' b. k5 @ id: 9072e6f0-0aff-4024-81b4-651bcb8d2b01
x1 P0 w; o5 d6 m3 o( D# {2 q3 H health: HEALTH_OK
1 \- Y; _ T- `7 N5 n: s" n) x$ l$ Y$ C
services:
8 k' Y' F2 D8 B/ v1 K3 x/ M mon: 3 daemons, quorum ceph1,ceph2,ceph3
% P& [. t) k" V& {& I( \5 `. ` mgr: ceph1(active), standbys: ceph2
" |, h9 A+ H: Q6 s. i osd: 6 osds: 6 up, 6 in/ G, S/ f S2 ] J& ?" i6 Q
9 {* e9 D7 f4 X r1 V' C data:
- t4 I1 i( g$ v5 L; R2 w0 S pools: 0 pools, 0 pgs
5 d' r4 p" }5 U, C+ _8 D: m$ ?) R objects: 0 objects, 0B' v) Q* a& m1 s6 {& m0 r% K8 c
usage: 670MiB used, 119GiB / 120GiB avail8 w X" t; s* C, a5 @) ]" [) I
pgs:
* j/ a0 F0 o" z0 \2 j
. e5 r0 v# E) q( ^1 H( c2 q3 b
+ e4 X6 L% n8 l4 U% F2 m5 N4 k8 m; b7 G5 k
|
|