- 积分
- 16843
在线时间 小时
最后登录1970-1-1
|

楼主 |
发表于 2021-7-25 20:59:12
|
显示全部楼层
[root@compute01 ~]# ceph status
Z) ]$ L% R( `9 p- C cluster:$ E4 @- ^, c6 O' h: @" V8 I
id: 4c1f752a-ed1a-11eb-8ce5-0025908471d66 m D) ^( x) ^
health: HEALTH_WARN
3 M! R- |5 p# `6 L0 O 2 failed cephadm daemon(s)8 o4 H9 A4 M# s5 k
clock skew detected on mon.compute01
8 G6 [% A& c3 P$ B5 H+ R0 M
6 c# D: `( P3 s services:
+ `- x9 {% w6 c0 `) |3 t mon: 2 daemons, quorum controller,compute01 (age 3h)$ [! h# |5 N) S5 C# i, n
mgr: compute01.getqhn(active, since 3h), standbys: controller.kxfttd
D4 V5 R) z& X0 G3 B osd: 3 osds: 3 up (since 3h), 3 in (since 3h)
* k' e) g( Y' c8 \
, Y) j7 r- K' _0 ?+ G data:
1 Y6 Z) t4 Y( }0 K1 i pools: 1 pools, 1 pgs
7 h" r3 o; D( P9 ]- z& L1 I# _ objects: 0 objects, 0 B1 e: ~8 h: h2 ?# |" k& W* \
usage: 3.0 GiB used, 1.2 TiB / 1.2 TiB avail7 O* O$ A9 ~ R. h! `
pgs: 1 active+clean
/ G) z9 e0 H( N9 L- U% \9 {
4 O% z6 x* V8 `0 X; i" F! z6 [/ o) j: N" X+ y
[root@compute01 ~]# systemctl status ceph-1e87bca4-e7ce-11eb-aa90-0025908471d6
7 G# q; m7 V! s; ?; w( A, lceph-1e87bca4-e7ce-11eb-aa90-0025908471d6@crash.compute01.service ceph-1e87bca4-e7ce-11eb-aa90-0025908471d6@osd.0.service, x0 M1 @7 [# O: K0 L( V# t. M6 f1 B
ceph-1e87bca4-e7ce-11eb-aa90-0025908471d6@mgr.compute01.bunbzp.service ceph-1e87bca4-e7ce-11eb-aa90-0025908471d6.target& I" J: |4 D6 f% z9 U- z* D8 v
ceph-1e87bca4-e7ce-11eb-aa90-0025908471d6@node-exporter.compute01.service
6 y0 p2 Y+ S0 h& p% h" r( v! J[root@compute01 ~]# systemctl status ceph-1e87bca4-e7ce-11eb-aa90-0025908471d6
2 c/ @7 X% ~# \$ [, L$ e2 U" Sceph-1e87bca4-e7ce-11eb-aa90-0025908471d6@crash.compute01.service ceph-1e87bca4-e7ce-11eb-aa90-0025908471d6@osd.0.service) V% a0 D0 ~/ v. T r
ceph-1e87bca4-e7ce-11eb-aa90-0025908471d6@mgr.compute01.bunbzp.service ceph-1e87bca4-e7ce-11eb-aa90-0025908471d6.target9 B% l8 Y( y' s$ z
ceph-1e87bca4-e7ce-11eb-aa90-0025908471d6@node-exporter.compute01.service
0 ~$ n" y$ \. `" V3 Z9 _6 n2 ?. ~6 Q$ C2 F
/ [5 n1 ], \0 S1 F. i
2 F$ g: ~! U8 J0 Y7 z3 o
9 m! o% ^3 X- g8 _[root@compute01 ~]# systemctl disable ceph-1e87bca4-e7ce-11eb-aa90-0025908471d6@crash.compute01.service ceph-1e87bca4-e7ce-11eb-aa90-0025908471d6@osd.0.service ceph-1e87bca4-e7ce-11eb-aa90-0025908471d6@mgr.compute01.bunbzp.service ceph-1e87bca4-e7ce-11eb-aa90-0025908471d6.target ceph-1e87bca4-e7ce-11eb-aa90-0025908471d6@node-exporter.compute01.service
" V8 U! t* \- T9 [+ ZRemoved [url=]/etc/systemd/system/ceph-1e87bca4-e7ce-11eb-aa90-0025908471d6.target.wants/ceph-1e87bca4-e7ce-11eb-aa90-0025908471d6@crash.compute01.service[/url].
. w* w- P8 Q, O/ X" ^( |: a0 T; SRemoved [url=]/etc/systemd/system/ceph-1e87bca4-e7ce-11eb-aa90-0025908471d6.target.wants/ceph-1e87bca4-e7ce-11eb-aa90-0025908471d6@mgr.compute01.bunbzp.service[/url].. y* ~, _& \) W2 }+ n, q
Removed [url=]/etc/systemd/system/ceph-1e87bca4-e7ce-11eb-aa90-0025908471d6.target.wants/ceph-1e87bca4-e7ce-11eb-aa90-0025908471d6@node-exporter.compute01.service[/url].9 w4 S1 A9 l7 j# a8 S
Removed [url=]/etc/systemd/system/ceph-1e87bca4-e7ce-11eb-aa90-0025908471d6.target.wants/ceph-1e87bca4-e7ce-11eb-aa90-0025908471d6@osd.0.service[/url].
' i- A4 m ~+ Y' U% x. K% ~5 N9 V2 h$ q9 w# I
6 A) l$ C8 P" p9 v
[root@compute01 ~]# cd /var/lib/ceph
; ^1 x5 n/ V! ?2 O" c I5 {- W+ K ?% ?& I# j
[root@controller ~]# cd /var/lib/ceph
' f: X4 i6 v! K0 I. o4 e[root@controller ceph]# rm -rf 1e87bca4-e7ce-11eb-aa90-0025908471d6/0 p3 e$ ~ g- K1 L6 @) N7 j7 [9 S5 a
7 H4 H. r3 b6 {* P; V Q) h
4 d: o! G% E* O[root@controller ceph]# ceph status . `9 Y% B# K: ^3 O
cluster:
2 B+ g, }# ?, Y* } id: 4c1f752a-ed1a-11eb-8ce5-0025908471d6
3 x; Z# y1 U1 V+ N9 A7 i health: HEALTH_OK% a8 V- q# i# ~$ _! \6 I
- s: }# P9 H8 [/ g8 B0 q X services:
+ }4 i# t2 B; i mon: 2 daemons, quorum controller,compute01 (age 84s)
. @9 I1 W# P" \) C8 i mgr: compute01.getqhn(active, since 30s)7 p1 g# o6 W9 ~
osd: 3 osds: 3 up (since 14s), 3 in (since 4h)
4 C& X7 Z9 e! ^% T, Q 9 N6 J3 S8 r* V* C
data:! Z6 d9 X0 P* t$ Q+ E2 k, M5 x6 j
pools: 1 pools, 1 pgs1 l0 d7 d4 Q- p& S/ D9 G
objects: 0 objects, 0 B
- H' Q& Z* L) b( C" j# D8 m usage: 3.0 GiB used, 1.2 TiB / 1.2 TiB avail" z( H, W0 m4 x7 k1 d8 B1 g5 H* h$ ?
pgs: 1 active+clean8 _# a7 I( ~% h- L- l
% Q' N3 X5 P! R, G
问题竟然解决。
2 \- }* B- A- y) B: F0 E* @
8 H+ M& N( s1 A& X0 D( Q9 o, H4 Q |
|