|
|
楼主 |
发表于 2022-11-8 10:36:32
|
显示全部楼层
[root@hostceph1 ~]# ceph daemon osd.2 config show|grep osd_max_backfills- r' Y ?: s' ?# P0 g# a
"osd_max_backfills": "1",
' M# D+ j! Y, k3 f[root@hostceph1 ~]# ceph daemon osd.2 config show|grep osd_recovery_max_active: |/ l: x8 O# |: R" [5 b
"osd_recovery_max_active": "3",
' |8 r+ o9 o# B! D4 w% \[root@hostceph1 ~]# ceph daemon osd.2 config show|grep osd_recovery_sleep6 W3 @$ [" P! Z. D0 K+ x. u" M# W2 l
"osd_recovery_sleep": "0.000000",
9 v% D$ @4 @ C- ?9 N "osd_recovery_sleep_hdd": "0.100000",
8 r8 Z' [6 F% k; S& [ "osd_recovery_sleep_hybrid": "0.025000",
& [9 E% j4 X( m$ A "osd_recovery_sleep_ssd": "0.000000",
( c1 r: M2 Z3 w+ ?" b) M8 f[root@hostceph1 ~]# ceph daemon osd.2 config show|grep max_backfills
% \+ K' S" Q0 |5 C, c "osd_max_backfills": "1",2 [8 }& `! } a% R
[root@hostceph1 ~]# ceph daemon osd.2 config show|grep recovery_max_active
' Y5 H4 I7 S3 X "osd_recovery_max_active": "3",
$ p0 @4 F9 {0 f) n& Q# Z+ c$ E9 y[root@hostceph1 ~]# ceph daemon osd.2 config show|grep recovery_threads6 b8 o' I" `% I5 o
[root@hostceph1 ~]# ceph tell osd.* injectargs "--osd_recovery_sleep_hdd=0"/ L/ k- M6 Y$ f, _
osd.0: osd_recovery_sleep_hdd = '0.000000' (not observed, change may require restart) 4 K. }9 @" |0 K' T6 l7 L0 g' J b
osd.1: osd_recovery_sleep_hdd = '0.000000' (not observed, change may require restart) E: E3 a3 C Y& j
osd.2: osd_recovery_sleep_hdd = '0.000000' (not observed, change may require restart) 5 Z4 F6 V8 J* u# W$ U
osd.3: osd_recovery_sleep_hdd = '0.000000' (not observed, change may require restart)
7 \0 A) m% u. `2 A1 [4 e' l6 qosd.4: osd_recovery_sleep_hdd = '0.000000' (not observed, change may require restart)
4 H! ?( O& E; n* P3 r- Oosd.5: osd_recovery_sleep_hdd = '0.000000' (not observed, change may require restart) 8 `' r& n8 ]" `" `- a. ^0 n4 L
osd.6: osd_recovery_sleep_hdd = '0.000000' (not observed, change may require restart) " G2 ?2 m3 }9 p+ {' Q- O
osd.7: osd_recovery_sleep_hdd = '0.000000' (not observed, change may require restart) - V' p: f. f- ?! a/ z' @5 d' A% H
osd.8: osd_recovery_sleep_hdd = '0.000000' (not observed, change may require restart)
|, r) J/ u, u. _7 e5 d3 wosd.9: osd_recovery_sleep_hdd = '0.000000' (not observed, change may require restart) 7 @8 `5 D4 E. w7 ? e
osd.10: osd_recovery_sleep_hdd = '0.000000' (not observed, change may require restart)
' E: `5 _9 ?- X( S sosd.11: osd_recovery_sleep_hdd = '0.000000' (not observed, change may require restart) ( @/ m9 F: p% a- x3 G6 A# J! S
osd.12: osd_recovery_sleep_hdd = '0.000000' (not observed, change may require restart) 8 z" P" j+ h7 T8 |6 n7 v
osd.13: osd_recovery_sleep_hdd = '0.000000' (not observed, change may require restart) % f0 M& x) x5 H z" T
osd.14: osd_recovery_sleep_hdd = '0.000000' (not observed, change may require restart)
8 ~) D& [$ U) w3 L# Tosd.15: osd_recovery_sleep_hdd = '0.000000' (not observed, change may require restart) : a: P' d6 \8 _" U4 F
osd.16: osd_recovery_sleep_hdd = '0.000000' (not observed, change may require restart) 1 [ {/ A# m8 [! I; f
osd.17: osd_recovery_sleep_hdd = '0.000000' (not observed, change may require restart)
& ^2 ~0 f+ \$ w( t* n* vosd.18: osd_recovery_sleep_hdd = '0.000000' (not observed, change may require restart) - S& j7 p$ R F3 v: C. \3 @
osd.19: osd_recovery_sleep_hdd = '0.000000' (not observed, change may require restart) + X% V: X( E1 V6 C$ a" g
osd.20: osd_recovery_sleep_hdd = '0.000000' (not observed, change may require restart) ' B, B7 h: o8 c! u
osd.21: osd_recovery_sleep_hdd = '0.000000' (not observed, change may require restart)
+ g# q0 K+ K% ~% {& \! Zosd.22: osd_recovery_sleep_hdd = '0.000000' (not observed, change may require restart)
! c, ?9 z4 j3 |$ zosd.23: osd_recovery_sleep_hdd = '0.000000' (not observed, change may require restart) X) y- r9 s8 W$ u/ M% i
osd.24: osd_recovery_sleep_hdd = '0.000000' (not observed, change may require restart)
9 O1 s. m& b) Q8 O$ p# Q9 Q& cosd.25: osd_recovery_sleep_hdd = '0.000000' (not observed, change may require restart)
$ @1 g7 I. R/ ?# `osd.26: osd_recovery_sleep_hdd = '0.000000' (not observed, change may require restart) + J9 Y. L9 t8 F
osd.27: osd_recovery_sleep_hdd = '0.000000' (not observed, change may require restart)
+ S* N& o5 w! t# E4 R* Hosd.28: osd_recovery_sleep_hdd = '0.000000' (not observed, change may require restart)
1 T& P0 S9 U% u+ \osd.29: osd_recovery_sleep_hdd = '0.000000' (not observed, change may require restart) & v9 r+ t: { |" c1 x
osd.30: osd_recovery_sleep_hdd = '0.000000' (not observed, change may require restart) + r8 X( N- e- ]
osd.31: osd_recovery_sleep_hdd = '0.000000' (not observed, change may require restart)
8 H3 n0 Y& z# d1 u% W2 q1 @osd.32: osd_recovery_sleep_hdd = '0.000000' (not observed, change may require restart) . N4 q3 y. A& ^7 z: w
osd.33: osd_recovery_sleep_hdd = '0.000000' (not observed, change may require restart)
' \2 V6 [% r* k[root@hostceph1 ~]# ceph tell osd.* injectargs "--osd_max_backfills=10"8 a9 E& u' X9 O( ]* T
osd.0: osd_max_backfills = '10' 3 z$ d% }! r' m+ T2 `
osd.1: osd_max_backfills = '10'
) ^+ m$ a1 _: E- O' yosd.2: osd_max_backfills = '10'
8 v1 U5 K3 {# p" T) _- S+ xosd.3: osd_max_backfills = '10' # z' \( P5 F5 `. I$ O/ r) J
osd.4: osd_max_backfills = '10' ; Y8 ?& u6 i/ W0 |& z" |/ W
osd.5: osd_max_backfills = '10' , z3 v0 a; g$ [
osd.6: osd_max_backfills = '10'
( S1 s8 [0 [) k* oosd.7: osd_max_backfills = '10'
7 Z2 w0 v; E5 P! E1 L" dosd.8: osd_max_backfills = '10' 4 i* H! y o0 V S4 U8 x
osd.9: osd_max_backfills = '10' 1 ]# f, W9 p0 U9 I; D
osd.10: osd_max_backfills = '10' 1 D0 x2 P. W) `; g5 p( r8 H; J! \
osd.11: osd_max_backfills = '10' 5 T5 G5 E6 n! `2 Y" x" ^, c
osd.12: osd_max_backfills = '10' % @( S" |$ c( A6 s
osd.13: osd_max_backfills = '10'
& w3 ~" d. o4 `osd.14: osd_max_backfills = '10' + j" ]* c2 Q/ N
osd.15: osd_max_backfills = '10' 6 G7 ]! }6 r/ N/ P: _9 h3 E
osd.16: osd_max_backfills = '10' & x/ i1 B# G, H/ W4 [
osd.17: osd_max_backfills = '10'
: J M" F, g: C, aosd.18: osd_max_backfills = '10' : ?, s2 O2 K+ i" K3 s) @
osd.19: osd_max_backfills = '10'
# a$ k, W, G% Q8 |8 f5 _6 w0 Bosd.20: osd_max_backfills = '10' - W! N' q" h& ]; q9 o
osd.21: osd_max_backfills = '10'
4 b+ N* l! e9 G9 p: D/ I0 P( F0 Dosd.22: osd_max_backfills = '10'
" ]7 o5 j: a4 r! i& l9 j/ vosd.23: osd_max_backfills = '10'
0 U; m; l: \1 c; _# Fosd.24: osd_max_backfills = '10' 1 J" {5 Y k: f) c
osd.25: osd_max_backfills = '10' & g$ U8 ^ p0 }# i1 ~* y
osd.26: osd_max_backfills = '10'
4 w" y) c. z. `( `' Qosd.27: osd_max_backfills = '10'
8 ^/ Q) s; I! O0 Tosd.28: osd_max_backfills = '10'
& A, u" F& L x) z* |osd.29: osd_max_backfills = '10'
! q. S/ v+ {# ?6 D3 G; Nosd.30: osd_max_backfills = '10' ' K/ s3 Z5 j6 x m& h% A4 P
osd.31: osd_max_backfills = '10' " a B3 x( ^3 N5 L/ o! e
osd.32: osd_max_backfills = '10' 7 `" o" h% q& N- f+ \4 f
osd.33: osd_max_backfills = '10'
( \! r3 {& p+ S1 f' E$ \# z; @[root@hostceph1 ~]# ceph tell osd.* injectargs "--osd_recovery_max_active=10". ?' Z U) [2 ~( \) ]3 _: R
osd.0: osd_recovery_max_active = '10' (not observed, change may require restart) 6 F1 F# T* t h2 b8 ^* a1 p6 n7 f
osd.1: osd_recovery_max_active = '10' (not observed, change may require restart)
7 l6 r0 N& B0 N8 Qosd.2: osd_recovery_max_active = '10' (not observed, change may require restart) 3 g6 ^0 D% J6 L- C
osd.3: osd_recovery_max_active = '10' (not observed, change may require restart) & h$ {0 A* j- [$ k: y' s
osd.4: osd_recovery_max_active = '10' (not observed, change may require restart)
- b% x2 ~# h3 E3 Hosd.5: osd_recovery_max_active = '10' (not observed, change may require restart)
$ T* g4 j% K/ ?% S W7 hosd.6: osd_recovery_max_active = '10' (not observed, change may require restart) 7 u# h7 n- P; l; F, Y! ]" |
osd.7: osd_recovery_max_active = '10' (not observed, change may require restart) 9 Q/ s) h& ^( z/ u0 y: ]8 b M
osd.8: osd_recovery_max_active = '10' (not observed, change may require restart)
5 q8 a3 q6 E2 |: Q: P! i/ S& ~osd.9: osd_recovery_max_active = '10' (not observed, change may require restart) 3 L) k0 n' l. \/ c# P! h
osd.10: osd_recovery_max_active = '10' (not observed, change may require restart)
: A- i7 y" }# R' i$ ^osd.11: osd_recovery_max_active = '10' (not observed, change may require restart) $ \2 X! T1 g" g' g: e6 Q1 Q
osd.12: osd_recovery_max_active = '10' (not observed, change may require restart)
) l4 X2 t" K5 q7 i/ yosd.13: osd_recovery_max_active = '10' (not observed, change may require restart) 6 U, d/ r5 F% ?* x3 y9 @
osd.14: osd_recovery_max_active = '10' (not observed, change may require restart) / ^& x) k, |) g. f2 C# G
osd.15: osd_recovery_max_active = '10' (not observed, change may require restart)
. m! c* U0 f+ G! Xosd.16: osd_recovery_max_active = '10' (not observed, change may require restart)
m2 x r3 `7 ]& @' m, g/ j" I, Uosd.17: osd_recovery_max_active = '10' (not observed, change may require restart)
8 O$ n2 w4 Y& K5 bosd.18: osd_recovery_max_active = '10' (not observed, change may require restart)
( t+ N% U+ C9 [8 josd.19: osd_recovery_max_active = '10' (not observed, change may require restart)
( x, k! I" V& s- n/ Mosd.20: osd_recovery_max_active = '10' (not observed, change may require restart)
# w! c- I! O# t6 d0 Rosd.21: osd_recovery_max_active = '10' (not observed, change may require restart)
- P& H! t" m1 D! A& K1 cosd.22: osd_recovery_max_active = '10' (not observed, change may require restart)
) d2 |6 u1 Q# a+ M6 Vosd.23: osd_recovery_max_active = '10' (not observed, change may require restart)
( J( C0 T( }, ~: Z6 eosd.24: osd_recovery_max_active = '10' (not observed, change may require restart) 5 q" x: L2 y l! G
osd.25: osd_recovery_max_active = '10' (not observed, change may require restart) ' G( E: a8 {4 |1 `& j% Z# z
osd.26: osd_recovery_max_active = '10' (not observed, change may require restart)
: w- Y( s" h$ @; c# j& mosd.27: osd_recovery_max_active = '10' (not observed, change may require restart)
4 o$ h' U" u/ g: E$ }9 r- kosd.28: osd_recovery_max_active = '10' (not observed, change may require restart)
) r4 C& H4 Z9 Z' bosd.29: osd_recovery_max_active = '10' (not observed, change may require restart) 3 Z2 ^8 ~# v. ?' W' h7 u( h9 ^& {
osd.30: osd_recovery_max_active = '10' (not observed, change may require restart)
4 _- E' D1 Z u: Nosd.31: osd_recovery_max_active = '10' (not observed, change may require restart)
7 Y; @) U5 f, ?' ~osd.32: osd_recovery_max_active = '10' (not observed, change may require restart)
& g& O! N9 A; y1 V% E, Y8 josd.33: osd_recovery_max_active = '10' (not observed, change may require restart) 1 G9 j# P3 Z$ R- U# x5 B
[root@hostceph1 ~]# ceph -s
+ o6 O6 Y- J3 }8 [' l* F9 `7 p$ [) \ cluster:/ o* C+ Y7 ?( |
id: 29046cc0-0682-496b-98b1-912e599642821 v3 f6 t6 C u* |
health: HEALTH_WARN& W6 b7 E! E! C4 \( \* B. j k
Reduced data availability: 24 pgs inactive
& o: W" R0 Q5 {- _ 24 pgs not deep-scrubbed in time$ w! s9 u, u9 H( J: A5 m) c
24 pgs not scrubbed in time6 b1 G% v/ ]) T7 l" e: G" v7 q, Y
7 C, g: Y$ q$ _- P" O services:2 d7 W/ ^% ]3 m0 ?5 R- u
mon: 3 daemons, quorum hostceph1,hostceph2,hostceph3 (age 3M)
2 `& ^! Z- `* O. r3 y mgr: hostceph2(active, since 3M), standbys: hostceph1, hostceph3
# y) I! \$ ?. B2 C osd: 34 osds: 34 up (since 3M), 34 in (since 3M)5 D- K' I3 r+ ?4 P( |
( Y G$ _7 D( @# o$ Q4 V' H% @$ }! j
data:
6 ?0 m/ w9 @4 I$ w3 o4 E pools: 9 pools, 5760 pgs
! B8 f$ L0 b2 j) `5 Q0 t objects: 3.11M objects, 12 TiB
* a8 N3 Q+ b. C% y7 p3 k1 j usage: 33 TiB used, 92 TiB / 126 TiB avail8 p7 @% Z1 {6 u0 A* e+ p5 ~
pgs: 0.417% pgs unknown
/ X5 @( x3 M; g" o* `! |5 K- ` 5735 active+clean! b2 u3 ?; T0 ?' @
24 unknown8 c$ l% k" S' W5 l8 E, n
1 active+clean+scrubbing+deep2 ?. Q+ Q7 V" f' }4 b
$ @8 A; C' C' y6 D# k! G
io:
+ |' ~" W* P# a2 W1 b+ \ client: 212 KiB/s rd, 20 MiB/s wr, 258 op/s rd, 647 op/s wr
- O5 D/ T# c0 A, d: C7 N! e4 I* t
% Q: s! n! M! h& x) n[root@hostceph1 ~]# ceph -s
( [$ V0 Z. W+ w4 h0 j9 j cluster:: w+ l5 _! s& H
id: 29046cc0-0682-496b-98b1-912e59964282. v7 G! x9 R: f! v8 A! c) V7 B
health: HEALTH_WARN# _4 e" E2 G. y( c, g
Reduced data availability: 24 pgs inactive
% y1 H H6 F) s) e 24 pgs not deep-scrubbed in time! N" A! N$ M) m' ~1 A5 k+ X
24 pgs not scrubbed in time
2 t3 K3 T0 ]5 F2 P( t ' s7 c7 _: m( h! o+ b) _! J
services:9 N* M3 v5 b9 e Y
mon: 3 daemons, quorum hostceph1,hostceph2,hostceph3 (age 3M)6 _' P( V* \# f3 Z. T# k) B
mgr: hostceph2(active, since 3M), standbys: hostceph1, hostceph3
) t4 h/ O( T a) Y0 m! m8 H osd: 34 osds: 34 up (since 3M), 34 in (since 3M)
1 L# e, A) K6 O+ [0 f6 A" G
2 h9 x* u1 Y5 y3 @( v( T3 w, m- n data:' ]; v: d9 Y- }5 T0 A! d1 c9 I! d% I
pools: 9 pools, 5760 pgs
' @# n) W8 h* N- K! }$ h. P objects: 3.11M objects, 12 TiB
* d8 h" H0 t' l usage: 33 TiB used, 92 TiB / 126 TiB avail
: k7 n1 s# a7 z) f% Z) s! f pgs: 0.417% pgs unknown0 I/ \! N7 r# a$ c" X) Y! n' j
5735 active+clean+ b2 b" X# A) V! H& `2 p' ^; ^
24 unknown! n' {: Q7 B9 Y& P9 E: v6 H- Z" u
1 active+clean+scrubbing+deep
8 N A( Z8 q4 w
) z2 i# v% ~/ \" ` io:
' e; ^0 I# u' }4 p T% ] e, F client: 9.7 KiB/s rd, 20 MiB/s wr, 12 op/s rd, 625 op/s wr |
|