Bug 97351 - btrfs-progs BTRFS mounted with -o recovery showing no errors on scrub
Summary: btrfs-progs BTRFS mounted with -o recovery showing no errors on scrub
Status: RESOLVED INVALID
Alias: None
Product: File System
Classification: Unclassified
Component: btrfs (show other bugs)
Hardware: All Linux
: P1 low
Assignee: Josef Bacik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-27 12:33 UTC by Tony Plack
Modified: 2015-04-28 12:40 UTC (History)
0 users

See Also:
Kernel Version: 4.0
Tree: Mainline
Regression: No


Attachments

Description Tony Plack 2015-04-27 12:33:51 UTC
This may be by design since the driver is handling the errors.  When the drive is mounted with -o recovery, and then a scrub is performed, scrub will show no errors.

fatdrive ~ # dmesg | tail
[35348.694291] repair_io_failure: 4 callbacks suppressed
[35348.694297] BTRFS: read error corrected: ino 1 off 93863407616 (dev /dev/sds sector 183326968)
[35351.029568] BTRFS (device sdt): parent transid verify failed on 8392192475136 wanted 148989 found 147789
[35351.048101] BTRFS: read error corrected: ino 1 off 8392192475136 (dev /dev/sds sector 2314785632)
[35470.018881] BTRFS (device sdt): parent transid verify failed on 94051291136 wanted 150686 found 150687
[35470.150372] BTRFS (device sdt): parent transid verify failed on 94051291136 wanted 150686 found 150687
[35948.602971] BTRFS (device sdt): parent transid verify failed on 94238015488 wanted 150690 found 150691
[35948.608723] BTRFS (device sdt): parent transid verify failed on 94238015488 wanted 150690 found 150691
[36114.453009] BTRFS (device sdt): parent transid verify failed on 94238015488 wanted 150690 found 150691
[36114.472586] BTRFS (device sdt): parent transid verify failed on 94238015488 wanted 150690 found 150691
fatdrive ~ # btrfs scrub status /mnt/data
scrub status for f591ac13-1a69-476d-bd30-346f87a491da
	scrub started at Mon Apr 27 06:48:44 2015 and was aborted after 2651 seconds
	total bytes scrubbed: 2.39TiB with 0 errors
Comment 1 Tony Plack 2015-04-28 12:40:00 UTC
I misunderstood what the error messages stated.

Note You need to log in before you can comment on or make changes to this bug.