ceph.repo

    1. [Ceph]
    2. name=Ceph packages for $basearch
    3. baseurl=http://mirrors.aliyun.com/ceph/rpm-jewel/el7/$basearch
    4. enabled=1
    5. gpgcheck=0
    6. type=rpm-md
    7. gpgkey=http://mirrors.aliyun.com/ceph/keys/release.asc
    8. priority=1
    9. [Ceph-noarch]
    10. name=Ceph noarch packages
    11. baseurl=http://mirrors.aliyun.com/ceph/rpm-jewel/el7/noarch
    12. enabled=1
    13. gpgcheck=0
    14. type=rpm-md
    15. gpgkey=http://mirrors.aliyun.com/ceph/keys/release.asc
    16. priority=1
    17. [ceph-source]
    18. name=Ceph source packages
    19. baseurl=http://mirrors.aliyun.com/ceph/rpm-jewel/el7/SRPMS
    20. enabled=1
    21. gpgcheck=0
    22. type=rpm-md
    23. gpgkey=http://mirrors.aliyun.com/ceph/keys/release.asc
    24. priority=1

    删除之前指定的依赖库版本

    1. yum remove librados* python-rados* librbd* librados* librgw*

    数据和日志在同一个磁盘上

    1. 执行ceph-deploy osd create hadoop96:/dev/sdb,然后在hadoop96上查看如下图:

    osd日志被独立到另一个盘

    1. 执行ceph-deploy osd create hadoop96:/dev/sdc:/dev/sdd