Hello,
thanks for your reply, Chris.
[Mo Mär 29 09:29:22 2021] BTRFS info (device sda1): bdev /dev/sda1 errs:
wr 133, rd 133, flush 0, corrupt 0, gen 1
Maybe, the last line is concerning?
Yes. Do a 'btrfs scrub' and check dmesg for detailed errors.
[Mo Mär 29 09:29:22 2021] BTRFS info (device sda1): bdev /dev/sda1 errs: wr
133, rd 133, flush 0, corrupt 0, gen 1
[Mo Mär 29 13:10:39 2021] BTRFS info (device sda1): scrub: started on devid 1
[Mo Mär 29 13:10:39 2021] BTRFS info (device sda1): scrub: started on devid 2
[Mo Mär 29 23:30:49 2021] BTRFS info (device sda1): scrub: not finished on
devid 2 with status: -125
[Mo Mär 29 23:30:50 2021] BTRFS info (device sda1): scrub: not finished on
devid 1 with status: -125
[Di Mär 30 00:04:07 2021] BTRFS info (device sda1): scrub: started on devid 1
[Di Mär 30 00:04:07 2021] BTRFS info (device sda1): scrub: started on devid 2
[Di Mär 30 02:50:09 2021] BTRFS info (device sda1): scrub: finished on devid 1
with status: 0
[Di Mär 30 04:36:59 2021] BTRFS info (device sda1): scrub: finished on devid 2
with status: 0
There is nothing more, related to btrfs.
What I find in syslog:
Mar 28 20:28:21 homeserver kernel: [1298340.851140] INFO: task
btrfs-cleaner:20078 blocked for more than 241 seconds.
Mar 28 20:28:21 homeserver kernel: [1298340.854109] task:btrfs-cleaner
state:D stack: 0 pid:20078 ppid: 2 flags:0x00004000
Mar 28 20:28:21 homeserver kernel: [1298340.854151]
wait_current_trans+0xc2/0x120 [btrfs]
Mar 28 20:28:21 homeserver kernel: [1298340.854169]
start_transaction+0x46d/0x540 [btrfs]
Mar 28 20:28:21 homeserver kernel: [1298340.854183]
btrfs_drop_snapshot+0x90/0x7f0 [btrfs]
Mar 28 20:28:21 homeserver kernel: [1298340.854202] ?
btrfs_delete_unused_bgs+0x3e/0x850 [btrfs]
Mar 28 20:28:21 homeserver kernel: [1298340.854218]
btrfs_clean_one_deleted_snapshot+0xd7/0x130 [btrfs]
Mar 28 20:28:21 homeserver kernel: [1298340.854232] cleaner_kthread+0xfa/0x120
[btrfs]
Mar 28 20:28:21 homeserver kernel: [1298340.854247] ?
btrfs_alloc_root+0x3d0/0x3d0 [btrfs]
Mar 28 20:28:21 homeserver kernel: [1298340.857610]
wait_current_trans+0xc2/0x120 [btrfs]
Mar 28 20:28:21 homeserver kernel: [1298340.857627]
start_transaction+0x46d/0x540 [btrfs]
Mar 28 20:28:21 homeserver kernel: [1298340.857643] btrfs_create+0x58/0x1f0
[btrfs]
Next
'btrfs check --readonly' (must be done offline ie booted from usb
stick). And if it all comes up without errors or problems, you can
zero the statistics with 'btrfs dev stats -z'.
No error found. Neither in btrfs check, nor in scrub.
So, shall I reset the stats then?
But otherwise we need
to see the errors to know what's going wrong. It's not normal to have
either read or write errors. It could be related to the problem, or an
additional problem.
Mar 28 20:58:34 homeserver kernel: [1300153.336273] ?
btrfs_cleanup_transaction+0x590/0x590 [btrfs]
What could I do to find the cause?
What kernel version?
5.10.0-0.bpo.3-amd64
Best regards,
Hendrik