Resync
From Linux Raid Wiki
Revision as of 20:08, 21 June 2006 by DavidGreaves (Talk | contribs)
Resync
When a device is hot-added to a raid array, the data on that device will not be synchronised with the other devices. The kernel begins to scan the original devices and writes the correct blocks to the new device. This process is known as resyncing.
Normally the kernel will throttle the resync activity (c.f. 'nice') to avoid impacting the raid device performance.
There are times when you may want to control how much I/O bandwidth is allocated to the resync and this is done by writing values to
/proc/sys/dev/raid/speed_limit_max /proc/sys/dev/raid/speed_limit_min
So to limit the maximum speed at which RAID reconstruction is performed to 5 Mb/s:
echo 5000 > /proc/sys/dev/raid/speed_limit_max
see also: IOSchedulers