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

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

 



On Mon, Aug 21, 2017 at 10:55 PM, Rich Rauenzahn <rrauenza@xxxxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux