ceph deploy

作者: admin 分类: openstack 发布时间: 2015-04-28 15:21 ė 6 没有评论

每个节点3个盘
节点名称node1 node2 node3
磁盘分区/dev/sda /dev/sdb /dev/sdc

列出磁盘ceph-deploy disk list node1 node2 node3

擦除磁盘:
ceph-deploy disk zap node1:sdc
ceph-deploy disk zap node2:sdc
ceph-deploy disk zap node3:sdc

准备OSD
ceph-deploy osd prepare node1:sdc:/dec/sdc
ceph-deploy osd prepare node2:sdc:/dec/sdc
ceph-deploy osd prepare node3:sdc:/dec/sdc

如果出现如下错误:
[node1][ERROR ] RuntimeError: command returned non-zero exit status: 1
[ceph_deploy][ERROR ] RuntimeError: Failed to execute command: ceph-disk -v activate –mark-init sysvinit –mount /dev/sdc1

修改fsid = XXXXX
在执行 ceph-deploy –overwrite-conf config push node1 node2 node3

本文出自 小Q,转载时请注明出处及相应链接。

本文永久链接: http://www.linuxqq.com/archives/1462.html

0
更多
Ɣ回顶部