Re: Fwd: Disable Load balancing in ceph during repair

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

 



On Tue, 7 Feb 2017, Elita Lobo wrote:
> Hi,
> 
> Is there a way to disable load balancing in ceph (in multiple pg case)
> whenever an osd goes down?
> Or can we atleast add a delay before load balancing happens?
> 
> 
> I am trying to compute the no of erasures in each pg by using the
> command "ceph pg dump" before and after an osd goes down. The
> positions of some of the osds get changed due to load balancing.
> Hence I am unable to get the correct no of erasures due to load
> balancing happening.
> 
> Would be grateful if any of the ceph developers could help me figure
> out a way to find the no of erasures in each pg.

The simplest thing to do is simply

 ceph osd set noout

which will prevent the rebalancing indefinitely.  You can also adjust the 
'mon osd down out interval' setting on the mon (default 10m IIRC) to be 
something longer.

sage
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux