In my dmesg logs I get following errors a lot:

[232671.710741] BTRFS warning (device nvme0n1p2): csum failed root 257 ino 2496314 off 946159616 csum 0xb7eb9798 expected csum 0x3803f9f6 mirror 1
[232671.710746] BTRFS error (device nvme0n1p2): bdev /dev/nvme0n1p2 errs: wr 0, rd 0, flush 0, corrupt 19297, gen 0
[232673.984324] BTRFS warning (device nvme0n1p2): csum failed root 257 ino 2496314 off 946159616 csum 0xb7eb9798 expected csum 0x3803f9f6 mirror 1
[232673.984329] BTRFS error (device nvme0n1p2): bdev /dev/nvme0n1p2 errs: wr 0, rd 0, flush 0, corrupt 19298, gen 0
[232673.988851] BTRFS warning (device nvme0n1p2): csum failed root 257 ino 2496314 off 946159616 csum 0xb7eb9798 expected csum 0x3803f9f6 mirror 1

I’ve run btrfs scrub start -Bd /home as described here. The report afterwards claim everything is fine.

btrfs scrub status /home
UUID:             145c0d63-05f8-43a2-934b-7583cb5f6100
Scrub started:    Fri Aug  4 11:35:19 2023
Status:           finished
Duration:         0:07:49
Total to scrub:   480.21GiB
Rate:             1.02GiB/s
Error summary:    no errors found
  • Atemu
    link
    fedilink
    arrow-up
    5
    ·
    11 months ago

    Could you do an offline btrfs-check? (no --repair!)

    • Agility0971@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      11 months ago
      root@archiso ~ # lsblk
      NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
      loop0         7:0    0   673M  1 loop /run/archiso/airootfs
      sda           8:0    0 476.9G  0 disk 
      └─sda1        8:1    0 476.9G  0 part 
      sdb           8:16   0 119.2G  0 disk 
      └─sdb1        8:17   0 119.2G  0 part 
      sdc           8:32   1  14.4G  0 disk 
      ├─sdc1        8:33   1   778M  0 part 
      └─sdc2        8:34   1    15M  0 part 
      nvme0n1     259:0    0 931.5G  0 disk 
      ├─nvme0n1p1 259:1    0   511M  0 part 
      └─nvme0n1p2 259:2    0   931G  0 part 
      root@archiso ~ # btrfs check /dev/nvme0n1p2
      Opening filesystem to check...
      Checking filesystem on /dev/nvme0n1p2
      UUID: 145c0d63-05f8-43a2-934b-7583cb5f6100
      [1/7] checking root items
      [2/7] checking extents
      [3/7] checking free space tree
      [4/7] checking fs roots
      [5/7] checking only csums items (without verifying data)
      [6/7] checking root refs
      [7/7] checking quota groups skipped (not enabled on this FS)
      found 514161029120 bytes used, no error found
      total csum bytes: 496182240
      total tree bytes: 1464221696
      total fs tree bytes: 813809664
      total extent tree bytes: 57655296
      btree space waste bytes: 248053148
      file data blocks allocated: 4385471590400
       referenced 512920408064
      btrfs check /dev/nvme0n1p2  4.15s user 1.66s system 62% cpu 9.316 total