Hi Greg,
I haven’t setup anything in ceph.conf as mds.cephmon002 nor in any ceph folders. I have always tried to set it up as mds.lab-cephmon002, so I am wondering where is it getting that value from?
—Jiten On Fri, Nov 21, 2014 at 3:21 PM, JIten Shah < jshah2005@xxxxxx> wrote: I am trying to setup 3 MDS servers (one on each MON) but after I am done setting up the first one, it give me below error when I try to start it on the other ones. I understand that only 1 MDS is functional at a time, but I thought you can have multiple of them up, incase the first one dies? Or is that not true?
[jshah@Lab-cephmon002 mds.Lab-cephmon002]$ sudo service ceph start mds.Lab-cephmon002 /etc/init.d/ceph: mds.Lab-cephmon002 not found (/etc/ceph/ceph.conf defines mon.Lab-cephmon002 mds.cephmon002 , /var/lib/ceph defines mon.Lab-cephmon002 mds.cephmon002)
[jshah@Lab-cephmon002 mds.Lab-cephmon002]$ ls -l /var/lib/ceph/mds/mds.Lab-cephmon002/ total 0 -rwxr-xr-x 1 root root 0 Nov 14 18:42 done -rwxr-xr-x 1 root root 0 Nov 14 18:42 sysvinit
[jshah@Lab-cephmon002 mds.Lab-cephmon002]$ grep cephmon002 /etc/ceph/ceph.conf mon_initial_members = Lab-cephmon001, Lab-cephmon002, Lab-cephmon003 mds_data = /var/lib/ceph/mds/mds.Lab-cephmon002 keyring = /var/lib/ceph/mds/mds.Lab-cephmon002/keyring
As the error says, you are trying to start up something called "mds.Lab-cephmon002", but the ceph.conf and ceph folder hierarchy only defines a "mds.cephmon002". -Greg
|
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com