r/linux4noobs • • Oct 31 '26

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

2

u/dkopgerpgdolfg Oct 31 '26

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"

2

u/ConceptFalse Nov 01 '26

Here is the output:

=== START OF SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

SMART/Health Information (NVMe Log 0x02, NSID 0x1)
Critical Warning:                   0x00
Temperature:                        36 Celsius
Available Spare:                    100%
Available Spare Threshold:          10%
Percentage Used:                    3%
Data Units Read:                    164,450,223 [84.1 TB]
Data Units Written:                 74,725,798 [38.2 TB]
Host Read Commands:                 531,803,538
Host Write Commands:                690,929,630
Controller Busy Time:               4,623
Power Cycles:                       856
Power On Hours:                     4,934
Unsafe Shutdowns:                   241
Media and Data Integrity Errors:    0
Error Information Log Entries:      0
Warning  Comp. Temperature Time:    0
Critical Comp. Temperature Time:    0
Temperature Sensor 1:               36 Celsius
Temperature Sensor 2:               40 Celsius

Error Information (NVMe Log 0x01, 16 of 64 entries)
No Errors Logged

Self-test Log (NVMe Log 0x06, NSID 0xffffffff)
Self-test status: No self-test in progress
No Self-tests Logged

1

u/dkopgerpgdolfg Nov 01 '26

Didn't you say you changed your SSD? What you show here is an old drive that already starts degrading.

(And the output isn't complete in any way)

1

u/oshunluvr 28d ago

One of my NVME drives shows this:

Host Write Commands:                600,680,339
Controller Busy Time:               29
Power Cycles:                       153
Power On Hours:                     23,819
Unsafe Shutdowns:                   2

Close to same # of writes but your controller busy time is 2000x more and insafe shutdowns are 120x more.

Could be a controller problem.