Today I turned on my PC and the system would not boot normally. I eventually saw the message:
BTRFS critical (device sda2): corrupt node: root=258 block=23261052928 slot=123, unaligned pointer, have 5044307428104010465 should be aligned to 4096
I followed the prompt and booted into emergency mode. sda is an SSD containing both all the system partitions and /home.
sda2 is my / partition. Luckily /home seems to be OK but when I navigate to / I received a message about being unable to mount /var/[something] but unfortunately I did not note the message before it scrolled out of view as I entered more commands to verify the rest of my partitions.
When I navigate to to /var I get a message saying “bash: cd: /var: Input/output error” and the original BTRFS critical message repeated several times.
What can I do to restore my /var subpartition and get my system working properly again? Googling has not provided anything useful.
Thanks.