Bug 1228365 - No Snapper root config and mount created, installer 20240722
Summary: No Snapper root config and mount created, installer 20240722
Status: NEW
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Installation (show other bugs)
Version: Current
Hardware: Other Other
: P1 - Urgent : Major (vote)
Target Milestone: ---
Assignee: E-mail List
QA Contact: Jiri Srain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-26 18:31 UTC by Lassi Väätämöinen
Modified: 2024-07-26 20:28 UTC (History)
1 user (show)

See Also:
Found By: Community User
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lassi Väätämöinen 2024-07-26 18:31:49 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.
Comment 1 Lassi Väätämöinen 2024-07-26 18:33:45 UTC
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 /'