Linked by Rahul on Mon 23rd Nov 2009 17:01 UTC
Fedora Core Phoronix talks about an upcoming feature in Fedora 13 (scheduled to be released on April 2010) that provides system rollback support via the Btfs filesystem.
Order by: Score:
Great feature! Another good writeup here:
by kragil on Mon 23rd Nov 2009 17:48 UTC
kragil
Member since:
2006-01-04

http://lwn.net/SubscriberLink/362500/6cc5cd840f5e0519/ (from behind the lwn.net paywall, for my OSnews friends)

Reply Score: 2

"May"
by AdamW on Mon 23rd Nov 2009 18:57 UTC
AdamW
Member since:
2005-07-06

You appear to have unaccountably dropped the 'may' which Phoronix correctly included in their headline. Any Fedora 13 features at present are _proposed_ features, they have not gone through the review process and may not actually be implemented.

Reply Score: 3

Copy of ZFS
by Kebabbert on Mon 23rd Nov 2009 19:59 UTC
Kebabbert
Member since:
2007-07-27

This functionality has been in OpenSolaris for quite some time now. It really rocks hard. Make a safe quick rollback in seconds. Awesome. I can really understand why Fedora wants that functionality.

Reply Score: 2

RE: Copy of ZFS
by Rahul on Mon 23rd Nov 2009 20:23 UTC in reply to "Copy of ZFS"
Rahul Member since:
2005-07-06

Does OpenSolaris offer package management integration with ZFS so that if a update fails, you can rollback? I am aware a Debian variant of OpenSolaris does that but does OpenSolaris itself do that?

Reply Score: 1

RE[2]: Copy of ZFS
by dilidolo on Mon 23rd Nov 2009 21:28 UTC in reply to "RE: Copy of ZFS"
dilidolo Member since:
2006-02-02

Yes it does.

Reply Score: 1

RE[3]: Copy of ZFS
by Rahul on Mon 23rd Nov 2009 21:42 UTC in reply to "RE[2]: Copy of ZFS"
Rahul Member since:
2005-07-06

Any reference to the in-depth technical details? Any docs on how it is implemented would be useful.

Reply Score: 1

RE[4]: Copy of ZFS
by Kebabbert on Tue 24th Nov 2009 12:18 UTC in reply to "RE[3]: Copy of ZFS"
Kebabbert Member since:
2007-07-27

The OpenSolaris source code is available. I dont know if IPS package system code is available?

Anyway, this rocks. Hard. Before every install, it gets snapshot. And each snapshot are shown in GRUB. I just choose which snapshot I want to boot into.

Also, Nexenta has this. It is Ubuntu, but with OpenSolaris kernel. You have ZFS, DTrace, etc with Ubuntu userland.

Reply Score: 2

RE: Copy of ZFS
by phoenix on Mon 23rd Nov 2009 21:47 UTC in reply to "Copy of ZFS"
phoenix Member since:
2005-07-11

This functionality has been in OpenSolaris for quite some time now. It really rocks hard. Make a safe quick rollback in seconds. Awesome. I can really understand why Fedora wants that functionality.


There's also experimental support in FreeBSD for the Boot Environment auto-snapshot feature for OS upgrades. Before an OS upgrade, a new BE is created, and you get a menu at boot that lets you select which BE to use. To "rollback", just boot into the previous BE and delete the erroneous one.

It's not part of FreeBSD yet, but the patches and docs are out there to make it work: http://anonsvn.h3q.com/projects/freebsd-patches/browser/manageBE

And if one puts /var and /usr/local onto ZFS filesystems, one can manually snapshot /var and /usr/local before installing/upgrading apps. If something goes wrong, just rollback to the previous snapshot and try again. (Technically, you'd want to put /var/db/pkg onto a separate ZFS filesystem as that is what gets updated during a port/package install, and not all of /var.) It's not automatic, but it's possible.

Edited 2009-11-23 21:56 UTC

Reply Score: 2

Zifre
Member since:
2009-10-04

Last time I checked, Btrfs did not have support for deleting snapshots or subvolumes (which are the same to Btrfs). I haven't been following Btrfs development, so it may now be implemented. It seems like that would be required for this to be very useful...

Also, Btrfs snapshots are per subvolume. Why not have separate subvolumes for /, /boot, and each /home/some_user? This would allow system rollbacks without affecting user data, and would make it possible to allow each user to make snapshots of their own home directory.

Also, does GRUB2 support Btrfs? If it does, next time I install Ubuntu, I'm going use the idea above and maybe write some scripts to implement this with APT.

Reply Score: 1

Rahul Member since:
2005-07-06

Yes, Btrfs does support that and if this proposal is accepted, Fedora contributors will patch GRUB to work seamlessly.

Reply Score: 1

Zifre Member since:
2009-10-04

Do the GRUB patches exist now? Or are they waiting for the proposal to be approved? (And will they/are they for GRUB Legacy or GRUB2?)

Reply Score: 1