Linux RAID subsystem development
 help / color / mirror / Atom feed
* How to set speed_limit_max for mdrecoveryd?
@ 2002-09-24 14:01 Cress, Andrew R
  2002-09-24 14:40 ` Stephen Lee
  2002-09-24 22:49 ` Neil Brown
  0 siblings, 2 replies; 3+ messages in thread
From: Cress, Andrew R @ 2002-09-24 14:01 UTC (permalink / raw)
  To: 'Neil Brown'; +Cc: linux-raid


I couldn't find this is a quick scan of the code, and thought it should be
documented somewhere.  Maybe I just have a blind spot.  Can someone tell me
how to set the speed_limit_max variable for mdrecoveryd?  

Andy Cress


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How to set speed_limit_max for mdrecoveryd?
  2002-09-24 14:01 How to set speed_limit_max for mdrecoveryd? Cress, Andrew R
@ 2002-09-24 14:40 ` Stephen Lee
  2002-09-24 22:49 ` Neil Brown
  1 sibling, 0 replies; 3+ messages in thread
From: Stephen Lee @ 2002-09-24 14:40 UTC (permalink / raw)
  To: Cress, Andrew R; +Cc: Raid

On Tue, 2002-09-24 at 07:01, Cress, Andrew R wrote:
> 
> I couldn't find this is a quick scan of the code, and thought it should be
> documented somewhere.  Maybe I just have a blind spot.  Can someone tell me
> how to set the speed_limit_max variable for mdrecoveryd?  
> 

Try this:

echo some_value > /proc/sys/dev/raid/speed_limit_max

or what ever value you wish.

Stephen



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How to set speed_limit_max for mdrecoveryd?
  2002-09-24 14:01 How to set speed_limit_max for mdrecoveryd? Cress, Andrew R
  2002-09-24 14:40 ` Stephen Lee
@ 2002-09-24 22:49 ` Neil Brown
  1 sibling, 0 replies; 3+ messages in thread
From: Neil Brown @ 2002-09-24 22:49 UTC (permalink / raw)
  To: Cress, Andrew R; +Cc: linux-raid

On Tuesday September 24, andrew.r.cress@intel.com wrote:
> 
> I couldn't find this is a quick scan of the code, and thought it should be
> documented somewhere.  Maybe I just have a blind spot.  Can someone tell me
> how to set the speed_limit_max variable for mdrecoveryd?  
> 
> Andy Cress

Get and install mdadm, and
   man 4 md

It says in the Files section:


       /proc/sys/dev/raid/speed_limit_max
              A readable and writable file that reflects the cur-
              rent goal rebuild speed  for  times  when  no  non-
              rebuild  activity  is  current  on  an  array.  The
              default is 100,000.


so
  echo 1000000 >  /proc/sys/dev/raid/speed_limit_max

Does that answer your question?

NeilBrown

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-09-24 22:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-24 14:01 How to set speed_limit_max for mdrecoveryd? Cress, Andrew R
2002-09-24 14:40 ` Stephen Lee
2002-09-24 22:49 ` Neil Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox