Re: csum failed during copy/compare

2016-10-21 Thread Chris Murphy
On Fri, Oct 21, 2016 at 7:19 AM, Martin Dev wrote: > SATA trace shows device behaving correctly. > btrfs repair --ignore-errors /dev/sda2 /tmp/ will yield files that are > not verifiable by FIO, and differ from the original files on the > internal drive that they were

Re: csum failed during copy/compare

2016-10-21 Thread Martin Dev
SATA trace shows device behaving correctly. btrfs repair --ignore-errors /dev/sda2 /tmp/ will yield files that are not verifiable by FIO, and differ from the original files on the internal drive that they were copied from at the failing offset. On Wed, Oct 19, 2016 at 3:39 PM, Martin Dev

Re: csum failed during copy/compare

2016-10-19 Thread Martin Dev
Fails on Antergos Linux 4.8.2-1-ARCH #1 SMP PREEMPT Mon Oct 17 08:11:46 CEST 2016 x86_64 GNU/Linux btrfs-progs v4.8.1 On Mon, Oct 10, 2016 at 10:05 PM, Chris Murphy wrote: > On Mon, Oct 10, 2016 at 12:42 PM, Roman Mamedov wrote: >> On Mon, 10 Oct 2016

Re: csum failed during copy/compare

2016-10-10 Thread Chris Murphy
On Mon, Oct 10, 2016 at 12:42 PM, Roman Mamedov wrote: > On Mon, 10 Oct 2016 10:44:39 +0100 > Martin Dev wrote: > >> I work for system verification of SSDs and we've recently come up >> against an issue with BTRFS on Ubuntu 16.04 > >> This seems to be a

Re: csum failed during copy/compare

2016-10-10 Thread Roman Mamedov
On Mon, 10 Oct 2016 10:44:39 +0100 Martin Dev wrote: > I work for system verification of SSDs and we've recently come up > against an issue with BTRFS on Ubuntu 16.04 > This seems to be a recent change ...well, a change in what? If you really didn't change anything on

Re: csum failed during copy/compare

2016-10-10 Thread Martin Dev
After some investigation this seems to follow the discard flag set in fstab. 9 or so reproductions with discard on partition 2 fail move discard flag to partition 1, then partition 1 fails. Re-running our tests with no discard options set in fstab On Mon, Oct 10, 2016 at 1:02 PM, Martin Dev

Re: csum failed during copy/compare

2016-10-10 Thread Martin Dev
Additional BTRFS scrub logs root@# btrfs scrub start -B /mnt/g/ scrub done for 554b0043-052f-48d1-986f-5a6154496d89 scrub started at Mon Oct 10 12:52:40 2016 and finished after 00:00:39 total bytes scrubbed: 20.03GiB with 46304 errors error details: csum=46304 corrected

Fwd: csum failed during copy/compare

2016-10-10 Thread Martin Dev
Hey everyone, I work for system verification of SSDs and we've recently come up against an issue with BTRFS on Ubuntu 16.04. We have a framework which follows the following steps: Generate verifiable 10GB file with FIO on internal drive Copy 10GB file to 2 target partitions on DUT (using "cp"