[Bug 940046] New: BTRFS root partition does not have a .snapshots subvolume
http://bugzilla.opensuse.org/show_bug.cgi?id=940046 Bug ID: 940046 Summary: BTRFS root partition does not have a .snapshots subvolume Classification: openSUSE Product: openSUSE Factory Version: 201505* Hardware: All OS: All Status: NEW Severity: Major Priority: P5 - None Component: Installation Assignee: yast2-maintainers@suse.de Reporter: robert.munteanu@gmail.com QA Contact: jsrain@suse.com Found By: --- Blocker: --- After booting from a snapper read-only snapshot I tried to execute a 'snapper rollback $SNAPSHOT_ID'. When I try to do that after booting it complains that Creating read-only snaphshot of current system. IO Error. Running snapper list shows that I have a no snapshots created ( only 'current' one is available ) and indeed /.snapshots is empty. This worked once I mounted the .snapshots subvolume: mount -t btrfs -o subvol=.snapshots /dev/sda1 /.snapshots This subvolume should IMO be present in /etc/fstab by default, otherwise recovery is much harder. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=940046 http://bugzilla.opensuse.org/show_bug.cgi?id=940046#c3 Andrei Borzenkov <arvidjaar@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |arvidjaar@gmail.com --- Comment #3 from Andrei Borzenkov <arvidjaar@gmail.com> --- (In reply to Arvin Schnell from comment #1)
New versions of YaST and snapper add /.snapshots to fstat
How new is new? I have TW installation coupe of months old and it does not have /.snapshots as mount point. (In reply to Robert Munteanu from comment #2)
If that's the case, the only feasible enhancement would be a better error message from snapper, something along the lines of:
Creating read-only snaphshot of current system. ERROR: no snapshots found under /.snapshots, make sure you have mounted the .snapshots subvolume.
I agree; also for people who updated older installations and want to enable snapper. They need to be aware that they will have problems. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com