Btrfs System Rollbacks In Fedora 13

Published on April 16, 2010
Written by Michael Larabel
Page 2 of 2
Discuss This Article

Once the file-system snapshot plug-in is installed for yum, once any package transactions take place from there on out it will create Btrfs snapshots. Each of the Btrfs snapshots are then named yum_<time-stamp> and when the default sub-volume is mounted, they can be found as yum_<time-stamp> sub-directories of the root file-system. Unfortunately, that is where the Fedora 13 support for system rollbacks ends.

Planned to make for a polished system rollback experience is pushing support for choosing Btrfs snapshots to mount via GRUB and the GNOME Disk Utility. This way if something goes wrong during the boot process of the newly installed or upgraded yum packages, the user can simply reboot the system and then choose a different snapshot to boot from the GRUB2 boot-loader. Unfortunately, this did not make the cut for Fedora 13 so users will need to wait until at least Fedora 14.

Support within the GNOME Disk Utility / Palimpsest for Btrfs would allow picking a snapshot and then the next time the file-system is mounted, it would switch to that snapshot seamlessly. This also is not to be found in Fedora 13, but will hopefully be integrated upstream for GNOME 3.0 and then found in Fedora 14. There has also been talk of integrating similar capabilities into the Nautilus file-manager and even with slider support for rolling back the file-system (similar to the support found with the ZFS file-system on recent releases of OpenSolaris), but this too had not yet materialized.

While there isn't yet any graphical support for switching Btrfs snapshots, a different snapshot / sub-volume can be mounted using the subvol mount option, such as mount -o subvol=yum_20100414183435 /dev/sda1 /media/disk. New snapshots can also be created at any point using the btrfs ctl -s <snapshot-name> command. It is too bad though that a full-blown system rollback support feature could not be completed in time for Fedora 13, but that leaves something to look forward to for Fedora 14 later this year. Hopefully by the time this work is completed the Btrfs file-system will have matured a bit more, received more performance optimizations, and in a state to be more widely adopted.

Discuss this article in our forums, IRC channel, or email the author. You can also follow our content via RSS and on social networks like Facebook, Identi.ca, and Twitter (@Phoronix and @MichaelLarabel). Subscribe to Phoronix Premium to view our content without advertisements, view entire articles on a single page, and experience other benefits.

2
Next Page >>
Latest Hardware Reviews
  1. Sumo Lounge Emperor
  2. Gallium3D Continues Improving OpenGL For Older Radeon GPUs
  3. 15-Way Open vs. Closed Source NVIDIA/AMD Linux GPU Comparison
  4. Nouveau vs. NVIDIA Linux Comparison Shows Shortcomings
Latest Software Articles
  1. GCC 4.8.0 vs. LLVM Clang 3.3 Compiler Performance
  2. Intel Linux OpenGL Driver Leading Over Apple OS X
  3. The Cost Of Ubuntu Disk Encryption
  4. Btrfs vs. EXT4 vs. XFS vs. F2FS On Linux 3.10
Latest Linux News
  1. A New X.Org-Free Wayland LiveCD Released
  2. Unity 8, Mir Made Progress This Week On Features
  3. LLVM Clang 3.3 RC2 Is Ready For Testing
  4. AMD RadeonSI Gallium3D Begins Simple CL Demos
  5. Intel Shows Off GNOME3-Based Tizen Shell
  6. Linux Desktop Security Could Be A Whole Lot Better
  7. KDE 4.11 Will Be The Last Major KDE4 Workspaces Feature Release
  8. New NVIDIA Linux Driver Supports The GeForce GTX 780
  9. Chrome 28 To Offer More Speed Improvements
  10. Digia Announces "Boot To Qt" Project
  11. X.Org Libraries Hit By Round Of Security Issues
Latest Forum Talk
  1. GCC 4.8.0 vs. LLVM Clang 3.3 Compiler Performance
  2. Unity 8, Mir Made Progress This Week On Features
  3. AMD RadeonSI Gallium3D Begins Simple CL Demos
  4. Debian GNU/Hurd 2013 Release Brings New Packages
  5. Steam: No used games...
  6. KDE 4.11 Will Be The Last Major KDE4 Workspaces...
  1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Motherboards
  5. Peripherals
  6. Processors
  7. Software
  8. Operating Systems
  9. All Articles
  1. Linux Benchmarking
  2. OpenBenchmarking.org
  3. Phoronix Test Suite