Re: Raid stalls during --replace and other disk activity...

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

 



On 03/15/2014 12:28 AM, Scott D'Vileskis wrote:

> However, when I started a format of an unrelated partition on
> /dev/sda, the RAID 'recovery' disk-replacement completely stopped. I
> suspect the RAID rebuild mechanism is pausing because of the activity
> on /dev/sda.
> 
> I monkeyed with
> echo 90000 > speed_limit_min
> and now I get 10 second bursts of 20-100MB/sec every 30 seconds or so,
> so at least the jobs will finish in parallel..
> 
> I feel the RAID --replace option should only concern itself with the
> two disks involved not get caught up because of activity on another
> disk. Is this a bug?

This is deliberate, and in my opinion, desirable.  Same thing happens
when doing a check or any kind of rebuild on multiple arrays that use
partitions on shared underlying devices.  If you don't limit the raid
background activity, the extra seek load on the devices can severely cut
performance, especially on spinning rust.

Phil

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




[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux