My system configuration does not seem to be quite right somewhere as it does not seem to advance the current snapshot automatically after zypper operations.
Anyone have any clue as to what I might need to do to fix it?
Iβm not entirely sure what you are want me to take away from that.
Here is my thought process:
This shows that opensuse booted into a specific snapshot for root. State 254 to be specific. Thus nothing from 255 onwards should be present.
/dev/nvme0n1p3 on / type btrfs (rw,relatime,ssd,discard=async,space_cache=v2,subvolid=532,subvol=/@/.snapshots/254/snapshot)
Given:
254- β single β β ons 10 dec 2025 10:06:30 β root β 576,00 KiB β β working configuration β
255 β pre β β ons 10 dec 2025 10:09:11 β root β 1,00 MiB β number β zypp(zypper) β important=yes
256 β post β 255 β ons 10 dec 2025 10:09:15 β root β 1,58 MiB β number β β important=yes
The state of 255 is the state 254 plus any changes up until 255 was taken. The state of 256 after the zypper operation, is thus 255 + changes from zypper.
Provided no rollbacks are then done between 255 and a hypothetical 260, the state after 260 should be all of 255β¦260, yes?
Such that, if I then rollback to 254 the state is reverted to what the disk looked like at that point in time, no changes from 255β¦260 should be present. A new snapshot is taken (261) which is 254 + changes done since rollback but not including 255β¦260.
Is anything here working outside of my expectations?
βopensuseβ does not do it all by itself. You did something to boot from the non-default snapshot and you never explained what you did.
I have no idea where your βnothing should be presentβ reasoning comes from. Booting into or rolling back to a specific snapshot has no impact on any other snapshots present.
You need to explain what you did. Just throwing at us some command output without a single comment is not the best way to ask questions.
You apparently have very different idea what snapshots are and how they work and you need to explain it so that we are on the same page.
I agree with @shorberg that as long as one keeps systemβs default settings for snapper and sdbootutil, and doesnβt fiddle with snapshots, then the expected behaviour is:
btrfs snapshots are created at each system updates from zypper
sdbootutil then picks up the snapshot list and manages boot loader entries combining kernel/initrd versions and btrfs snapshots
default settings are designed to keep only n snapshots and x kernels
sdbootutil also is meant to set default entry to latest kernel and latest snapshot
From what is described in the first post, snapper seems to do its job but the update of boot loader entries is not followingβ¦
βopensuseβ is the system in this context, saying it booted into a state is the same as saying βthis is the current running state I have to work fromβ.
As for what I did; I turned off the machine, turned it on again and did nothing else. Everything is as the system decided.
If the configuration is somehow wrong, causing the system to do something unexpected, I need advise on what is wrong and how to fix it.
My usage of the term is the standard use of the term in the context of computers and computer storage. If you mean to claim that the word as used by opensuse is different, please expand on that.
In computer systems, a snapshot is the state of a system at a particular point in time. The term was coined as an analogy to that in photography. (src: Snapshot (computer storage) - Wikipedia)