25.01.2018 11:24, Roger Oberholtzer пишет:
On Wed, Jan 24, 2018 at 6:05 PM, Andrei Borzenkov <arvidjaar@gmail.com> wrote:
To enable rollback with snapper it is necessary
Thanks for that info. It gives me something to look at. Except I'm not certain what is meant by #1 and #2. How do I verify this? Or would
Well, looking at /proc/self/mountinfo for "/" mount and subvol= option as well as checking "btrfs subvolume get-default /".
these be the case when the disk was set up by the openSUSE Tumbleweed install?
Yes if snapshots were enabled during installation.
1. Your root subvolume should be one of snapper snapshots 2. default-subvolume should be set to your root subvolume 3. SUSE_BTRFS_SNAPSHOT_BOOTING="true" should be set in /etc/default/grub 4. grub2 should be reinstalled with new setting (really reinstalled, not just configuration) - "update-bootloader --reinit"
This is in addition to normal configuration like having @/.snapshots subvolume that is mounted as /.snapshots.
I see this from mount on a system with snapper set up:
/dev/sda2 on / type btrfs (rw,relatime,space_cache,subvolid=259,subvol=/@/.snapshots/1/snapshot) /dev/sda2 on /.snapshots type btrfs
Yes, but /.snapshots/1 should also be valid snapper snapshot, i.e. "snapper list" should show you snapshot #1.
(rw,relatime,space_cache,subvolid=258,subvol=/@/.snapshots)
So I should see the pretty much same on my mystery machine, I guess? (It's at home, and I'm not there right now...)
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org