On Tue, Jul 1, 2014 at 2:09 AM, J. Roeleveld <[email protected]> wrote: > On Tuesday, July 01, 2014 06:52:10 AM Mick wrote: >> >> What triggers a relocation? I also have a drive which shows a sector >> relocation pending, but for a few days now and after some tests that showed >> no errors, it won't relocate it. > > I think a write to that sector should force a relocation. >
In theory either a write to that sector or a successful read should trigger a relocation. In practice, I've never seen a drive actually do this - maybe I just manage to pick drives with braindead firmware. When I write to a pending sector, the pending sector count goes down, but the relocated sector count doesn't change, and usually in a few days I have another pending sector. The last time I had a drive fail I was running md raid, so a scrub fixed all the pending sectors automatically, but the drive firmware wasn't doing its part to relocate them. Either that, or the drive had run out of spare sectors and wasn't reporting this via SMART. Rich

