В Fri, 03 Jul 2015 20:17:14 +0200
Achim Gratz
Achim Gratz writes:
How exactly? I know how to mount sublvolid=0 to some temporary place, but I don't find a way to check which subvolume is actually mounted as / at the moment, for instance.
OK, the latter part is done by
# btrfs subvolume show /
and it clearly shows that it is indeed having the snapshot mounted. So if I mount the btrfs root to some other place, what do I need to do before I can set the default subvolume back to zero?
How *me* would do it - boot from live media, mount current snapshot on /src and root subvolume on /tgt and run rsync -a --delete /src/ /tgt/ then reset default subvolume. But you can also try what is suggested here https://www.suse.com/documentation/sled-12/book_sle_admin/data/sec_snapper_s... i.e. snapper rollback. I wonder if this does not do the same under the hood ... :) -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org