On Mon, Aug 21, 2017 at 10:55 PM, Rich Rauenzahn [off-list ref] wrote:
I'm getting messages like this when mounting:
[ 4.034300] BTRFS info (device sdg3): bdev /dev/sdg3 errs: wr 0, rd
0, flush 0, corrupt 4, gen 0
[ 4.034828] BTRFS info (device sdg3): bdev /dev/sdf3 errs: wr 0, rd
0, flush 0, corrupt 68, gen 0
These are cumulative values stored in the file system persistently.
They should match up with 'btrfs dev stats'. You can reset it by using
-z.
But it mounts fine, and scrub says it is fine:
$ sudo btrfs scrub start -Bd /dev/sdf3
scrub device /dev/sdf3 (id 1) done
scrub started at Mon Aug 21 21:34:10 2017 and finished after 00:02:55
total bytes scrubbed: 28.33GiB with 0 errors
$ sudo btrfs scrub start -Bd /dev/sdg3
scrub device /dev/sdg3 (id 2) done
scrub started at Mon Aug 21 21:49:47 2017 and finished after 00:02:28
total bytes scrubbed: 28.33GiB with 0 errors
Scrub shows errors for the particular scrub with that time stamp, so
it's not cumulative.
--
Chris Murphy