On 2014-08-12 T 11:30 +0400 Matwey V. Kornilov wrote:
On 12.08.2014 08:20, Michael Chang wrote:
Booting to btrfs snapshot is target to fulfill full system rollback requirement, you can consider it's implementation a necessary piece in full system rollback's bootloader integration.
What do you mean by 'full system rollback requirement' here?
The development of the feature "make Grub2 boot from a btrfs snapshot" was driven by the requirement for SUSE Linux Enterprise 12 to be able to rollback to a well known state. In that context several options have been considered how to implement this. As described, we have two cases: 1. Boot fails -> reboot into an RO snapshot 2. From a running system reboot into an older state We consider #2 the case which more often will be used (Actively rollback), while #1 (Boot totally fails) is considered a "worst case" situation, which hopefully nobody ever runs into, yet where having a RO snapshot to boot into is more than any, let's say, "mainstream" Linux distribution offered in the past. The openSUSE 13.2 codebase currently inherits what has been implemented for SUSE Linux Enterprise 12. Obviously optimization shall happen, and your input and code contributions are welcome.
What I would finally expect is the behavior like ChromeOS/CoreOS: after failing to boot state N it tries to boot state N-1 and so on.
This is a long term goal, yes. There are a few challenges on the way though, e.g. how to realize that boot failed (without special hardware), how to implement this on all hardware architectures (there is a world beyond x86-64!). Ideas welcome, ... so long - MgE -- Matthias G. Eckermann Senior Product Manager SUSE® Linux Enterprise SUSE LINUX Products GmbH Maxfeldstraße 5 90409 Nürnberg Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg) -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org