ceph启动失败:must specify '--mon-data=foo' data path

Yashin 发布于 2014/04/08 16:43
阅读 536
收藏 0

如题,ceph version 0.72.2 配置完毕 

执行初始化: mkcephfs -a -c /etc/ceph/ceph.conf -k /etc/ceph/ceph.keyrin   成功。

执行:service ceph start 出错:

root@mon:/var/lib/ceph# service ceph start
=== mon.a ===
Starting Ceph mon.a on mon...
must specify '--mon-data=foo' data path
usage: ceph-mon -i monid [--mon-data=pathtodata] [flags]
  --debug_mon n
        debug monitor level (e.g. 10)
  --mkfs
        build fresh monitor fs
--conf/-c        Read configuration from the given configuration file
-d               Run in foreground, log to stderr.
-f               Run in foreground, log to usual location.
--id/-i          set ID portion of my name
--name/-n        set name (TYPE.ID)
--version        show version and quit


   --debug_ms N
        set message debug level (e.g. 1)
failed: ' /usr/bin/ceph-mon -i a -c /etc/ceph/ceph.conf '



求高人指点,不胜感激 

加载中
0
红薯
红薯

监控节点要先起来吧?

0
Yashin
Yashin

解决了,原因是 ceph.conf 配置文件要指定 :  [mon] mon data=/date/$name  (要新建目录哦)

OSCHINA
登录后可查看更多优质内容
返回顶部
顶部