I was trying to run 3dMark through Steam Proton, and the Steam install script tried installing .NET, which launched hundreds of zombie processes and stalled my system. I tried to killing wineserver, but it was completely unresponsive, and just continued launching more zombie processes. So, eventually I tried to rebooting the system, since I could at least move the mouse cursor but trying to reboot was also unresponsive. I was at least able to use ctrl-alt-F2, where I tried init 6, init 0, systemctl --reboot, reboot -f, and even with reboot -f -f, and all of them failed. After about a half hour, I figured I was out of options at that point, and there didn’t seem to be any activity on the system, so I used the reset button.
After shutting down, and trying to reboot, the boot process halted due to errors on the system drive, and I got a maintenance prompt. I ran btrfs check, and there were about a half dozen or so errors on the root partition. I ended up running btrfs check --repair, before noticing the warning about it basically being in a alpha state, and possibly causing more problems then before you started with it. It did at least get rid of the csum errors, but it also seems to have invalidated the free space cache. After rebooting again, there is no usable free space, so it still is unable to boot due to being unable to create the system journal, and btrfs check still shows one remaining error. It would seem that the @/var/crash subvolume is either missing or just the reference for it is missing. I’m not sure which, since the error is rather vague, and I can’t seem to find any relevant information on the btrfs wiki site about it and I really haven’t been able to find anything useful with Google either.
Here is the relevant info, from btrfs check-
checking root refs
fs tree 264 not referenced
ERROR: errors found in root refs
found 35524771840 bytes used, error(s) found
total csum bytes: 297454408
total tree bytes: 1291567104
total fs tree bytes: 1176010752
total extent tree bytes: 72171520
btree space waste bytes: 190606495
file data blocks allocated: 48896675840
referenced 45388656640
I used the openSUSE rescue utility on the install disk and tried using btrfs check --clear-free-space-cache on the relevant drive partition, to fix the free space problem, but I am still unable to write to the drive and it’s still showing no available free space, even though the drive is not full. So I don’t know if there is still a problem with the free space cache, or if the partition is just being automatically mounted read-only, due to the subvolume error. I haven’t tried to explicitly mount it using the rw option, and I didn’t want to try to force it, if it’s a safety feature. When I get a listing of subvolumes when the drive is mounted, it shows subvolume 264, which is @/var/crash, but when checking the subvolume list from the rescue cd, it’s missing from the subvolume list. I’m not sure if I should try to delete it or try to create a new one, or if there is another way to repair it. I don’t have any snapshots. Right now, it looks like the data on the drive is all intact, so I don’t really want to do anything to jeopardize the data. I’d like to run scrub, but it doesn’t sound like that’s going to fix a subvolume problem, and I think I probably need to fix the subvolume problem before sorting out the problem with the free space, but I’m not really sure where to go from here. So if anyone can offer any advise or help, I would greatly appreciate it.