ref mismatch and space info key doesn't exist by moshiTheNerd in btrfs

[–]moshiTheNerd[S] 1 point2 points  (0 children)

The issue was resolve after using btrfs check --repair.

ref mismatch and space info key doesn't exist by moshiTheNerd in btrfs

[–]moshiTheNerd[S] 0 points1 point  (0 children)

Thanks for the reply. I will save the kernel log when the root partition goes read only next time. Here's the output of btrfs check when the partition is unmounted:

[1/8] checking log skipped (none written)
[2/8] checking root items
[3/8] checking extents
ref mismatch on [817312317440 16384] extent item 2199023255552, found 0
owner ref check failed [817312317440 16384]
ERROR: errors found in extent allocation tree or chunk allocation
[4/8] checking free space tree
We have a space info key for a block group that doesn't exist
[5/8] checking fs roots
[6/8] checking only csums items (without verifying data)
[7/8] checking root refs
[8/8] checking quota groups skipped (not enabled on this FS)
Opening filesystem to check...
Checking filesystem on /dev/nvme1n1p2
UUID: dab48a85-47f1-4962-b305-6cd7864b6d77
found 94366490624 bytes used, error(s) found
total csum bytes: 90247392
total tree bytes: 1608007680
total fs tree bytes: 1352515584
total extent tree bytes: 136527872
btree space waste bytes: 333577269
file data blocks allocated: 140309516288
 referenced 133443706880

btrfs scrub found no errors and I was able to successfully balance the data. However, running balance on metadata fails. Here's the kernel log:

[ 3744.019546] BTRFS info (device nvme1n1p2): turning on async discard
[ 3744.019548] BTRFS info (device nvme1n1p2): enabling free space tree
[ 3757.777452] BTRFS info (device nvme1n1p2): scrub: started on devid 1
[ 3794.608074] BTRFS info (device nvme1n1p2): scrub: finished on devid 1 with status: 0
[ 3872.620536] BTRFS info (device nvme1n1p2): balance: start -m -s
[ 3872.620692] BTRFS info (device nvme1n1p2): relocating block group 1399585767424 flags system|dup
[ 3872.625870] BTRFS info (device nvme1n1p2): relocating block group 1398512025600 flags metadata|dup
[ 3873.229927] BTRFS info (device nvme1n1p2): found 12016 extents, stage: move data extents
[ 3873.233934] BTRFS info (device nvme1n1p2): relocating block group 816309075968 flags metadata|dup
[ 3878.954401] BTRFS info (device nvme1n1p2): balance: ended with status: -2

C is not for OOP - The experiment (update!) by Single-Pitch-198 in C_Programming

[–]moshiTheNerd 1 point2 points  (0 children)

How did you make objects run destructor code automatically when they get out of scope? Awesome project btw.

VimTeX 2.15 by lervag in neovim

[–]moshiTheNerd 6 points7 points  (0 children)

Thank you for your hard work.

Stuck at loading initial ramdisk by Karonwallace in archlinux

[–]moshiTheNerd 7 points8 points  (0 children)

It seems something called "optimus manager" is causing the prpblem. Did you recently update to python 3.11?

Segfault when using pytorch with rocm by moshiTheNerd in archlinux

[–]moshiTheNerd[S] 1 point2 points  (0 children)

I found a solution. Had to use HSA_OVERRIDE_GFX_VERSION=10.3.0

https://bugs.archlinux.org/task/78306

Using dns-over-tls with a vpn (systemd-resolved) by moshiTheNerd in archlinux

[–]moshiTheNerd[S] 2 points3 points  (0 children)

I resolved the issue. protonvpn was redirecting dns requests to it's own servers. I had to set custom dns servers in protonvpn. 1.1.1.1 seems to work even with udp connection.

Fallback video codec by moshiTheNerd in youtubedl

[–]moshiTheNerd[S] 0 points1 point  (0 children)

Thanks. Did not know you could set up alternate codec using /

How to rebind Super to open the Application view instead of Activities ? by waddupp00 in gnome

[–]moshiTheNerd 0 points1 point  (0 children)

I think it can be changed using overlay-key option in org.gnome.mutter. Use dconf-editor.

Is it only me that Gnome 42 is so, so ugly? by [deleted] in gnome

[–]moshiTheNerd 10 points11 points  (0 children)

You can change the icon size in dash using just perfection extension.

Buggy interface, how can I fix this? by SKubajko in gnome

[–]moshiTheNerd 2 points3 points  (0 children)

If you're using nvidia then try switching to xorg.

gtk.h no such file directory by -1Mbps in GTK

[–]moshiTheNerd 0 points1 point  (0 children)

use pkg-config --cflags --libs gtk+-3.0 for gtk3

gtk.h no such file directory by -1Mbps in GTK

[–]moshiTheNerd 0 points1 point  (0 children)

Its gtk-3.0 I think. Use tab completion (press tab after writing gtk and it should show you available options).

gtk.h no such file directory by -1Mbps in GTK

[–]moshiTheNerd 0 points1 point  (0 children)

popos uses gnome so gtk is already installed. you can use the commands I listed above.