On Tue, Jul 11, 2017 at 4:45 PM, Carlos E. R. <robin.listas@telefonica.net> wrote:
On 2017-07-11 22:35, Dave Howorth wrote:
On Tue, 11 Jul 2017 22:18:03 +0200 "Carlos E. R." <> wrote:
For those who don't know, a desktop drive is "within spec" if it returns one soft read error per 10GB read. In other words, read a 6TB drive end-to-end twice, and the manufacturer says "if you get a read error, that's normal". But it will cause an array to fail if you haven't set it up properly ...
What would one do to set them up properly? :-?
You need to set up the timeouts in Linux to be longer than the ones imposed by the firmware on the drive. I'm sorry but I don't remember whether it's a kernel thing or a mdadm thing. I expect the linux raid wiki knows.
Wow :-(
That can be minutes.
That's actually a big difference between "set-up properly" or not. A drive used in a raid-1/5/6 should be set to fail fast instead of retry for a minute or two. Drives designed for use in a raid array will come from the factory that way. If you're using a desktop drive you really need to try and set the retry time down low. Then, in addition you should be running a scrub routinely. That will do a read of all the sectors on the physical media looking for bad sectors. If it finds any, it recreates the data from the other drives and rewrites the sector. Hopefully that fixes it. Greg -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org