找回密码
 注册
查看: 3188|回复: 0

ceph status health: HEALTH_WARN application not enabled on 2 pool(s)处理过程

[复制链接]

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
发表于 2021-7-5 09:18:40 | 显示全部楼层 |阅读模式
ceph status 8 D8 _: P. N: D" L- H: z& u
  cluster:6 w5 n/ o* k- d1 B9 a; z
    id:     75fd9bbd-3c12-419d-ab06-77df4c5d9c8a& J: H! X( T8 u2 O# B! k+ C
    health: HEALTH_WARN
7 S3 A! m  m- f; k            application not enabled on 2 pool(s): `5 b) I7 f) l# W# b/ ^5 ^

2 v  Y$ J: _8 _$ z  services:
( o4 a- G: A- S: ?. O    mon: 3 daemons, quorum compute01,compute02,compute03 (age 2w)8 n/ R& }# t7 T- V) P3 Z/ s; d
    mgr: compute01(active, since 3w), standbys: compute03, compute02
. F( W7 M$ k& Z- G* C1 }& f    osd: 3 osds: 3 up (since 3w), 3 in (since 3w)2 O& A8 ?7 `: |! V# u  g

% `* d) ?/ P3 {0 T9 b# a  data:
5 n- b( `3 L5 O4 f7 m0 a: h    pools:   8 pools, 520 pgs
+ `2 ]/ X6 T+ s; ?* D    objects: 35.99k objects, 97 GiB: K; e  W" n4 i
    usage:   196 GiB used, 3.1 TiB / 3.3 TiB avail" p" ^& r$ ]2 F3 b
    pgs:     520 active+clean
7 @; \1 b* S* F; ?* c( S& }. Q& Y6 i0 m& x
8 @) R: |5 p/ b- l7 z  M
通过监控检查:
9 A0 P. ?7 }6 i3 u) y1 E ceph health detail # a& a9 [: u+ p0 W4 U
HEALTH_WARN application not enabled on 2 pool(s)4 d2 N+ J0 P. U' O
POOL_APP_NOT_ENABLED application not enabled on 2 pool(s)2 m+ f% @, L! s- \! B$ I: _
    application not enabled on pool 'iscsitgtpool'
) m9 Z! D% p0 J9 u( x$ J    application not enabled on pool 'rbdrac'2 ~: c4 ]6 u& m2 p( j$ p
    use 'ceph osd pool application enable <pool-name> <app-name>', where <app-name> is 'cephfs', 'rbd', 'rgw', or freeform for custom applications.
) I( m5 g$ r/ D+ @8 `* d& s7 q
6 o8 F5 U  H& E' p' h2 F3 ~- ?. M4 V/ v) e+ ?$ \% Y) n
执行命令添加enabled, x" p$ d& ~' s' x/ ]  O
[root@compute01 ~]# ceph osd  pool application enable  iscsitgtpool rbd2 h" E9 r* c/ j
enabled application 'rbd' on pool 'iscsitgtpool'
+ v7 T# Q. A0 Q! V[root@compute01 ~]# ceph osd  pool application enable rbdrac rbd
  B' I3 |" R+ R- Genabled application 'rbd' on pool 'rbdrac'9 L/ o+ B8 `- c; F5 a

8 f! n3 X) d0 V9 \[root@compute01 ~]# ceph status : A' ?6 v( V- x- R
  cluster:; k% w9 J: m" O' f& t
    id:     75fd9bbd-3c12-419d-ab06-77df4c5d9c8a
" I) f7 {+ _* r% c/ J    health: HEALTH_OK: k1 E+ v% [: A) a
: ?: R8 Q3 n% c$ }+ p! n
  services:! ?/ C0 U, [& V* e: J/ Q' y3 u
    mon: 3 daemons, quorum compute01,compute02,compute03 (age 2w)
# t8 \+ O/ N0 s4 h. W1 n    mgr: compute01(active, since 3w), standbys: compute03, compute02
$ f, B* G" f/ b( |: G; [3 S    osd: 3 osds: 3 up (since 3w), 3 in (since 3w); j) a$ L$ c+ j3 `0 K; {2 v+ U
3 ~& A/ a1 C! x/ R# }- f+ m
  data:. |3 f. x  X  N& B) r. t: D* h7 [* x
    pools:   8 pools, 520 pgs% C* B3 f/ B+ ^) }* E+ b* \
    objects: 35.99k objects, 97 GiB
: a- @- U8 \% {3 n. X: Q    usage:   196 GiB used, 3.1 TiB / 3.3 TiB avail
. C( ^. T$ ]" b! P& `    pgs:     520 active+clean
& Z. _5 m" @- x5 F5 k; f
- W. Y, S; f2 Y  `% g  io:* i; [4 N5 r, w3 \9 {4 O; z7 @& _
    client:   35 KiB/s rd, 128 KiB/s wr, 45 op/s rd, 23 op/s wr
. n, B5 N: [( l2 r4 }) c  L/ \) j6 _2 v# p" |" W2 \+ g
您需要登录后才可以回帖 登录 | 注册

本版积分规则

返回首页|Archiver|手机版|小黑屋|易陆发现技术论坛 ( 蜀ICP备2026014127号-1 )

GMT+8, 2026-6-12 00:07 , Processed in 0.024789 second(s), 24 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表