Re: [ceph-users] Failed to stop osd.

2013-06-14 Thread Da Chun
Finally managed to stop it by:
stop ceph-osd id=0



-- Original --
From:  "Da Chun";
Date:  Fri, Jun 14, 2013 05:00 PM
To:  "ceph-users"; 

Subject:  [ceph-users] Failed to stop osd.



On Ubuntu 13.04 with ceph 0.61.3 .
I'm trying to remove one of the osds according to this guide:
http://ceph.com/docs/master/rados/operations/add-or-rm-osds/#stopping-the-osd


First took it out from the cluster:
root@ceph-node4:~# ceph osd out osd.0
root@ceph-node4:~# ceph -w/// wait until the recovery finished.


Then stop the daemon:
root@ceph-node4:~# /etc/init.d/ceph stop osd.0
/etc/init.d/ceph: osd.0 not found (/etc/ceph/ceph.conf defines , /var/lib/ceph 
defines )



The directory tree /var/lib/ceph is as below:
root@ceph-node4:~# tree -L 2 /var/lib/ceph/
/var/lib/ceph/
├── bootstrap-mds
│   └── ceph.keyring
├── bootstrap-osd
│   └── ceph.keyring
├── mds
│   └── ceph-ceph-node4
├── mon
│   └── ceph-ceph-node4
├── osd
│   ├── ceph-0
│   └── ceph-3
└── tmp



It seems there are some mismatch of naming.___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


[ceph-users] Failed to stop osd.

2013-06-14 Thread Da Chun
On Ubuntu 13.04 with ceph 0.61.3 .
I'm trying to remove one of the osds according to this guide:
http://ceph.com/docs/master/rados/operations/add-or-rm-osds/#stopping-the-osd


First took it out from the cluster:
root@ceph-node4:~# ceph osd out osd.0
root@ceph-node4:~# ceph -w/// wait until the recovery finished.


Then stop the daemon:
root@ceph-node4:~# /etc/init.d/ceph stop osd.0
/etc/init.d/ceph: osd.0 not found (/etc/ceph/ceph.conf defines , /var/lib/ceph 
defines )



The directory tree /var/lib/ceph is as below:
root@ceph-node4:~# tree -L 2 /var/lib/ceph/
/var/lib/ceph/
├── bootstrap-mds
│   └── ceph.keyring
├── bootstrap-osd
│   └── ceph.keyring
├── mds
│   └── ceph-ceph-node4
├── mon
│   └── ceph-ceph-node4
├── osd
│   ├── ceph-0
│   └── ceph-3
└── tmp



It seems there are some mismatch of naming.___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com