[Solved - kinda] Can't log in : BTRFS: error in btrfs_run_delayed_refs:2124: errno:-5 IO failure

Hi there, so huge issue. I can't log in.

I was playing GTA v for a few hours, and after a certain mission the game indicates me that I can't save. I could still play and alln but couldn't save. Then I decided to open firefox, it wouldn't launch. And I got other error, like something KDE couldn't write in configuration file.
I thought, whatever it will be fixed by rebooting or loading another snapshot! BUT NO!!
Now I'm getting this error

BTRFS: error (device sdb2) in btrfs_run_delayed_refs:2124: errno:-5 IO failure

Really wondering what I should be doing
I can't share my system logs since now I'm stuck on the black screen console....

Please help, thanks

Hi,
errno:-5 IO failure sounds to me like an hardware problem of your drive, I really hope I’m wrong here.
We’ll need someone more experienced than me to help on this, but for the moment I suggest you try and chroot your system from a live USB: if you can get in, that would be at least a good signal

3 Likes

So I can use garuda-chroot and I can access all my files...
I guess the solution is to recover data and reinstall garuda. But maybe my 2012 ssd is soon dead. What steps should I take to troubleshoot the issue. I don't think it is a boot issue, since grub loads and I can access snapshot but not boot on them

Start at base - the mighty Arch wiki BTRFS section?

https://wiki.archlinux.org/index.php/Btrfs

There's some good info here, too.

https://btrfs.wiki.kernel.org/index.php/Main_Page

Hope this helps. :slightly_smiling_face:

1 Like

Check SMART status of your disk.

2 Likes

So it says my disk is healthy...
SMART overall-health self-assigment test result: PASSED

Below the log for sudo btrfs check /dev/sdb2

Opening filesystem to check...
Checking filesystem on /dev/sdb2
UUID: ed3ac838-2546-44d1-927c-9afa10591963
[1/7] checking root items
[2/7] checking extents
[3/7] checking free space cache
[4/7] checking fs roots
[5/7] checking only csums items (without verifying data)
[6/7] checking root refs
[7/7] checking quota groups
checksum verify failed on 1301348352 wanted 0x00000000 found 0xb6bde3e4
checksum verify failed on 1301348352 wanted 0x00000000 found 0xb6bde3e4
bad tree block 1301348352, bytenr mismatch, want=1301348352, have=0
checksum verify failed on 1915568128 wanted 0x00000000 found 0xb6bde3e4
checksum verify failed on 1915568128 wanted 0x00000000 found 0xb6bde3e4
bad tree block 1915568128, bytenr mismatch, want=1915568128, have=0
checksum verify failed on 239453913088 wanted 0x00000000 found 0xb6bde3e4
checksum verify failed on 239453913088 wanted 0x00000000 found 0xb6bde3e4
bad tree block 239453913088, bytenr mismatch, want=239453913088, have=0
checksum verify failed on 1863925760 wanted 0x00000000 found 0xb6bde3e4
checksum verify failed on 1863925760 wanted 0x00000000 found 0xb6bde3e4
bad tree block 1863925760, bytenr mismatch, want=1863925760, have=0
checksum verify failed on 380218982400 wanted 0x00000000 found 0xb6bde3e4
checksum verify failed on 380218982400 wanted 0x00000000 found 0xb6bde3e4
bad tree block 380218982400, bytenr mismatch, want=380218982400, have=0
checksum verify failed on 381120118784 wanted 0x00000000 found 0xb6bde3e4
checksum verify failed on 381120118784 wanted 0x00000000 found 0xb6bde3e4
bad tree block 381120118784, bytenr mismatch, want=381120118784, have=0

...
checksum verify failed on 380186574848 wanted 0x00000000 found 0xb6bde3e4
bad tree block 380186574848, bytenr mismatch, want=380186574848, have=0
checksum verify failed on 380186968064 wanted 0x00000000 found 0xb6bde3e4
checksum verify failed on 380186968064 wanted 0x00000000 found 0xb6bde3e4
bad tree block 380186968064, bytenr mismatch, want=380186968064, have=0
checksum verify failed on 380186984448 wanted 0x00000000 found 0xb6bde3e4
checksum verify failed on 380186984448 wanted 0x00000000 found 0xb6bde3e4
bad tree block 380186984448, bytenr mismatch, want=380186984448, have=0
checksum verify failed on 380888023040 wanted 0x00000000 found 0xb6bde3e4
checksum verify failed on 380888023040 wanted 0x00000000 found 0xb6bde3e4
bad tree block 380888023040, bytenr mismatch, want=380888023040, have=0
checksum verify failed on 380239069184 wanted 0x00000000 found 0xb6bde3e4
checksum verify failed on 380239069184 wanted 0x00000000 found 0xb6bde3e4
bad tree block 380239069184, bytenr mismatch, want=380239069184, have=0
checksum verify failed on 1990950912 wanted 0x00000000 found 0xb6bde3e4
checksum verify failed on 1990950912 wanted 0x00000000 found 0xb6bde3e4
bad tree block 1990950912, bytenr mismatch, want=1990950912, have=0
checksum verify failed on 380237201408 wanted 0x00000000 found 0xb6bde3e4
checksum verify failed on 380237201408 wanted 0x00000000 found 0xb6bde3e4
bad tree block 380237201408, bytenr mismatch, want=380237201408, have=0
checksum verify failed on 380239085568 wanted 0x00000000 found 0xb6bde3e4
checksum verify failed on 380239085568 wanted 0x00000000 found 0xb6bde3e4
bad tree block 380239085568, bytenr mismatch, want=380239085568, have=0
checksum verify failed on 380980920320 wanted 0x00000000 found 0xb6bde3e4
checksum verify failed on 380980920320 wanted 0x00000000 found 0xb6bde3e4
bad tree block 380980920320, bytenr mismatch, want=380980920320, have=0
Counts for qgroup id: 0/257 are different
our:            referenced 130401579008 referenced compressed 130401579008
disk:           referenced 130401579008 referenced compressed 130401579008
our:            exclusive 130391613440 exclusive compressed 130391613440
disk:           exclusive 130401579008 exclusive compressed 130401579008
diff:           exclusive -9965568 exclusive compressed -9965568
Counts for qgroup id: 0/262 are different
our:            referenced 3964612608 referenced compressed 3964612608
disk:           referenced 3964612608 referenced compressed 3964612608
our:            exclusive 3962691584 exclusive compressed 3962691584
disk:           exclusive 3964612608 exclusive compressed 3964612608
diff:           exclusive -1921024 exclusive compressed -1921024
Counts for qgroup id: 0/621 are different
our:            referenced 17629634560 referenced compressed 17629634560
disk:           referenced 17629634560 referenced compressed 17629634560
our:            exclusive 2142941184 exclusive compressed 2142941184
disk:           exclusive 2143252480 exclusive compressed 2143252480
diff:           exclusive -311296 exclusive compressed -311296
Counts for qgroup id: 0/692 are different
our:            referenced 17879035904 referenced compressed 17879035904
disk:           referenced 17879035904 referenced compressed 17879035904
our:            exclusive 1518051328 exclusive compressed 1518051328
disk:           exclusive 1518084096 exclusive compressed 1518084096
diff:           exclusive -32768 exclusive compressed -32768
Counts for qgroup id: 0/699 are different
our:            referenced 17716830208 referenced compressed 17716830208
disk:           referenced 17716830208 referenced compressed 17716830208
our:            exclusive 511782912 exclusive compressed 511782912
disk:           exclusive 511815680 exclusive compressed 511815680
diff:           exclusive -32768 exclusive compressed -32768
Counts for qgroup id: 0/700 are different
our:            referenced 17763328000 referenced compressed 17763328000
disk:           referenced 17763328000 referenced compressed 17763328000
our:            exclusive 10772480 exclusive compressed 10772480
disk:           exclusive 10805248 exclusive compressed 10805248
diff:           exclusive -32768 exclusive compressed -32768
found 188979650560 bytes used, error(s) found
total csum bytes: 175937712
total tree bytes: 2596880384
total fs tree bytes: 2222473216
total extent tree bytes: 146898944
btree space waste bytes: 446872914
file data blocks allocated: 228774150144
 referenced 279597383680


Please no picture from terminal output.

No picture from terminal outputs.
If you include terminal outputs in your post please use the proper output format in your post. Using "~" 3 times above and "~" 3 times below the text block will provide a readable, raw look.

Images can be read worse, are not searchable and copyable for further search.
Should the helpers have to guess everything or laboriously type it in themselves?

No text, no help.

Sorry, I don't know how to copy this one ...

IO error - whatever the SMART status it is likely to be a hardware failure?
  • Yes
  • No
  • Bro stop with your useless poll :')

0 voters

Hi.
If you managed to backup your data and even considered reinstalling, if I were you I'd try the btrfs check [options] that the man calls dangerous :slight_smile: like --repair or --init-csum-tree
In the worst case... reinstall...

https://www.man7.org/linux/man-pages/man8/btrfsck.8.html

1 Like

Boot a Garuda ISO. Use the partition application (Partition Manager or GParted) to see how much disk space is left on the drive you have Garuda installed.

The supposed error messages make me question if Timeshift snapshots are consuming an extraordinary amount of space?

5 Likes

You can send terminal command output through netcat to termbin.

sudo btrfs check /dev/sdb2  | nc termbin.com 9999

But check disk available space as suggested first.

df -h /
3 Likes

I had 60gb left....

Thanks all, I decided to backup everything and reinstall, and I ordered a new ssd.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.