Snapshots Support For EXT4 File-System

Posted by Michael Larabel on June 08, 2011

The Btrfs file-system has various "shiny" features like support for copy-on-write snapshots, cloning, transactions, sub-volumes, SSD optimizations, transparent LZO/Zlib compression, and many other advanced features by Linux file-system standards. The problem with Btrfs is that the next-generation file-system is still in development and hasn't yet been proven via years of use and testing yet as being a stable and reliable solution. Most Linux distributions continue using the EXT4 file-system by default, but now there may be snapshot support coming back to EXT4.

Amir Goldstein at CTERA, a NAS device company, has been working on EXT4 snapshot support as they wish to have this feature for their network-attached storage units but aren't interested in yet deploying Btrfs for its copy-on-write snapshots. Amir has been working on this support for some time, and just yesterday sent out a fresh set of 36 patches that add this experimental support to the EXT4 file-system.

The set of 36 patches from yesterday can be found on the EXT4 mailing list. The latest EXT4 snapshot patches are developed on GitHub.

Obviously the work is too late to land for the Linux 3.0 kernel. It's possible that snapshots for EXT4 may be ready by the Linux 3.1 kernel, but there's still no 64-bit support and some of the EXT4 developers are concerned about this feature. Developers want to be certain that nothing regresses in terms of non-snapshot code-paths for EXT4. There's this message thread with some discussion due to these patches touching some critical EXT4 code-paths.

In justifying the performance of EXT4 with snapshots, Amir even uses the Phoronix Test Suite with Phoronix Global results he made (from this message). He should upgrade though to Phoronix Test Suite 3.0/3.2 in order to take advantage of OpenBenchmarking.org.

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.
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. The Cost Of Ubuntu Disk Encryption
  2. Btrfs vs. EXT4 vs. XFS vs. F2FS On Linux 3.10
  3. AMD Radeon R600 GPU LLVM 3.3 Back-End Testing
  4. F2FS File-System Shows Regressions On Linux 3.10
Latest Linux News
  1. Microsoft Releases Skype For Linux 4.2, Has Bug-Fixes
  2. Qt For Tizen Launches, Based On Qt 5.1
  3. KTAP Released For Linux Kernel Dynamic Tracing
  4. Linux 3.10-rc2 Kernel Takes In A Few Extra Pulls
  5. QEMU 1.5 Supports VGA Passthrough, Better USB 3.0
  6. Handbrake 0.9.9 Supports OpenCL Offloading
  7. Freedreno Gallium3D Now Banging The Adreno A3XX
  8. Jolla Announces Their First Phone
  9. Mageia 3 Released, Still Using Legacy GRUB
  10. NetBSD 6.1 Brings In More Features
  11. Using Six Monitors With AMD's Open-Source Linux Driver
Latest Forum Talk
  1. Linux's "Ondemand" Governor Is No...
  2. Jolla Announces Their First Phone
  3. Logitech Begins Supporting Linux Users
  4. QEMU 1.5 Supports VGA Passthrough, Better USB 3.0
  5. Kubuntu, KDE Has Little Hope For Ubuntu's Mir
  6. Intel Sandy/Ivy Bridge Gallium3D Driver Merged
  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