Btrfs Gets Talked Up, Googler Encourages You To Try Btrfs

Written by Michael Larabel in Google on 19 August 2014 at 10:39 AM EDT. 102 Comments
GOOGLE
This week at LinuxCon North America in Chicago is a presentation by Google's Marc Merlin that's entitled "Why you should consider using btrfs, real COW snapshots and file level incremental server OS upgrades like Google does." The presentation does a good job at looking at the state of Btrfs on Linux and comparing it to ZFS.

Marc Merlin, a Linux admin at Google for more than one decade, is presenting on Thursday at LinuxCon Chicago about Btrfs. His slides are already available for those that can't make it to the windy city or are looking for an overview of what he'll be discussing.

Here's the highlights to Merlin's presentation:

- Marc has been running Btrfs on his laptop for the past two years and on other Linux systems more recently.

- Btrfs is recommended for its copy-on-write (COW) capabilities, snapshots are built into the file-system and offer good performance, meta-data is redundant and check-summed as well as the data, RAID 0/1/5/6 are built into the file-system, no need for multiple partitions or LVM volumes, built-in file compression, online background file-system scrubbing, block-level file-system diff backups, and support with btrfs-convert for converting an EXT3 file-system to Btrfs.

- Against ZFS, the former Sun file-system is more mature and offers slightly more features than Btrfs but its license is incompatible with the mainline Linux kernel and the file-system is very RAM hungry. It's unlikely Oracle will ever relicense ZFS from the CDDL to GPLv2 and offer a native port for the mainline Linux kernel.

- Oracle supports Btrfs in its commercial distribution, "basic Btrfs" is considered mostly stable, RAID 0/1 should be in good shape, Btrfsck repair tool is still incomplete, data de-duplication support is experimental, and file-system encryption isn't yet natively implemented.

- Many companies contribute to Btrfs from Facebook to Fusion-IO to Intel to Red Hat to SUSE.

- In terms of Btrfs production readiness from Marc's perspective, "If you pick the right btrfs release/kernel (you can let Oracle or Suse do this for you), you can look at Btrfs for production use." Additionally, "In a nutshell, while Btrfs is still experimental, it is usable in production environment for its core features."
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