Try passing --cluster csceph instead of the config file path and I suspect it 
will work.

sage

Gaylord Holder <ghol...@cs.drexel.edu> wrote:
>I'm trying to bring a ceph cluster not named ceph.
>
>I'm running version 0.61.
>
>From my reading of the documentation, the $cluster metavariable is set 
>by the basename of the configuration file: specifying the configuration
>
>file "/etc/ceph/mycluster.conf" sets the $cluster metavariable to 
>"mycluster"
>
>However, given a configuration file /etc/ceph/csceph.conf:
>
>   [global]
>        fsid = 70d421fe-28ca-4804-bce8-d51a16b531ec
>        mon host = 192.168.124.202
>        mon_initial_members = a
>
>   [mon.a]
>       host = monnode
>       mon addr = 192.168.124.202:6789
>
>and running:
>
>   ceph-authtool csceph.mon.keyring --create-keyring --name=mon. 
>--gen-key --cap mon 'allow *'
>
>   ceph-mon -c /etc/ceph/csceph.conf --mkfs -i a --keyring 
>csceph.mon.keyring
>
>ceph-mon tries to create monfs in
>
>   /var/lib/ceph/mon/ceph-a
>
>not
>
>   /var/lib/ceph/mon/csceph-a
>
>as expected.
>
>
>Thank you for any help you can give.
>
>Cheers,
>-Gaylord
>_______________________________________________
>ceph-users mailing list
>ceph-users@lists.ceph.com
>http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to