Re: SMART detects pending sectors; take offline?

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

 



On 12/19/2017 05:35 AM, Alexander Shenkin wrote:

> Ok, so, it's now my understanding that I would normally be ok, having
> set the driver timeout to 180 secs (thus giving time for the seagate
> drive to report the read error back up to the MD layer before 180 secs
> is up).  In my case, however, the kernel hangcheck timer is interrupting
> the process (md?) that is waiting on the sector read at 120 secs.
> Therefore, the writeback doesn't happen.

Yes.  I think this behavior is a bug, and you need to work around it.

> Thus, I should set the hangcheck to something > 120 (say, 180 secs -
> should it be >180 to let the driver timeout first?).  Does this sound
> correct?  Apologies if I'm repeating info from before - just trying to
> be sure about what I'm doing before I go ahead and do it.
> 
> If that's correct, I'll add the following line in /etc/sysctl.conf:
> 
> kernel.hung_task_timeout_secs = 180

Yes.  For your kernel.

> I'll make sure the setting has taken, and then I'll run:
> 
> sudo /usr/share/mdadm/checkarray --idle --all

Makes sense.  Please report your results for posterity when the scrub is
done.

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