[PVE-User] ceph disk replace

proxmox at elchaka.de proxmox at elchaka.de
Sat Sep 8 00:11:46 CEST 2018


Hi all,

Am 4. September 2018 11:57:39 MESZ schrieb Gilberto Nunes <gilberto.nunes32 at gmail.com>:
>In the other hand, what if he use the command:
>
>ceph osd crush reweight osd.X 0
>

That is the way you should Go. But do this in gentle way so there shouldnt much impact for your Clients - gentle drain the crush weicht for osd in question to the value "0"

This way you only have One rebalance instead of two!

Hth
- Mehmet

>in order to "mark" that osd to not use?
>
>---
>Gilberto Nunes Ferreira
>
>(47) 3025-5907
>(47) 99676-7530 - Whatsapp / Telegram
>
>Skype: gilberto.nunes36
>
>
>
>
>2018-09-04 6:48 GMT-03:00 Mark Schouten <mark at tuxis.nl>:
>
>> On Tue, 2018-09-04 at 10:56 +0200, lists wrote:
>> > When again HEALTH_OK:
>> > - remove the OSD from pve gui
>> > but at this point ceph started rebalancing again, which to us was
>> > unexpected..?
>> >
>> > It is now rebalancing nicely, but can we prevent this data movement
>> > next
>> > time..? (and HOW?)
>>
>> I think you can't prevent it. Removing an OSD changes the CRUSH-map,
>> and thus rebalances. However, there is no nood to wait for it to
>finish
>> rebalancing again.
>>
>> You can add the new OSD directly after removing the old one.
>>
>> --
>> Kerio Operator in de Cloud? https://www.kerioindecloud.nl/
>> Mark Schouten  | Tuxis Internet Engineering
>> KvK: 61527076  | http://www.tuxis.nl/
>> T: 0318 200208 | info at tuxis.nl
>>
>>
>> _______________________________________________
>> pve-user mailing list
>> pve-user at pve.proxmox.com
>> https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user
>>
>_______________________________________________
>pve-user mailing list
>pve-user at pve.proxmox.com
>https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user



More information about the pve-user mailing list