Re: Non-Ceph cluster name

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 24 Oct 2013, Gaylord Holder wrote:
> Works perfectly.
> 
> My only grip is --cluster isn't listed as a valid argument from
> 
>   ceph-mon --help

Ah, it is there for current versions, but not cuttlefish or dumpling.  
It'll be in the next point release (for each).

sage

> 
> and the only reference searching for --cluster in the ceph documentation is in
> regards to ceph-rest-api.
> 
> Shall I file a bug to correct the documentation?
> 
> Thanks again for the quick and accurate response.
> 
> -Gaylord
> 
> On 10/24/2013 08:11 AM, Sage Weil wrote:
> > Try passing --cluster csceph instead of the config file path and I
> > suspect it will work.
> > 
> > sage
> > 
> > 
> > 
> > Gaylord Holder <gholder@xxxxxxxxxxxxx> 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  <http://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@xxxxxxxxxxxxxx
> >     http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
> > 
> _______________________________________________
> ceph-users mailing list
> ceph-users@xxxxxxxxxxxxxx
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
> 
> 
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com




[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux