Re: Best way to stop an OSD form coming back online

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

 



Hi,


I would recommend marking the OSD as out in ceph cluster. It will move
the data out of it even if you don't stop the process itself and after
starting it will not be marked as it.

Now that you have run purge on the osd itself I would recommend
disabling the systemd unit from starting or removing it completely.


On Wed, Aug 28, 2019 at 3:53 AM Cory Hawkless <Cory@xxxxxxxxxxxxxx> wrote:
>
> I have an OSD that is throwing sense errors – It’s at it’s end of life and needs to be replaced.
>
> The server is in the datacentre and I won’t get there for a few weeks so I’ve stopped the service (systemctl stop ceph-osd@208) and let the cluster rebalance, all is well.
>
>
>
> My thinking is that if for some reason the host that OSD208 resides within was to reboot, that OSD would start and become part of the cluster again.
>
>
>
> So I’d like to prevent this OSD from ever starting again without physically being able to remove it from the server.
>
>
>
> I was thinking that deleting it’s key from the auth list might work. So a ceph osd purge 208
>
> Then when the service tries to start it’ll fail with an auth error.
>
>
>
> Any other suggestions?
>
>
>
> Cheers,
>
> Cory
>
> _______________________________________________
> ceph-users mailing list -- ceph-users@xxxxxxx
> To unsubscribe send an email to ceph-users-leave@xxxxxxx
_______________________________________________
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