Bugzilla – Bug 1228365
No Snapper root config and mount created, installer 20240722
Last modified: 2024-07-26 20:28:31 UTC
DESCRIPTION: There seems to be an grave issue with Snapper snapshot subvolume cretaion in 20240722 installer. 1. After installation, there is no /.snapshots BTRFS subvolume created 2. /etc/fstab: no mount point for /.snapshots defined Accordint to the tutorial disk size > 16GB should have automatic snapshot feature available: https://en.opensuse.org/openSUSE:Snapper_Tutorial My disk size was 96GB, and there was no mount point. ACTIONS NEEDED: 1. Add the missing line to /etc/fstab: UUID=0aafc776-2ae2-45f6-8ce5-b84725de8c8a /.snapshots btrfs subvol=/@/.snapshots 0 0 2. Rn snapper config and mount: # snapper --config root create-config / # mount /.snapshots If I did not do the above, with the exception of '0' snapshot, there was nothing listed by 'snapper ls' when I booted to a read-only snapshot. ADDITIONAL INFORMATION Also perhaps the snapshot rollbacking failed due to this earlier, when booting to read-only snapshot. There only was the '0' snapshot listed and Snapper complained about "unknown subvolume" and proposed using "--ambit classic". But that did not work either then.
If there's some kind of detection logic about the BTRFS subvolumes when /etc/fstab is getting created, maybe the installer is missing just running this: 'snapper --config root create-config /'