Re: Generation of systemd units after nuking /etc/systemd/system

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

 



No. But these daemon are almost stateless, you should be able to delete everything then re-deploy them easily with whatever means you do it the first time. Or maybe just take this chance and try re-deploy them with cephadm?

在 2022年6月10日,16:23,Flemming Frandsen <dren.dk@xxxxxxxxx> 写道:

Hmm, does that also create the mon, mgr and mds units?

On Fri, 10 Jun 2022 at 09:06, 胡 玮文 <huww98@xxxxxxxxxxx<mailto:huww98@xxxxxxxxxxx>> wrote:
I think “ceph-volume lvm activate —all” should do it.

Weiwen Hu

> 在 2022年6月10日,14:34,Flemming Frandsen <dren.dk@xxxxxxxxx<mailto:dren.dk@xxxxxxxxx>> 写道:
>
> Hi, this is somewhat embarrassing, but one of my colleagues fat fingered an
> ansible rule and managed to wipe out /etc/systemd/system on all of our ceph
> hosts.
>
> The cluster is running nautilus on ubuntu 18.04, deployed with
> ceph-ansible, one of our near-future tasks is to upgrade to the latest ceph
> and cephadm, so I'm not looking forward to redoing the entire cluster using
> ceph-ansible.
>
> Normally I'd put on the workboots and start re-installing a broken host
> from scratch, but I hope there's a faster way.
>
> Is there any way to generate the ceph-owned contents of /etc/systemd/system
> ?
>
> --
> Flemming Frandsen - YAPH - http://osaa.dk - http://dren.dk/
> _______________________________________________
> ceph-users mailing list -- ceph-users@xxxxxxx<mailto:ceph-users@xxxxxxx>
> To unsubscribe send an email to ceph-users-leave@xxxxxxx<mailto:ceph-users-leave@xxxxxxx>


--
Flemming Frandsen - YAPH - http://osaa.dk - http://dren.dk/
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx




[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