Use the same pattern ….

systemctl restart ceph-{fsid}@osd.{id}.service

~Sean

> On May 18, 2020, at 7:16 AM, Ml Ml <mliebher...@googlemail.com> wrote:
> 
> Thanks,
> 
> The following seems to work for me on Debian 10 and 15.2.1:
> 
> systemctl restart ceph-5436dd5d-83d4-4dc8-a93b-60ab5db145df@mon.ceph01.service
> 
> How can i restart a single OSD?
> 
> Cheers,
> Michael
> 
> On Sun, May 17, 2020 at 5:10 PM Sean Johnson <s...@ttys0.net> wrote:
>> 
>> I have OSD’s on the brain … that line should have read:
>> 
>> systemctl restart ceph-{fsid}@mon.{host}.service
>> 
>> On May 17, 2020, at 10:08 AM, Sean Johnson <s...@ttys0.net> wrote:
>> 
>> In case that doesn’t work, there’s also a systemd service that contains the 
>> fsid of the cluster.
>> 
>> So, in the case of a mon service you can also run:
>> 
>> systemctl restart ceph-{fsid}@osd.{host}.service
>> 
>> Logs are correspondingly available via journalctl:
>> 
>> journalctl -u ceph-{fsid}@mon.{host}.service
>> 
>> 
>> ~Sean
>> 
>> On May 15, 2020, at 9:31 AM, Simon Sutter <ssut...@hosttech.ch> wrote:
>> 
>> Hello Michael,
>> 
>> 
>> I had the same problems. It's very unfamiliar, if you never worked with the 
>> cephadm tool.
>> 
>> The Way I'm doing it is to go into the cephadm container:
>> # cephadm shell
>> 
>> Here you can list all containers (for each service, one container) with the 
>> orchestration tool:
>> 
>> # ceph orch ps
>> 
>> and then restart it with the orchestration tool:
>> 
>> # ceph orch restart {name from ceph orch ps}
>> 
>> 
>> Hope it helps.
>> 
>> 
>> Ceers,
>> 
>> Simon
>> 
>> ________________________________
>> Von: Ml Ml <mliebher...@googlemail.com>
>> Gesendet: Freitag, 15. Mai 2020 12:27:09
>> An: ceph-users
>> Betreff: [ceph-users] how to restart daemons on 15.2 on Debian 10
>> 
>> Hello List,
>> 
>> how do you restart daemons (mgr, mon, osd) on 15.2.1?
>> 
>> It used to be something like:
>> systemctl stop ceph-osd@10
>> 
>> Or:
>> systemctl start ceph-mon@ceph03
>> 
>> however, those command do nothing on my setup.
>> 
>> Is this because i use cephadm and that docker stuff?
>> 
>> The Logs also seem to be missing.
>> /var/log/ceph/5436dd5d-83d4-4dc8-a93b-60ab5db145df is pretty empty.
>> 
>> I feel like i am missing a lot of documentation here? Can anyone point
>> me to my missing parts?
>> 
>> Thanks a lot.
>> 
>> Cheers,
>> Michael
>> _______________________________________________
>> ceph-users mailing list -- ceph-users@ceph.io
>> To unsubscribe send an email to ceph-users-le...@ceph.io
>> _______________________________________________
>> ceph-users mailing list -- ceph-users@ceph.io
>> To unsubscribe send an email to ceph-users-le...@ceph.io
>> 
>> 
>> 
>> _______________________________________________
>> ceph-users mailing list -- ceph-users@ceph.io
>> To unsubscribe send an email to ceph-users-le...@ceph.io

Attachment: signature.asc
Description: Message signed with OpenPGP

_______________________________________________
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io

Reply via email to