Skip to contentSkip to conversation

btrfs filesystem mounting failure (bad superblock):

DISCUSSION -pj 1 participant 1 message Mar 11, 2025 Btrfs file system

lore
Share & tools
lore

-pj

author
#0 lore raw

Original question on openSUSE Support Mailing List:
https://lists.opensuse.org/archives/list/[email protected]/thread/7KCP6RUP2PDN3ZBVHQTUVI764ZIRJRNE/

Hi, yesterday I used the machine here. I organized trash can, read articles and decided to suspend machine and go to sleep.

Today I wokeup machine and inside KDE are errors of kioworker not able to write to file. I powercycled the machine and it is unable to reach graphical target instead it reaches emergency mode. I attempted to roll back snapshot with no success.

I attempted to use openSUSE Rescue CD and perform chroot and there is failure at step: 'mount -a' with many messages related to 'bad superblock'.

How to proceed with this situation if possible?

SystemD journal is here > https://termbin.com/pjhd
dmesg is here > https://termbin.com/w4jh

[ 9.572877] [ T852] BTRFS info (device dm-1): balance: resume -dusage=5

Using openSUSE Rescue CD I passed the following commands:

# mount -t btrfs -o skip_balance /dev/mapper/system-root /mnt
# btrfs balance cancel /mnt

The machine is able to boot into OS now. How to proceed if anything to correct the initial issue?

Run "btrfs check" on the unmounted filesystem. Better to use Tumbleweed which has more recent version.

I ran Tumbleweed System Rescue from bootable iso of downloaded snapshot of today.

I took a picture of the btrfs check output for review >
https://paste.opensuse.org/pastes/c6b44a4e7ec3

Can you please tell me why this happened? Is there something left that needs to be resolved in order to fix the problem?

-Regards