Correct, "crush weight" and normal "reweight" are indeed very different.
The original post mentions "rebuilding" servers, in this case the correct
way is to use "destroy" and then explicitly re-use the OSD afterwards.
purge is really only for OSDs that you don't get back (or broken disks that
you
As you have noted, 'ceph osd reweight 0' is the same as an 'ceph osd out', but
it is not the same as removing the OSD from the crush map (or setting crush
weight to 0). This explains your observation of the double rebalance when you
mark an OSD out (or reweight an OSD to 0), and then remove it l
"reweight 0" and "out" are the exact same thing
Paul
--
Paul Emmerich
Looking for help with your Ceph cluster? Contact us at https://croit.io
croit GmbH
Freseniusstr. 31h
81247 München
www.croit.io
Tel: +49 89 1896585 90
On Tue, Jun 2, 2020 at 9:30 AM Wido den Hollander wrote:
>
>
> On 6/
On 6/2/20 5:44 AM, Brent Kennedy wrote:
> We are rebuilding servers and before luminous our process was:
>
>
>
> 1. Reweight the OSD to 0
>
> 2. Wait for rebalance to complete
>
> 3. Out the osd
>
> 4. Crush remove osd
>
> 5. Auth del osd
>
> 6. Ceph