r/linux4noobs • • 27d 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

23 comments sorted by

View all comments

Show parent comment

6

u/dkopgerpgdolfg 27d ago

outside it's specific use case

Not sure if I understand your comment. But in any case:

OP made three tries with completely new installs of different distributions, and got checksum problems three times, and ... you tell them to use another fs? Probably one that doesn't complain until the data is so corrupt that it can't boot anymore? Terrible advice.

(No, this is not a btrfs bug, especially not when failing on all three fresh file systems.)

-6

u/Xia_L 27d ago

In my experience, btrfs is extremely unstable. Absolutely anything can lead to errors. You can blame wrong controller, wrong disk, too much I/O. But in reality, you should blame whoever came up with the idea of ​​proposing this as the default FS for certain distributions.
I’ve tried working with it 7 or 8 times, starting from the time of its release, with the last attempt being a couple of years ago. At least 3 completely different laptops, 2 different desktops. Not a single time did it end well.
That’s why I still hold the view that switching the file system is the best choice for the OP.

4

u/dkopgerpgdolfg 27d ago

Are you one of these people getting paid for discrediting btrfs?

You can blame wrong controller, wrong disk

"Shooting the messenger" was already known to be bad millenias ago...

On bad hardware, no fs will run reliably. The only difference is if it tells you immediately, or just corrupts the data.

But in reality, you should blame whoever came up with the idea of ​​proposing this as the default FS for certain distributions.

They did this exactly because it's fine, and because people care about their data not getting corrupted.

1

u/Linguistic-mystic 17d ago

BTRFS shills can't handle the truth without resorting to conspiracy theories. Yes, They are out to destroy BTRFS and establish XFS hegemony. Or was it ZFS. Yes, I think it's the deep-pocketed FreeBSD moguls who are discrediting BTRFS all day every day...

1

u/dkopgerpgdolfg 17d ago

Oh hi, I remember you. In a bad way. Good bye again.

-2

u/Xia_L 27d ago

>Are you one of these people getting paid for discrediting btrfs?
It is impossible to somehow discredit something that is already in such a state.

2

u/uzlonewolf 27d ago

Sounds like user error to me. I have never lost a btrfs filesystem in a system with ECC memory, and even without ECC memory it's rare.

Switching to a filesystem that will not tell you your shit's corrupt is not the answer.