On Oct 28, 2012, at 6:12 PM, joystick <joystick@xxxxxxxxxxxxx> wrote: > On 10/28/12 23:10, Phil Turmel wrote: >> The drives I've suffered with on this have ignored the link reset and >> were still unresponsive when MD tried to rewrite the sector(s) involved >> (from the other drives in the array). > > Very interesting > > I would like to see this behaviour to make some experiments. > I would like to simulate an unreadable sector... > I see --make-bad-sector in hdparm, does that simulate an unreadable sector faithfully? In this (simulated) case, it knows the answer: bad sector. In a real scenario it doesn't know. So with hdparm's bad sector you're probably going to get an immediate read failure. And hence no hang. Chris Murphy -- 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