|
|
[root@compute01 deploy]# ceph -s* e6 l& A9 i9 W; P+ V5 X
cluster:9 ?) {& |4 @- U! s
id: dd1ff8b6-f7b8-47a3-890c-17f75894562a5 ?& L! w0 H# f- R. D- G
health: HEALTH_WARN
* V; [4 O/ Y0 I+ S 1 pool(s) have non-power-of-two pg_num
8 ?/ [1 w" ?9 H) s' h4 O1 {
" [- ~, x8 Z% U! r2 ] services:
; g" ~7 K' I6 B mon: 3 daemons, quorum compute01,compute02,compute03 (age 5h)' Z3 l: y$ @/ Y. v6 U8 F1 ?9 s1 [
mgr: compute02(active, since 5d), standbys: compute03, compute01
0 p9 I+ u) t" v& G osd: 3 osds: 3 up (since 4h), 3 in (since 4h)# J1 |9 F+ y( ]8 i1 C' i# I" V9 J
! g& e7 o% N- t* Q( `
data: X# j$ y R1 X" D1 b/ r3 l6 B
pools: 4 pools, 292 pgs, T2 B* }" N* q3 }) i& T& [
objects: 9.52k objects, 71 GiB
. I' o; T# O" W- P5 o+ W3 M* z usage: 144 GiB used, 3.1 TiB / 3.3 TiB avail
- Q* Z1 s7 k* B1 ?7 ~ pgs: 292 active+clean
6 _) T" O) m* F) F; S4 F % m8 K& \2 r& X; \" u) P {
io:& r; _% y: c* Q% t1 m+ l& E* ]/ {
client: 46 MiB/s rd, 24 MiB/s wr, 1.14k op/s rd, 499 op/s wr; Y4 \; X* ~0 X, S1 g
: q3 v6 l$ Z8 x2 |2 i" P
[root@compute01 deploy]# ceph health detail
1 O, @& z, s# B5 DHEALTH_WARN 1 pool(s) have non-power-of-two pg_num
6 ?5 Y- A4 G0 ?7 Z0 d' HPOOL_PG_NUM_NOT_POWER_OF_TWO 1 pool(s) have non-power-of-two pg_num
1 O9 \ N, }+ F$ z$ ] pool 'vms' pg_num 100 is not a power of two
9 k6 _0 T: K5 T5 Z2 s0 R" \[root@compute01 deploy]# ceph osd pool ls detail ) N1 [( `8 ` U; f/ ]' C$ ^- e
pool 18 'images' replicated size 2 min_size 2 crush_rule 0 object_hash rjenkins pg_num 32 pgp_num 32 autoscale_mode warn last_change 1650 flags hashpspool,selfmanaged_snaps stripe_width 0 application rbd
6 j8 |2 f, Y. C5 Q) V removed_snaps [1~3,7~5,d~3]+ S- y$ F9 U4 I2 z: h: \
pool 19 'volumes' replicated size 2 min_size 2 crush_rule 0 object_hash rjenkins pg_num 128 pgp_num 128 autoscale_mode warn last_change 1645 flags hashpspool,selfmanaged_snaps stripe_width 0 application rbd: n N7 b3 O$ X5 E
removed_snaps [1~3]
: o; W2 X) l4 x0 s* Cpool 20 'backups' replicated size 2 min_size 2 crush_rule 0 object_hash rjenkins pg_num 32 pgp_num 32 autoscale_mode warn last_change 1614 flags hashpspool stripe_width 0 application rbd
" V( v& K. ^8 X( g' G: lpool 21 'vms' replicated size 2 min_size 2 crush_rule 0 object_hash rjenkins pg_num 100 pgp_num 100 autoscale_mode warn last_change 1634 flags hashpspool,selfmanaged_snaps stripe_width 0 application rbd
3 c2 S( U; x( X1 x2 z# o, [ removed_snaps [1~7]
& _3 I$ T& j2 ?[root@compute01 deploy]# ceph osd pool set vms pg_num 128
6 c/ u1 A8 A9 e! n. O% n7 Z$ aset pool 21 pg_num to 128/ T& D$ T' {, [) @1 |
[root@compute01 deploy]# ceph osd pool set vms pgp_num 1281 B0 w6 l3 G: `
set pool 21 pgp_num to 1288 E: a- @7 Z. D. u9 E
[root@compute01 deploy]# ceph health detail
N# l' \; X- K, rHEALTH_OK4 k' T8 u! X" M) A+ }1 V. O
[root@compute01 deploy]# ceph -s
) y U/ e' Y4 K! n( h) s& h cluster:+ j G4 j4 H8 W" R
id: dd1ff8b6-f7b8-47a3-890c-17f75894562a
" v9 k; {. K! y) F4 y7 T6 ? health: HEALTH_OK
3 ~% [1 T n+ x
2 t: s: ]* {9 K1 t3 R! ~6 x. ^ services:3 u0 k9 a% }0 ~
mon: 3 daemons, quorum compute01,compute02,compute03 (age 5h)
+ U4 m+ y' {! a! u- \- M mgr: compute02(active, since 5d), standbys: compute03, compute01
3 Q* K, K1 \4 O! x3 }5 t) p" [8 O osd: 3 osds: 3 up (since 4h), 3 in (since 4h); 5 remapped pgs/ a. P \4 P; \4 U5 M9 z' G
& W i9 U+ h: z+ L% H4 c3 p data:7 M$ M- n8 ?, E! d0 ?" X) u
pools: 4 pools, 320 pgs+ @$ L1 e: Q4 B: i7 v
objects: 9.87k objects, 74 GiB
% R; K! c8 e) Y+ p+ }+ F, E; s- k usage: 149 GiB used, 3.1 TiB / 3.3 TiB avail) q. e9 Z2 m0 O, A% ^* F
pgs: 0.625% pgs not active
3 u9 Z# X5 c* P- b6 | h; W 152/19744 objects misplaced (0.770%)# ? T6 ^/ N5 I/ N$ Y
314 active+clean
7 x$ |, d7 s6 L: m! h( r9 [ 3 active+remapped+backfill_wait
4 c6 @! P* Q& B) z- y 2 remapped+peering4 x) r) t, j; L4 J
1 active+remapped+backfilling/ q( s0 ~. z+ J1 J5 K2 [
' Q3 A) W0 N: @; j4 M
io:
9 m* A* l: X ]5 } } recovery: 25 MiB/s, 3 objects/s
4 U9 g+ ^1 v, ~ |
|