|
|
[root@compute01 deploy]# ceph -s0 @- K* _) ?8 y
cluster:
' T; P O5 y @& a8 ` {9 Y; a id: dd1ff8b6-f7b8-47a3-890c-17f75894562a
7 i6 c2 z# c* `6 C# O5 C8 M9 } health: HEALTH_WARN; \5 g0 O5 D; {5 P3 j4 n
1 pool(s) have non-power-of-two pg_num* t/ _5 M4 I2 a" w
: l8 Y$ e5 s# r# R, W0 g
services:$ Q) G) N, A3 k# c; a
mon: 3 daemons, quorum compute01,compute02,compute03 (age 5h)9 `7 O: }) M% l! F
mgr: compute02(active, since 5d), standbys: compute03, compute01
% J) n+ @2 ]* O; M9 A: l osd: 3 osds: 3 up (since 4h), 3 in (since 4h)! ^( O+ |% S& }, g
* D! C- `* f$ V# }% a4 ]
data:7 E. Q+ U6 j0 \6 ^) H
pools: 4 pools, 292 pgs a4 _5 o* ?2 A/ J# r1 M
objects: 9.52k objects, 71 GiB' A" e: {: }0 T/ ]1 g% w& y
usage: 144 GiB used, 3.1 TiB / 3.3 TiB avail% U* C& W8 @& s/ z, f
pgs: 292 active+clean/ D# M/ W! u, H6 Z9 b
8 P) l5 A+ T. Z2 ]( ?; U io:
; y8 z9 f5 H2 x; h; z* P client: 46 MiB/s rd, 24 MiB/s wr, 1.14k op/s rd, 499 op/s wr
9 A8 F+ j ~; E7 [" x' J2 C " J9 J# ?; G& d- o' ~8 p% ^
[root@compute01 deploy]# ceph health detail + Z) ]# ?! v. J( L1 Q
HEALTH_WARN 1 pool(s) have non-power-of-two pg_num
2 I R! e' Y! Q8 \4 j. gPOOL_PG_NUM_NOT_POWER_OF_TWO 1 pool(s) have non-power-of-two pg_num5 _; [( Z4 }- c8 c/ b3 R% I) O
pool 'vms' pg_num 100 is not a power of two* ~8 J6 q& C6 ]$ _8 |" S* f
[root@compute01 deploy]# ceph osd pool ls detail
+ C8 [ o! r6 k9 w5 ~: opool 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
7 S3 S. X r8 H$ K; S* W/ t5 g removed_snaps [1~3,7~5,d~3]
3 K. Y) m6 Y# W3 gpool 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( L/ @$ P) k3 i( T
removed_snaps [1~3]
4 n' b# }6 |5 `, \" qpool 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 rbd4 o' ^( S) g2 q+ H
pool 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" G8 H- a7 V2 L6 I5 ]* j
removed_snaps [1~7]. [; i* k' |8 q7 \) N; G/ y4 V% t4 h- Y
[root@compute01 deploy]# ceph osd pool set vms pg_num 128
. e4 M- X! K$ y5 D7 N$ @set pool 21 pg_num to 128
) |5 w/ h7 L/ i7 j% `3 w: |2 U[root@compute01 deploy]# ceph osd pool set vms pgp_num 128
' ]+ \" J3 f8 @) xset pool 21 pgp_num to 128# N6 X5 m4 R7 ^9 S- x
[root@compute01 deploy]# ceph health detail
- Y6 Y$ l$ F' ~3 C$ g+ nHEALTH_OK, ~; _0 Q& D; B
[root@compute01 deploy]# ceph -s
/ R) f& z4 W* w- s9 F cluster:
( `0 u6 W/ m/ x id: dd1ff8b6-f7b8-47a3-890c-17f75894562a- f2 [" A" `7 ~3 r8 {
health: HEALTH_OK
9 N& T' e1 o4 M/ a( }% c 6 H( t8 M3 f, M) T! {) J
services:
0 X2 S6 v4 ]; A mon: 3 daemons, quorum compute01,compute02,compute03 (age 5h)( s6 N* O# x5 k. B8 s: y
mgr: compute02(active, since 5d), standbys: compute03, compute018 J1 D* P/ |3 G w
osd: 3 osds: 3 up (since 4h), 3 in (since 4h); 5 remapped pgs
- U) g3 w+ \6 G# h* a; q2 w . k1 F" z2 J. J" e
data:' Z6 {% s5 o8 E9 q7 N/ U
pools: 4 pools, 320 pgs$ ~! ~4 P' ?1 o
objects: 9.87k objects, 74 GiB) K* K# _+ B- K/ r' ^- U5 h
usage: 149 GiB used, 3.1 TiB / 3.3 TiB avail
& z3 f2 J4 H1 O% ]6 u* O6 } pgs: 0.625% pgs not active
3 w5 D6 W) [9 n3 `, x 152/19744 objects misplaced (0.770%)+ i l1 U3 ^) h. b, k, v
314 active+clean s' D- n& e* ?9 H# m
3 active+remapped+backfill_wait( j% h, A5 x# k9 z
2 remapped+peering2 @" @9 p# | a5 b5 [6 s+ s
1 active+remapped+backfilling/ A) p! K! B1 P; Q
3 j& m$ ]* D9 o- f* D) _0 U) } io:
" l! _, U# ?/ I6 t% K$ N recovery: 25 MiB/s, 3 objects/s' M& o$ {: @, P. `) i
|
|