NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: ZFS RAIDZ2 and wd uncorrectable data error - why does ZFS not notice the hardware error?



mp%petermann-it.de@localhost (Matthias Petermann) writes:

>On 14.07.21 14:10, Greg Troxel wrote:
>> I think you may have uncovered a bug in zfs statistics.
>>>           NAME        STATE     READ WRITE CKSUM
>>>           tank        ONLINE       0     0     0
>>>             raidz2-0  ONLINE       0     0     0
>>>               dk0     ONLINE       0     0     0
>>>               dk1     ONLINE       0     0     0
>>>               dk2     ONLINE       0     0     0
>>>               dk3     ONLINE       0     0     0


>most exciting question at the moment. If it is the case that ZFS has=20
>corrected the error - then it would be really great if it also displays=20
>this somewhere.

Looking at the code, ZFS doesn't count errors when

- the I/O was done speculatively (read-ahead ?)
- it's an EIO error but not a retry yet (only final errors are counted)
- it's a write to the intent log (there are probably separate counters)




Home | Main Index | Thread Index | Old Index