您的位置:首页 > 其它

Ceph HEALTH_WARN

2017-12-25 00:00 609 查看
摘要: application not enabled on 1 pool(s)

Ceph状态异常

# ceph -s
cluster:
id:     7fcfeb49-34be-4ff9-9aea-82f6667b4e83
health: HEALTH_WARN
application not enabled on 1 pool(s)

services:
mon: 3 daemons, quorum dlw1,dlw2,dlw3
mgr: dlw1(active)
osd: 12 osds: 12 up, 12 in

data:
pools:   4 pools, 448 pgs
objects: 2174 objects, 17110 MB
usage:   64155 MB used, 11100 GB / 11163 GB avail
pgs:     448 active+clean

io:
client:   9039 B/s rd, 3412 kB/s wr, 11 op/s rd, 2 op/s wr

处理过程

检查:

# ceph health detail
HEALTH_WARN application not enabled on 1 pool(s)
POOL_APP_NOT_ENABLED application not enabled on 1 pool(s)
application not enabled on pool 'volumes'
use 'ceph osd pool application enable <pool-name> <app-name>', where <app-name> is 'cephfs', 'rbd', 'rgw', or freeform for custom applications.

看到详细报错信息直接就给出了解决办法:

# ceph osd pool application enable volumes rbd
enabled application 'rbd' on pool 'volumes'

查看状态,恢复正常:

# ceph -s
cluster:
id:     7fcfeb49-34be-4ff9-9aea-82f6667b4e83
health: HEALTH_OK

services:
mon: 3 daemons, quorum dlw1,dlw2,dlw3
mgr: dlw1(active)
osd: 12 osds: 12 up, 12 in

data:
pools:   4 pools, 448 pgs
objects: 2818 objects, 22249 MB
usage:   79722 MB used, 11085 GB / 11163 GB avail
pgs:     448 active+clean

io:
client:   0 B/s rd, 0 op/s rd, 0 op/s wr
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  ceph