qgroups are used in btrfs to track how much space is consumed by each subvolume. Something goes wrong with this accounting. btrfs does some sanity checks during unmount and those checks show some issues.
If you can reproduce it every time, then you can only report it to btrfs developers to find out the reason why this accounting mismatch happens.
i couldn’t fix the issues with rescan, so i got the idea to recreate a snapshot and rollback on it, all errors are now gone but i get " dracut Warning: Unmounted /oldroot. " is this a problem at all?
ok the errors reappeared when opensuse started creating new snapshots again, so I simply deactivated the quotas, there will be no harmful consequences on the installation, on the snapshots? of course I made the effort to read the btrfs-qgroup and btrfs-quota help pages, but it’s pretty complicated to understand for a simple user like me. I’ve never activated them manually.
turkishyordle@host:~> sudo btrfs qgroup show /
ERROR: can't list qgroups: quotas not enabled
turkishyordle@host:~> sudo btrfs qgroup show /.snapshots
ERROR: can't list qgroups: quotas not enabled
btw the rescan had no effect either, unless my command was wrong, I typed “sudo btrfs quota rescan /.snapshots” but nothing happened
You may safely disable quotas. On the other hand the existence of some unknown problems is disturbing. You may try and clear caches (your device path may differ):