Re: [ceph-users] can't stop ceph

2015-11-17 Thread Ken Dreyer
The version of the documentation you were browsing was for "argonaut",
which is very old, and predates Upstart integration. Here's the
version of the docs for firefly (0.80.z), the version that you're
using on Ubuntu:

http://docs.ceph.com/docs/firefly/rados/operations/operating/

This version has the command you're looking for regarding stopping all OSDs:

  sudo stop ceph-osd-all

- Ken


On Mon, Nov 16, 2015 at 6:41 PM, Yonghua Peng  wrote:
> Thanks a lot. that works.
> Do you know how to stop all ceph-osd daemons via one command?
>
>
>
> On 2015/11/17 星期二 9:35, wd_hw...@wistron.com wrote:
>>
>> Hi,
>> You may try the following command
>> 'sudo stop ceph-mon id=ceph2'
>>
>> WD
>>
>> -Original Message-
>> From: ceph-users [mailto:ceph-users-boun...@lists.ceph.com] On Behalf Of
>> Yonghua Peng
>> Sent: Tuesday, November 17, 2015 9:34 AM
>> To: ceph-users@lists.ceph.com
>> Subject: [ceph-users] can't stop ceph
>>
>> Hello,
>>
>> My system is ubuntu 12.04, ceph 0.80.10 installed.
>> I followed the document here,
>> http://docs.ceph.com/docs/argonaut/init/
>>
>> But couldn't stop a mon daemon successfully.
>>
>> root@ceph2:~# ps -efw|grep ceph-
>> root  2763 1  0 Oct28 ?00:05:11 /usr/bin/ceph-mon
>> --cluster=ceph -i ceph2 -f
>> root  4299 1  0 Oct28 ?00:21:49 /usr/bin/ceph-osd
>> --cluster=ceph -i 0 -f
>> root  4703 1  0 Oct28 ?00:21:44 /usr/bin/ceph-osd
>> --cluster=ceph -i 1 -f
>> root 12353 1  0 Oct29 ?00:21:08 /usr/bin/ceph-osd
>> --cluster=ceph -i 2 -f
>> root 19143 17226  0 09:29 pts/400:00:00 grep --color=auto ceph-
>> root@ceph2:~#
>> root@ceph2:~# service ceph -v stop mon
>> root@ceph2:~# echo $?
>> 0
>> root@ceph2:~# ps -efw|grep ceph-
>> root  2763 1  0 Oct28 ?00:05:11 /usr/bin/ceph-mon
>> --cluster=ceph -i ceph2 -f
>> root  4299 1  0 Oct28 ?00:21:49 /usr/bin/ceph-osd
>> --cluster=ceph -i 0 -f
>> root  4703 1  0 Oct28 ?00:21:44 /usr/bin/ceph-osd
>> --cluster=ceph -i 1 -f
>> root 12353 1  0 Oct29 ?00:21:08 /usr/bin/ceph-osd
>> --cluster=ceph -i 2 -f
>> root 19184 17226  0 09:29 pts/400:00:00 grep --color=auto ceph-
>>
>>
>> Can you help? thanks.
>> ___
>> ceph-users mailing list
>> ceph-users@lists.ceph.com
>> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>>
>>
>> ---
>> This email contains confidential or legally privileged information and is
>> for the sole use of its intended recipient.
>> Any unauthorized review, use, copying or distribution of this email or the
>> content of this email is strictly prohibited.
>> If you are not the intended recipient, you may reply to the sender and
>> should delete this e-mail immediately.
>>
>> ---
>>
> ___
> ceph-users mailing list
> ceph-users@lists.ceph.com
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


Re: [ceph-users] can't stop ceph

2015-11-16 Thread Yonghua Peng

Thanks a lot. that works.
Do you know how to stop all ceph-osd daemons via one command?


On 2015/11/17 星期二 9:35, wd_hw...@wistron.com wrote:

Hi,
You may try the following command
'sudo stop ceph-mon id=ceph2'

WD

-Original Message-
From: ceph-users [mailto:ceph-users-boun...@lists.ceph.com] On Behalf Of 
Yonghua Peng
Sent: Tuesday, November 17, 2015 9:34 AM
To: ceph-users@lists.ceph.com
Subject: [ceph-users] can't stop ceph

Hello,

My system is ubuntu 12.04, ceph 0.80.10 installed.
I followed the document here,
http://docs.ceph.com/docs/argonaut/init/

But couldn't stop a mon daemon successfully.

root@ceph2:~# ps -efw|grep ceph-
root  2763 1  0 Oct28 ?00:05:11 /usr/bin/ceph-mon
--cluster=ceph -i ceph2 -f
root  4299 1  0 Oct28 ?00:21:49 /usr/bin/ceph-osd
--cluster=ceph -i 0 -f
root  4703 1  0 Oct28 ?00:21:44 /usr/bin/ceph-osd
--cluster=ceph -i 1 -f
root 12353 1  0 Oct29 ?00:21:08 /usr/bin/ceph-osd
--cluster=ceph -i 2 -f
root 19143 17226  0 09:29 pts/400:00:00 grep --color=auto ceph-
root@ceph2:~#
root@ceph2:~# service ceph -v stop mon
root@ceph2:~# echo $?
0
root@ceph2:~# ps -efw|grep ceph-
root  2763 1  0 Oct28 ?00:05:11 /usr/bin/ceph-mon
--cluster=ceph -i ceph2 -f
root  4299 1  0 Oct28 ?00:21:49 /usr/bin/ceph-osd
--cluster=ceph -i 0 -f
root  4703 1  0 Oct28 ?00:21:44 /usr/bin/ceph-osd
--cluster=ceph -i 1 -f
root 12353 1  0 Oct29 ?00:21:08 /usr/bin/ceph-osd
--cluster=ceph -i 2 -f
root 19184 17226  0 09:29 pts/400:00:00 grep --color=auto ceph-


Can you help? thanks.
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

---
This email contains confidential or legally privileged information and is for 
the sole use of its intended recipient.
Any unauthorized review, use, copying or distribution of this email or the 
content of this email is strictly prohibited.
If you are not the intended recipient, you may reply to the sender and should 
delete this e-mail immediately.
---


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


Re: [ceph-users] can't stop ceph

2015-11-16 Thread WD_Hwang
Hi,
You may try the following command
'sudo stop ceph-mon id=ceph2'

WD

-Original Message-
From: ceph-users [mailto:ceph-users-boun...@lists.ceph.com] On Behalf Of 
Yonghua Peng
Sent: Tuesday, November 17, 2015 9:34 AM
To: ceph-users@lists.ceph.com
Subject: [ceph-users] can't stop ceph

Hello,

My system is ubuntu 12.04, ceph 0.80.10 installed.
I followed the document here,
http://docs.ceph.com/docs/argonaut/init/

But couldn't stop a mon daemon successfully.

root@ceph2:~# ps -efw|grep ceph-
root  2763 1  0 Oct28 ?00:05:11 /usr/bin/ceph-mon 
--cluster=ceph -i ceph2 -f
root  4299 1  0 Oct28 ?00:21:49 /usr/bin/ceph-osd 
--cluster=ceph -i 0 -f
root  4703 1  0 Oct28 ?00:21:44 /usr/bin/ceph-osd 
--cluster=ceph -i 1 -f
root 12353 1  0 Oct29 ?00:21:08 /usr/bin/ceph-osd 
--cluster=ceph -i 2 -f
root 19143 17226  0 09:29 pts/400:00:00 grep --color=auto ceph-
root@ceph2:~#
root@ceph2:~# service ceph -v stop mon
root@ceph2:~# echo $?
0
root@ceph2:~# ps -efw|grep ceph-
root  2763 1  0 Oct28 ?00:05:11 /usr/bin/ceph-mon 
--cluster=ceph -i ceph2 -f
root  4299 1  0 Oct28 ?00:21:49 /usr/bin/ceph-osd 
--cluster=ceph -i 0 -f
root  4703 1  0 Oct28 ?00:21:44 /usr/bin/ceph-osd 
--cluster=ceph -i 1 -f
root 12353 1  0 Oct29 ?00:21:08 /usr/bin/ceph-osd 
--cluster=ceph -i 2 -f
root 19184 17226  0 09:29 pts/400:00:00 grep --color=auto ceph-


Can you help? thanks.
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

---
This email contains confidential or legally privileged information and is for 
the sole use of its intended recipient. 
Any unauthorized review, use, copying or distribution of this email or the 
content of this email is strictly prohibited.
If you are not the intended recipient, you may reply to the sender and should 
delete this e-mail immediately.
---
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


[ceph-users] can't stop ceph

2015-11-16 Thread Yonghua Peng

Hello,

My system is ubuntu 12.04, ceph 0.80.10 installed.
I followed the document here,
http://docs.ceph.com/docs/argonaut/init/

But couldn't stop a mon daemon successfully.

root@ceph2:~# ps -efw|grep ceph-
root  2763 1  0 Oct28 ?00:05:11 /usr/bin/ceph-mon 
--cluster=ceph -i ceph2 -f
root  4299 1  0 Oct28 ?00:21:49 /usr/bin/ceph-osd 
--cluster=ceph -i 0 -f
root  4703 1  0 Oct28 ?00:21:44 /usr/bin/ceph-osd 
--cluster=ceph -i 1 -f
root 12353 1  0 Oct29 ?00:21:08 /usr/bin/ceph-osd 
--cluster=ceph -i 2 -f

root 19143 17226  0 09:29 pts/400:00:00 grep --color=auto ceph-
root@ceph2:~#
root@ceph2:~# service ceph -v stop mon
root@ceph2:~# echo $?
0
root@ceph2:~# ps -efw|grep ceph-
root  2763 1  0 Oct28 ?00:05:11 /usr/bin/ceph-mon 
--cluster=ceph -i ceph2 -f
root  4299 1  0 Oct28 ?00:21:49 /usr/bin/ceph-osd 
--cluster=ceph -i 0 -f
root  4703 1  0 Oct28 ?00:21:44 /usr/bin/ceph-osd 
--cluster=ceph -i 1 -f
root 12353 1  0 Oct29 ?00:21:08 /usr/bin/ceph-osd 
--cluster=ceph -i 2 -f

root 19184 17226  0 09:29 pts/400:00:00 grep --color=auto ceph-


Can you help? thanks.
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com