16 March 2013

How to: Speed up RAID1 resync


Just echo large numbers into both min and max resync speed proc entries:

/proc/sys/dev/raid/speed_limit_max
and
/proc/sys/dev/raid/speed_limit_min

E.g. login as root and do:

 echo 200000 > /proc/sys/dev/raid/speed_limit_max
 echo 200000 > /proc/sys/dev/raid/speed_limit_min

And watch the speed fly up till it maxes out your hardware!

The above will set both speeds to 200MiB/s which ought to be more than your device can do...