Thread (2 messages) 2 messages, 2 authors, 2017-08-22

Re: btrfs corrupt message when mounting (but still mounts and no scrub errors.)

From: Chris Murphy <hidden>
Date: 2017-08-22 05:00:15

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help