I need to create the directory "/var/lib/ceph/mds/mds.$id "by hand, right ?

I start the service as you said, and it is succeed.
But, no "mds.$id" directory exist.
Will this affect it working?

And, what will be installed in the directory?
FS's metadata will be installed in OSDs, right?

Thanks.
-chen

From: Sebastien Han [mailto:sebastien....@enovance.com]
Sent: Friday, March 15, 2013 4:49 PM
To: Li, Chen
Cc: ceph-users@lists.ceph.com
Subject: Re: [ceph-users] how to enable MDS service in a running Ceph cluster

Hi,

* Edit `ceph.conf` and add a MDS section like so:

  [mds]
  mds data = /var/lib/ceph/mds/mds.$id
  keyring = /var/lib/ceph/mds/mds.$id/mdsi.$id.keyring

  [mds.0]
    host = {hostname}

* Create the authentication key (if you use cephx):

 $ sudo ceph auth get-or-create mds.0 mds 'allow rwx' mds 'allow *' osd 'allow 
*' > /var/lib/ceph/mds/mds.0/mds.0.keyring

* Eventually start the service

 $ sudo service ceph start mds.0
 === mds.0 ===
 Starting Ceph mds.0 on ceph...
 starting mds.0 at :/0

Cheers.
----
Sébastien Han
Cloud Engineer

"Always give 100%. Unless you're giving blood."



[cid:image001.png@01CE219E.E956C3D0]




PHONE : +33 (0)1 49 70 99 72 - MOBILE : +33 (0)6 52 84 44 70
EMAIL : sebastien....@enovance.com<mailto:sebastien....@enovance.com> - SKYPE : 
han.sbastien
ADDRESS : 10, rue de la Victoire - 75009 Paris
WEB : www.enovance.com<http://www.enovance.com/> - TWITTER : @enovance

On Mar 15, 2013, at 8:52 AM, "Li, Chen" 
<chen...@intel.com<mailto:chen...@intel.com>> wrote:


Hi list,

I'm a new user of Ceph.
I have built a set up  to try using RBDs, and it works brilliant.

I haven't enable MDS service, because I think I do not need it at that time.
But now, I want to try Ceph FS on the same cluster.

The question here is:  I already have some data stored in RBDs.
Is there a way to enable MDS in the running Ceph cluster?

Thanks.
-chen

_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com<mailto:ceph-users@lists.ceph.com>
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

<<inline: image001.png>>

_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to