admin 发表于 2025-12-29 19:00:08

health: HEALTH_WARN application not enabled on 1 pool(s)解决

# ceph -s
cluster:
    id:   2f6bb77f-8b7e-4530-bd4b-8e6f6ab58833
    health: HEALTH_WARN
            application not enabled on 1 pool(s)

services:
    mon: 3 daemons, quorum ceph1,ceph2,ceph3 (age 5h)
    mgr: ceph3(active, since 5h), standbys: ceph1, ceph2
    osd: 9 osds: 9 up (since 5h), 9 in (since 5h)

data:
    pools:   2 pools, 96 pgs
    objects: 519 objects, 2.0 GiB
    usage:   60 GiB used, 165 GiB / 225 GiB avail
    pgs:   96 active+clean



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

# ceph -s
cluster:
    id:   2f6bb77f-8b7e-4530-bd4b-8e6f6ab58833
    health: HEALTH_OK

services:
    mon: 3 daemons, quorum ceph1,ceph2,ceph3 (age 6h)
    mgr: ceph3(active, since 5h), standbys: ceph1, ceph2
    osd: 9 osds: 9 up (since 5h), 9 in (since 5h)

data:
    pools:   2 pools, 96 pgs
    objects: 519 objects, 2.0 GiB
    usage:   60 GiB used, 165 GiB / 225 GiB avail
    pgs:   96 active+clean

页: [1]
查看完整版本: health: HEALTH_WARN application not enabled on 1 pool(s)解决