ceph auth get-or-create client.admin mon ‘allow *’ mds ‘allow *’ osd ‘allow *’ –o /etc/ceph/ceph.client.admin.keyring 或者 ceph-create-keys --id node1 ceph-create-keys --id node2 ceph-create-keys --id node3 报错2: [ceph_deploy.mon][ERROR]Some monitors have still not r...
$ ceph-deploy osd create --data /dev/sdb rtvm 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 检查ceph状态 $ sudo ceph -s #输出如图 #有个HEALTH_WARN # OSD count 1 < osd_pool_default_size 3 #因为我只有1个OSD,但是默认副本数是3,所以报错 #有3个以上OSD的...
[ubuntu@burnupi05 ceph-deploy]$ ./ceph-deploy osd create burnupi05:sdb burnupi21:sdc --zap-disk ceph-disk-prepare --zap-disk -- /dev/sdb returned 1 *** Caution: Found protective or hybrid MBR and corrupt GPT. Using GPT, but disk verification and recovery are STRONGLY recommended....
解决办法:在各个节点上执行sudo pkill ceph,然后再在deploy节点执行ceph-deploy mon create-initial 然后发现ERROR报错消失了,配置初始monitor(s)、并收集到了所有密钥,当前目录下可以看到下面这些密钥环 ceph.bootstrap-mds.keyring ceph.bootstrap-mgr.keyring ceph.bootstrap-osd.keyring ceph.bootstrap-rgw.keyrin...
$ ceph-deploy mgr create ceph-node1 [ceph-node1][INFO ] Running command: sudo ceph --cluster ceph --name client.bootstrap-mgr --keyring /var/lib/ceph/bootstrap-mgr/ceph.keyring auth get-or-create mgr.ceph-node1 mon allow profile mgr osd allow * mds allow * -o /var/lib/ceph/mg...
(most recent call last): File "/bin/ceph-deploy...public network = 10.20.10.0/23 osd pool default size = 3 8、ceph-deploy在各节点安装 Ceph ceph-deploy install...12、用 osd create 命令一次完成准备 OSD 、部署到 OSD 节点、并激活它 ceph-deploy osd create --data /dev/sdb node1 ceph-...
然后发现可以启动mon服务;创建osd的时候也是如此; ps:如果配置了网络yum源,yum update将系统升级之后就不会出现这个问题,表明这个问题应该是和linux的版本有关系(确切的说是和systemd有关系)。 以上是“ceph-deploy安装I版本时Faild to create 1 monitor出错怎么办”这篇文章的所有内容,感谢各位的阅读!希望分享的内容...
[ceph-admin@ceph-node1 cluster]$ ceph-deploy mon create-initial 5、添加OSD 如果是里边有数据的磁盘,还需先清除数据:(详细可查看 ceph-depoy disk zap --help) 列出所有节点上所有可用的磁盘 [ceph-admin@ceph-node1 cluster]$ ceph-deploy disk list ceph-node1 ceph-node2 ceph-node3 清除数据 sudo...
[root@ceph01 ~]# ceph-deploy mon create-initial [ceph_deploy.conf][DEBUG ] found configuration file at: /root/.cephdeploy.conf [ceph_deploy.cli][INFO ] Invoked (1.5.39): /usr/bin/ceph-deploy mon create-initial [ceph_deploy.cli][...