zoukankan      html  css  js  c++  java
  • [Ceph]application not enabled on 2 pool(s)

    故障信息

    [root@ceph1 hdd]# ceph -s
      cluster:
        id:     eb4d0231-7f7d-4b07-97a8-c84a46c8ac73
        health: HEALTH_WARN
                application not enabled on 2 pool(s)
    
      services:
        mon: 3 daemons, quorum ceph1,ceph2,ceph3 (age 4h)
        mgr: ceph1(active, since 4h), standbys: ceph2, ceph3
        osd: 6 osds: 6 up (since 4h), 6 in (since 4h)
    
      data:
        pools:   2 pools, 128 pgs
        objects: 2.85k objects, 11 GiB
        usage:   39 GiB used, 261 GiB / 300 GiB avail
        pgs:     128 active+clean
    
    [root@ceph1 hdd]# ceph health detail
    HEALTH_WARN application not enabled on 2 pool(s)
    POOL_APP_NOT_ENABLED application not enabled on 2 pool(s)
        application not enabled on pool 'ssdpool'
        application not enabled on pool 'hddpool'
        use 'ceph osd pool application enable <pool-name> <app-name>', where <app-name> is 'cephfs', 'rbd', 'rgw', or freeform for custom applications.
    

    解决问题 池需要挂载应用分类

    [root@ceph1 hdd]# ceph osd pool application enable ssdpool rbd
    enabled application 'rbd' on pool 'ssdpool'
    [root@ceph1 hdd]# ceph osd pool application enable hddpool rbd
    enabled application 'rbd' on pool 'hddpool'
    [root@ceph1 hdd]# ceph -s
      cluster:
        id:     eb4d0231-7f7d-4b07-97a8-c84a46c8ac73
        health: HEALTH_OK
    
      services:
        mon: 3 daemons, quorum ceph1,ceph2,ceph3 (age 4h)
        mgr: ceph1(active, since 4h), standbys: ceph2, ceph3
        osd: 6 osds: 6 up (since 4h), 6 in (since 4h)
    
      data:
        pools:   2 pools, 128 pgs
        objects: 2.85k objects, 11 GiB
        usage:   39 GiB used, 261 GiB / 300 GiB avail
        pgs:     128 active+clean
    

    END

  • 相关阅读:
    使用 Fiddler2 进行接口测试的方法
    [cpyhon源代码]dict对象原理学习
    python PEPs-KEY
    python PEP1-总纲
    Python 容器的可变性
    Python源码分析:PyObject对象的起源与多态的实现
    python源码分析:dict对象的实现
    【ShadowsSocks】相关知识汇总
    python str函数isdigit、isdecimal、isnumeric的区别
    python 核心编程 第七章习题
  • 原文地址:https://www.cnblogs.com/leoshi/p/13652202.html
Copyright © 2011-2022 走看看