Re: Following a panic (271945): zpool status reports 1 data error but identifies no file

From: Graham Perrin <grahamperrin_at_freebsd.org>
Date: Sun, 11 Jun 2023 18:06:45 UTC
On 11/06/2023 14:48, Alexander Motin wrote:
> On 11.06.2023 08:02, Graham Perrin wrote:
>> See below, should I begin scrubbing? Or (before I begin) might zdb 
>> reveal something useful?
>
> The only case when I would not recommend to run scrub is if there is a 
> suspicion of memory corruptions on the system (hardware or software), 
> like a bad RAM, in which case scrub may "find" errors that are not 
> there, trashing the pool even more.  Otherwise it just verifies 
> checksums, trying to find valid data copies and update what is 
> affected. It is not an fsck, it does not change things arbitrarily.

Thanks. No suspected memory corruption in this case.

I chose to begin scrubbing a few hours ago. I think it likely that the 
reportedly permanent error will simply disappear when the scrub completes.

zdb … might be looking for a needle in a haystack, when there's zero 
information about what data is affected by the one data error.