Computer Nerd Kev <n…@telling.you.invalid> wrote:
> b…@www.zefox.net wrote:
>> Evidently, I was mistaken 8-) , thinking there'd be something
>> like "spare sectors exhausted" or some other explicit message
>> that the disk was EOL.
>>
>> Somewhat curiously, both diskscan and dd if=/dev/da1 of=/dev/null
>> seemed to indicate no explicit errors. Diskroaster, a FreeBSD port,
>> reported five errors.
>
> A bit late, but for a more conclusive go/no-go answer from SMART
> I'd run a self-test and check whether it fails:
>
> smartctl -t long /dev/da
>
> It'll say when it expects to finish, after which time you can check
> the result with (ignoring the old self-test logs with earlier
> lifetime hours):
>
> smartctl -l selftest /dev/da
>
> Or I suggest running that every so often before the extimated
> completion time to check if it's failed early with errors (note
> that it might not show the new test in the log until it's
> completed/failed). From the looks of things, I'd expect that
> drive to fail with an error fairly quickly.
>
In the end I could not get a clear failure indication from either
diskscan or SMART self-testing. Eventually it developed that the
filesystem wouldn't stay clean, even after running fsck -fy.
I tried diskroaster, a destructive test in the FreeBSD ports
collection. It clearly reported four bad sectors. I imagine
that suggests the problem is with writing the disk, not reading
it.
Is there a way to get the disk to do a destructive self-test
that reassigns the unwritable blocks, analgous to an old-fashioned
low-level format? I'd not want to use the disk for anything
important but it would be an interesting experiment if it can
be done. I vaguely recall that low-level formatting can't, or
at least shouldn't, be done outside the factory on an LBA
device, but there's nothing much to lose at this point.
Thanks for writing!
bob prohaska