RE: Forcing raid1 resync
flat view
From: Neil Brown <hidden>
Date: 2004-08-17 21:42:41
On Tuesday August 17, ARechenberg@sfg.com wrote:
Is there any way to make the kernel "less smart?" :) Maybe there should be a /proc entry to specify the number of simultaneous arrays to allow to sync at once. None of the arrays in this box share the same spindles (although there are 6 or 7 disks per SCSI channel; each SCSI card is on it's own PCI bus as to make sure each set of disks has the most available bus bandwidth).
Didn't I already reply to this??..
The kernel isn't being "smart".
The code in 2.4 always does reconstruction (i.e. rebuilding a failed
drive) one array at a time, simply because that is the way the code
works.
The code in 2.6 is more sensible and allows parallel reconstruction
provided there is no sharing of devices.
resync (after an unclean shutdown) happens in parallel (except where
device sharing exists) in both 2.4 and 2.6
NeilBrown