Re: [PATCH] Add udev-md-raid-safe-timeouts.rules

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

 



On 01/26/2018 06:54 PM, Jonathan G. Underwood wrote:
> From: Jonathan Underwood <jonathan.underwood@xxxxxxxxx>
> 
> These udev rules attempt to set a safe kernel controller
> timeout for disks containing RAID level 1 or higher
> partitions for commodity disks which do not have SCTERC
> capability, or do have it but it is disabled.
> 
> No attempt is made to change the STCERC settings on devices
> which support it.
> 
> This attempts to mitigate the problem described here:
> 
>     https://raid.wiki.kernel.org/index.php/Timeout_Mismatch
>     http://strugglers.net/~andy/blog/2015/11/09/linux-software-raid-and-drive-timeouts/
> 
> where the kernel controller may timeout on a read from a
> disk after the default timeout of 30 seconds and consequently
> cause mdraid to regard the disk as dead and eject it from the
> RAID array.
> 
> The mitigation is to set the timeout to 180 seconds for disks
> which contain a RAID level 1 or higher partition.
> 
> Signed-off-by: Jonathan G. Underwood <jonathan.underwood@xxxxxxxxx>
> ---
>  udev-md-raid-safe-timeouts.rules | 61 ++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 61 insertions(+)
>  create mode 100644 udev-md-raid-safe-timeouts.rules

Applied!

Thanks,
Jes


--
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