ZFS and DMA read error

Mark Stapper stark at mapper.nl
Mon Sep 7 10:41:08 UTC 2009


Daniel Eriksson wrote:
> Mark Stapper wrote:
>
>   
>> Yeah, i did the long SMART selftest three times now, each of which it
>> failed on the same LBA address.
>>     
>
> I assume 'smartctl -a /dev/adX' reports that the read test failed at LBA
> XXX something?
>   
Indeed it does. Always with the same LBA code/sector/address or whichever.
>   
>> Why would I want to clear my driver before I run these tests?
>>     
>
> In this case it's not really clearing the drive you are aiming for, it
> is to write to every sector. If you have a failed sector (which you do),
> writing to it will force the drive firmware to remap the sector. As far
> as I know, most drives will not remap an unreadable sector until it is
> written to.
>   
So I see. Could this be why I haven't had any read errors anymore?
(After the zpool scrub that is)
> /Daniel Eriksson
>   


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 259 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090907/7bd76cd0/signature.pgp


More information about the freebsd-questions mailing list