1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Memory
  5. Motherboards
  6. Processors
  7. Software
  8. Storage
  9. Operating Systems


Facebook RSS Twitter Twitter Google Plus


Phoronix Test Suite

OpenBenchmarking.org

Btrfs System Rollbacks In Fedora 13

Michael Larabel

Published on 16 April 2010
Written by Michael Larabel
Page 1 of 2 - 11 Comments

One of the benefits of Btrfs besides offering competitive performance against other Linux file-systems and SSD optimizations is its support for sub-volumes and writable snapshots. While Btrfs is still in development and is not yet used as a default file-system by any Linux distribution, Red Hat has been looking to capitalize upon the capabilities of Btrfs by introducing support for system rollbacks into Fedora. The Btrfs-based system rollback support has been a feature for Fedora 13 so with the release of the Fedora 13 Beta earlier this week we decided to further investigate this feature.

In order to benefit from this, you must, of course, be using a Btrfs root file-system. This can be setup by either converting an existing EXT3/EXT4 root partition over to Btrfs or by performing a new Fedora installation and using Btrfs -- we opted for the latter method. Btrfs is only available from the Fedora DVD versions and not the Live DVD/USB version that is limited to using EXT4. The DVD-based installer needs to be started with the "btrfs" boot argument added to the GRUB boot-loader; otherwise Red Hat's Anaconda installer will not offer Btrfs file-system support. Note that this boot parameter is now "btrfs" and is not "icantbelieveitsnotbtr" like in earlier Fedora releases.

Even when passing the btrfs boot parameter you still need to manually modify the partitions to use Btrfs over the EXT4 default. As Btrfs is currently only capable of taking a copy-on-write snapshots of the entire file-system and not select directories, it would be highly recommended that a separate /home partition be created that is using EXT4 or another file-system. If the home data resides on the same partition as your root file-system, when performing any system rollbacks, your home data too will be rolled to the earlier state. Of course, you can always switch back to using the newer snapshot, but for ease of use, it is recommended having a separate /home partition.

With Fedora 13 the system rollback support is not provided "out of the box" when engaging a Btrfs installation. After the install is complete, you must then go and install yum-plugin-fs-snapshot. This yum package management plug-in will automatically create a file-system snapshot when installing/upgrading/removing RPM packages before the yum transaction takes place. Btrfs is the only Linux file-system that supports this snapshot-ing functionality, but this new yum plug-in is also capable of taking LVM snapshots at the block level, permitting the active Linux kernel supports this functionality.

<< Previous Page
1
Latest Linux Hardware Reviews
  1. NVIDIA GeForce GTX 970 Offers Great Linux Performance
  2. CompuLab Intense-PC2: An Excellent, Fanless, Mini PC Powered By Intel's i7 Haswell
  3. From The Atom 330 To Haswell ULT: Intel Linux Performance Benchmarks
  4. AMD Radeon R9 285 Tonga Performance On Linux
Latest Linux Articles
  1. Ubuntu 14.10 XMir System Compositor Benchmarks
  2. Btrfs RAID HDD Testing On Ubuntu Linux 14.10
  3. Ubuntu 14.10 Linux 32-bit vs. 64-bit Performance
  4. AMD Moves Forward With Unified Linux Driver Strategy, New Kernel Driver
Latest Linux News
  1. Cairo-Dock 3.4 Shows A Lot Of Progress, Works Toward EGL/Wayland Support
  2. Mesa 10.4 Tentatively Planned For Early December
  3. SteamOS Update 145 Brings Compositor, Update Fixes
  4. GStreamer 2014 Conference Videos Posted: Wayland, HTML5, 3D
  5. Nouveau Now Supports DRI3 Without GLAMOR
  6. Features Of The Linux 3.18 Kernel
  7. Debian Now Defaults To Xfce On Non-x86 Desktops
  8. Phoenix Is Trying To Be An Open Version Of Apple's Swift
  9. Linux 3.19 To Have Skylake Graphics, PPGTT Enablement
  10. Ubuntu 16.04 Might Be The Distribution's Last 32-Bit Release
Latest Forum Discussions
  1. HOPE: The Ease Of Python With The Speed Of C++
  2. Users/Developers Threatening Fork Of Debian GNU/Linux
  3. Ubuntu 16.04 Might Be The Distribution's Last 32-Bit Release
  4. AMD Releases UVD Video Decode Support For R600 GPUs
  5. Proof that strlcpy is un-needed
  6. xbox one tv tuner
  7. Bye bye BSD, Hello Linux: A Sys Admin's Story
  8. Updated and Optimized Ubuntu Free Graphics Drivers