Oh and thanks for the advise on memtest.
]]>To add the memory should be here today, so will pop it in and run another memtest to confirm.
]]>To be sure, there are no ram ECC errors on the server?
Memtest comes back clean?
Definitely check RAM. I forgot to mention that!
]]>Still get errors and what is odd is, they write to the drive at first fine. It is later they get corrupted.
...
The files copied to my desktop are fine, no errors shown by BTRFS or by viewing the file, while I can see the damage to the file on the server side.
To be sure, there are no ram ECC errors on the server?
Memtest comes back clean?
Scrub device /dev/sda1 (id 1) history
Scrub started: Fri Feb 10 22:58:00 2023
Status: finished
Duration: 5:46:12
Total to scrub: 4.73TiB
Rate: 237.33MiB/s
Error summary: csum=6
Corrected: 0
Uncorrectable: 6
Unverified: 0
# btrfs scrub start /dev/sda1
Then leave it a while to let it finish and check
# btrfs scrub status /dev/sda1
At the moment, deleting, copying from a good copy is only a band aid. I have something else going wrong and I am at a loss for how to figure that out. I did wipe it all and reinstalled Arch when I put the new motherboard in, my thought was if the motherboard was bad and causing issues it was best to start a clean slate.
What can I do to at first find the cause? Small example of a sudo journalctl --dmesg --grep 'sda1'
Feb 11 09:12:24 HOST kernel: BTRFS warning (device sda1): csum failed root 5 ino 57458 off 142118912 csum 0xbd6525af expected csum 0x36ee345b mirror 1
Feb 11 09:12:24 HOST kernel: BTRFS error (device sda1): bdev /dev/sda1 errs: wr 0, rd 0, flush 0, corrupt 11181, gen 0
Feb 11 09:12:25 HOST kernel: BTRFS warning (device sda1): csum failed root 5 ino 57458 off 142118912 csum 0xbd6525af expected csum 0x36ee345b mirror 1
Feb 11 09:12:25 HOST kernel: BTRFS error (device sda1): bdev /dev/sda1 errs: wr 0, rd 0, flush 0, corrupt 11182, gen 0
Feb 11 09:12:26 HOST kernel: BTRFS warning (device sda1): csum failed root 5 ino 57458 off 142118912 csum 0xbd6525af expected csum 0x36ee345b mirror 1
Feb 11 09:12:26 HOST kernel: BTRFS error (device sda1): bdev /dev/sda1 errs: wr 0, rd 0, flush 0, corrupt 11183, gen 0
Feb 11 09:12:27 HOST kernel: BTRFS warning (device sda1): csum failed root 5 ino 57458 off 142118912 csum 0xbd6525af expected csum 0x36ee345b mirror 1
Feb 11 09:12:27 HOST kernel: BTRFS error (device sda1): bdev /dev/sda1 errs: wr 0, rd 0, flush 0, corrupt 11184, gen 0
Feb 11 09:12:28 HOST kernel: BTRFS warning (device sda1): csum failed root 5 ino 57458 off 142118912 csum 0xbd6525af expected csum 0x36ee345b mirror 1
Feb 11 09:12:28 HOST kernel: BTRFS error (device sda1): bdev /dev/sda1 errs: wr 0, rd 0, flush 0, corrupt 11185, gen 0
Feb 11 09:12:29 HOST kernel: BTRFS warning (device sda1): csum failed root 5 ino 57458 off 142118912 csum 0xbd6525af expected csum 0x36ee345b mirror 1
Feb 11 09:12:29 HOST kernel: BTRFS error (device sda1): bdev /dev/sda1 errs: wr 0, rd 0, flush 0, corrupt 11186, gen 0
Feb 11 09:12:30 HOST kernel: BTRFS warning (device sda1): csum failed root 5 ino 57458 off 142118912 csum 0xbd6525af expected csum 0x36ee345b mirror 1
Feb 11 09:12:30 HOST kernel: BTRFS error (device sda1): bdev /dev/sda1 errs: wr 0, rd 0, flush 0, corrupt 11187, gen 0