On Mon, Aug 11, 2014 at 11:48:09AM +0200, Richard Brown wrote:
On 11 August 2014 10:30, Michael Chang
wrote: On Mon, Aug 11, 2014 at 10:06:45AM +0200, Matthias Eckermann wrote:
Hello Matwey and all,
On 2014-08-09 T 22:47 +0400 Matwey V. Kornilov wrote:
09.08.2014 22:34, Matwey V. Kornilov пишет:
09.08.2014 21:51, Andrey Borzenkov пишет:
There were quite a number of commits to support booting from btrfs snapshots. So I assume this should work, at least under some restrictions.
Just installed 13.2, there are grub2-snapper-plugin package, but it doesn't work out of the box. Trying to understand what is to do with it.
Ok. Get it working. When I boot into the snapshot, the / seems to be mounted as ro, and the OS is almost not working. Is it supposed to be so?
Yes. -- Booting from a snapshot can be used in two ways:
1. You chose a RO Snapshot in the Grub2 menu. In this case you will boot into a RO Snapshot, and you should be able to work in this system. If you want to stay in this "state", you will have to copy the RO Snapshot into a RW, reboot and work from it.
Sounds complex!? Maybe, but there is a reason for this: The assumption is that the majority of people will use RO Snapshots as "well known states" into which they want to jump back in case of emergency. If we would boot into such a snapshot "RW", the state would be changed, would not be "well known" anymore. In other words, it would be a "one time use well known state". Not very helpful, ... For that reason, booting into "RO" and changing to RW afterwards is a right way, as it preserves the "well known state" in the RO snapshot.
The perfect solution would be, if Grub2 would be able to clone the (existing) RO into a (new) RW btrfs snapshot. But I don't know if it is even possible to implement this into Grub2.
2. If you are in a running system, you can chose: "snapper rollback <number>", reboot, and you are in a RW copy of <number>.
This part does not work currently because some necessary changes in grub2 is not yet submitted to factory.
regards, Michael
Why not? sounds like something we'd really like to have in openSUSE
It will be. The problem is that it has to be fully tested and functional to a certain degree and work as the PM expectations before publishing. Otherwise factory user would be affected or suffered from it's immature status. Regards, Michael
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org