Re: [ceph-mds] mds service can not start after shutdown in 10.1.0

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

 



On Tue, Apr 12, 2016 at 2:14 AM, 施柏安 <desmond.s@xxxxxxxxxxxxxx> wrote:
Hi John,

You are right. The id is not  '0'. 
I checked the status of mds by command 'ceph mds dump'. There is not showing much info for MDS servers.
Is there any command can check the mds list or health easily?

The info you get in "mds dump" includes the service names, but it is for running daemons only.  Currently to know the ID of a non-running daemon you either have to remember it (easy if it's the hostname) or look in /var.

John


 
Thank for your help.

 
...
vagrant@mds-1:~$ sudo ls /var/lib/ceph/mds
ceph-mds-1
vagrant@mds-1:~$ sudo service ceph-mds start id=ceph-mds-1
ceph-mds stop/waiting
vagrant@mds-1:~$ sudo service ceph-mds start id=mds-1                                                                                                                                                        
ceph-mds (ceph/mds-1) start/running, process 6809
vagrant@mds-1:~$ 
vagrant@mds-1:~$ ls
vagrant@mds-1:~$ ps aux | grep mds
ceph      6809  0.0  1.7 338752  8792 ?        Ssl  01:11   0:00 /usr/bin/ceph-mds --cluster=ceph -i mds-1 -f --setuser ceph --setgroup ceph
vagrant   6830  0.0  0.1  10432   628 pts/0    S+   01:11   0:00 grep --color=auto mds
...

2016-04-11 19:12 GMT+08:00 John Spray <jspray@xxxxxxxxxx>:
Is the ID of the MDS service really "0"?  Usually people set the ID to the hostname.  Check it in /var/lib/ceph/mds

John

On Mon, Apr 11, 2016 at 9:44 AM, 施柏安 <desmond.s@xxxxxxxxxxxxxx> wrote:

Hi cephers,

I was testing CephFS's HA. So I shutdown the active mds server.
Then the one of standby mds turn to be active. Everything seems work properly.
But I boot the mds server which was shutdown in test. It can't join cluster automatically.
And I use command 'sudo service ceph-mds start id=0'. It can't start and just show 'ceph-mds stop/waiting'

Is that the bug or I do wrong operation?


--
Best regards, 

施柏安 Desmond Shih 
技術研發部 Technical Development 
迎棧科技股份有限公司
886-975-857-982
desmond.s@inwinstack
886-2-7738-2858 #7441
新北市220板橋區遠東路3號5樓C室
Rm.C, 5F., No.3, Yuandong Rd.,
Banqiao Dist., New Taipei City 220, Taiwan (R.O.C)

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





--
Best regards, 

施柏安 Desmond Shih 
技術研發部 Technical Development 
迎棧科技股份有限公司
886-975-857-982
desmond.s@inwinstack
886-2-7738-2858 #7441
新北市220板橋區遠東路3號5樓C室
Rm.C, 5F., No.3, Yuandong Rd.,
Banqiao Dist., New Taipei City 220, Taiwan (R.O.C)

_______________________________________________
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