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.han@xxxxxxxxxxxx]
Hi, * Edit `ceph.conf` and add a MDS section like so: [mds] mds data = ""> 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."
PHONE : +33 (0)1 49 70 99 72 – MOBILE
: +33 (0)6 52 84 44 70 EMAIL : sebastien.han@xxxxxxxxxxxx – SKYPE
: han.sbastien ADDRESS : 10,
rue de la Victoire – 75009 Paris WEB : www.enovance.com – TWITTER
: @enovance On Mar 15, 2013, at 8:52 AM, "Li, Chen" <chen.li@xxxxxxxxx> 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@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com