On 1/30/19 2:00 PM, Fyodor Ustinov wrote:
> Hi!
>
> I thought I should first do "ceph osd out", wait for the end relocation of
> the misplaced objects and after that do "ceph osd purge".
> But after "purge" the cluster starts relocation again.
>
> Maybe I'm doing something wrong? Then what is the correct way to delete the
> OSD from the cluster?
>
You are not doing anything wrong, this is the expected behavior. There
are two CRUSH changes:
- Marking it out
- Purging it
You could do:
$ ceph osd crush remove osd.X
Wait for all good
$ ceph osd purge X
The last step should then not initiate any data movement.
Wido
> WBR,
> Fyodor.
> _______________________________________________
> ceph-users mailing list
> ceph-users@lists.ceph.com
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com