我使用的luminous版本12.2.11
ceph version 12.2.11 (26dc3775efc7bb286a1d6d66faee0ba30ea23eee) luminous (stable)
osd_objectstore 值默认是 filestore,修改成bluestore的步骤如下(mimic 版本后默认使用bluestore做后端存储):
0. 查看osd节点的osd_objectstore值:
ceph -n osd.0 --show-config |grep objectstore
1. 停掉所有osd的sudo systemctl stop ceph-osd@*
2. 停掉monitor的sudo systemctl stop ceph-mon@node1
3. 修改admin-node的ceph-conf文件:
[osd]
osd_objectstore = bluestore
4. 拷贝admin-node的ceph-conf文件到所有ceph集群节点
5. 启动monitor的sudo systemctl stop ceph-mon@node1
6. 启动所有osd的sudo systemctl stop ceph-osd@0/1/etc.
7.查看osd节点的osd_objectstore值:
ceph -n osd.0 --show-config |grep objectstore