r/linux4noobs • u/ConceptFalse • 24d ago
BTRFS Errors
I've use BTRFS on every distro I've tried that supports it. I keep getting error I don't really understand and would appreciate any help in figuring out what is going on. Currently, the system is stable, however, I have had to change my m.2 drive about 3 times (one was a user error for sure though). I don't know if I'm going about this the right way and I'm getting tired of having to re-setup my system every few weeks.
dmesg output:
[ 3899.306868] BTRFS warning (device nvme0n1p3): csum failed root 256 ino 177531 off 16744448 csum 0x5ace33a5 expected csum 0x049bda20 mirror 1
[ 3899.306876] BTRFS error (device nvme0n1p3): bdev /dev/nvme0n1p3 errs: wr 0, rd 0, flush 0, corrupt 48, gen 0
[ 3899.306881] BTRFS warning (device nvme0n1p3): csum failed root 256 ino 177531 off 16748544 csum 0x83c91fb5 expected csum 0x868c4535 mirror 1
[ 3899.306884] BTRFS error (device nvme0n1p3): bdev /dev/nvme0n1p3 errs: wr 0, rd 0, flush 0, corrupt 49, gen 0
[ 3899.306887] BTRFS warning (device nvme0n1p3): csum failed root 256 ino 177531 off 16752640 csum 0x3f735c3b expected csum 0x9584a6ba mirror 1
[ 3899.306888] BTRFS error (device nvme0n1p3): bdev /dev/nvme0n1p3 errs: wr 0, rd 0, flush 0, corrupt 50, gen 0
[ 3899.306891] BTRFS warning (device nvme0n1p3): csum failed root 256 ino 177531 off 16756736 csum 0xc859a12c expected csum 0x5b6dd0f5 mirror 1
[ 3899.306893] BTRFS error (device nvme0n1p3): bdev /dev/nvme0n1p3 errs: wr 0, rd 0, flush 0, corrupt 51, gen 0
[ 3899.306895] BTRFS warning (device nvme0n1p3): csum failed root 256 ino 177531 off 16760832 csum 0x441bd95b expected csum 0x7a75c63e mirror 1
[ 3899.306897] BTRFS error (device nvme0n1p3): bdev /dev/nvme0n1p3 errs: wr 0, rd 0, flush 0, corrupt 52, gen 0
[ 3899.306900] BTRFS warning (device nvme0n1p3): csum failed root 256 ino 177531 off 16764928 csum 0x3572b948 expected csum 0x01a40ad9 mirror 1
[ 3899.306902] BTRFS error (device nvme0n1p3): bdev /dev/nvme0n1p3 errs: wr 0, rd 0, flush 0, corrupt 53, gen 0
[ 3899.306905] BTRFS warning (device nvme0n1p3): csum failed root 256 ino 177531 off 16769024 csum 0x6c675839 expected csum 0x3c1c4048 mirror 1
[ 3899.306906] BTRFS error (device nvme0n1p3): bdev /dev/nvme0n1p3 errs: wr 0, rd 0, flush 0, corrupt 54, gen 0
[ 3899.306909] BTRFS warning (device nvme0n1p3): csum failed root 256 ino 177531 off 16773120 csum 0xb988fd9d expected csum 0xb73df8de mirror 1
[ 3899.306911] BTRFS error (device nvme0n1p3): bdev /dev/nvme0n1p3 errs: wr 0, rd 0, flush 0, corrupt 55, gen 0
[ 3899.322579] BTRFS warning (device nvme0n1p3): csum failed root 256 ino 177531 off 16744448 csum 0xb35f496c expected csum 0x049bda20 mirror 1
[ 3899.322588] BTRFS error (device nvme0n1p3): bdev /dev/nvme0n1p3 errs: wr 0, rd 0, flush 0, corrupt 56, gen 0
[ 3899.322592] BTRFS warning (device nvme0n1p3): csum failed root 256 ino 177531 off 16748544 csum 0x611eebec expected csum 0x868c4535 mirror 1
[ 3899.322595] BTRFS error (device nvme0n1p3): bdev /dev/nvme0n1p3 errs: wr 0, rd 0, flush 0, corrupt 57, gen 0
[ 4028.633504] evm: overlay not supported
9
Upvotes
4
u/Classic-Rate-5104 24d ago
If different distributions result into te same result, it's most likely a hardware problem
2
u/dkopgerpgdolfg 24d ago
I did read that you changed the drives, but could you still post smart data? (comm. errors can be interesting).
Ie: "sudo smartcl -ax /dev/nvme0n1"
12
u/oshunluvr 24d ago
If you changed the drive 3 times, it's probably not the drives. Bad checksums could be bad RAM, power issues, or bad drive controller.
Run scrub on the drive and test your RAM for starters.
1
u/Netblock 23d ago
Disable the XMP/EXPO/DOCP profile for RAM.
-4
u/E5-4650_v2_RX570 23d ago
btrfs check --repair /dev/nvme0n1p3
-5
u/Xia_L 24d ago
> re-setup my system every few weeks
This is a whole point to use btrfs outside it's specific use case. This has not changed in the years since its emergence, and it is unlikely to change.
If this is not too much fun for you, then it is worth considering other FS.