Btrfs Support For Ubuntu's Update Manager

Written by Michael Larabel in Ubuntu on 12 May 2011 at 05:36 AM EDT. 5 Comments
UBUNTU
Eventually we will see Ubuntu Linux deploy Btrfs as the default file-system. While we will likely not see the switch from EXT4 to Btrfs with Ubuntu 11.10, there is work underway on Btrfs integration support into Ubuntu's Update Manager.

With Fedora 13, Red Hat introduced system roll-back support whereby anytime a yum transaction takes place for installing a new RPM package on a Btrfs root file-system, a snapshot will be created. Btrfs supports efficiently creating copy-on-write snapshots. Fedora has been quicker to adopt Btrfs installation support and its features, but now Canonical is finally supporting this path.

Ubuntu 10.10 gained Btrfs installation support as an alternative to using the EXT4 default. With Ubuntu 11.10 the default will more than likely be EXT4 still, but the update-manager program should gain snapshot creation support similar to the yum plug-in.

For Ubuntu 11.10 "Oneiric Oncelot" is to call apt-btrfs-snapshot on update-manager build. A cron job would then delete these old Btrfs file-system snapshots after a defined time of being unused.

One of the features worked on in the Fedora world was to also add GRUB support for booting to older Btrfs snapshots and the plan is to implement similar functionality under Ubuntu. Ubuntu would also like to have failure detection support in GRUB with a friendly-recovery menu.

As far as when Ubuntu will likely deploy Btrfs as the default Linux file-system for new installations, that probably will not occur until Ubuntu 12.10 due to Ubuntu 12.04 being a Long-Term support release where Canonical is much more conservative about making invasive changes.

More details from the UDS Budapest notes.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week