Hello!
For me it works with something like systemctl stop ceph-osd@3 If you have autocompletion installed you should also be able to tab-complete after "systemctl stop" to list available services and for me it shows the mon and mds service too besides all other system services.
Hope this helps.
Best regards
Stefan
Från: ceph-users [ceph-users-bounces@xxxxxxxxxxxxxx] för 朱 彤 [besthopeall@xxxxxxxxxxx]
Skickat: den 26 juli 2016 06:04 Till: ceph-users@xxxxxxxxxxxxxx Ämne: [ceph-users] How to remove OSD in JEWEL on Centos7 Hi all,
The first step is to mark an OSD down, in Hammer one can achieve this in this way:
ceph osd out osd.3
/etc/init.d/ceph stop osd.3
However, in Jewel, package like ceph-10.2.2-0.el7.x86_64 no longer offers /etc/init.d/ceph, thus making it "unable to stop an OSD".
I noticed the package of ceph-10.2.2-0.el7.x86_64.rpm
is only 3176 bytes on official site: http://download.ceph.com/rpm-jewel/el7/x86_64/
Compared to Hammer ceph-0.94-0.el7.centos.x86_64.rpm 17156672 bytes.
I also noticed in the official JEWEL release notes, systemd is used instead. I also tried systemctl ceph stop osd.3 or systemctl stop osd.3:
# systemctl ceph stop osd.3
Unknown operation 'ceph'.
# systemctl stop osd.3
Failed to stop osd.3.service: Unit osd.3.service not loaded.
So my question is how to remove OSD in JEWEL? To be more specific, how to mark an OSD down?
Thanks.
|
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com