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. Intel Linux OpenGL Driver Leading Over Apple OS X
  2. The Cost Of Ubuntu Disk Encryption
  3. Btrfs vs. EXT4 vs. XFS vs. F2FS On Linux 3.10
  4. AMD Radeon R600 GPU LLVM 3.3 Back-End Testing
Latest Linux News
  1. Linux Desktop Security Could Be A Whole Lot Better
  2. KDE 4.11 Will Be The Last Major KDE4 Workspaces Feature Release
  3. New NVIDIA Linux Driver Supports The GeForce GTX 780
  4. Chrome 28 To Offer More Speed Improvements
  5. Digia Announces "Boot To Qt" Project
  6. X.Org Libraries Hit By Round Of Security Issues
  7. Wayland's Weston Gets Output Scaling Support
  8. Raspberry Pi Gets New Wayland Weston Renderer
  9. Debian GNU/Hurd 2013 Release Brings New Packages
  10. Intel Ultrabook Performance Is Faster With Mesa 9.2
  11. Hot Relocation HDD To SSD Support For Btrfs
Latest Forum Talk
  1. Raspberry Pi Gets New Wayland Weston Renderer
  2. KDE 4.11 Will Be The Last Major KDE4 Workspaces...
  3. Xserver 1.14 support will arrive with Catalyst...
  4. Linux Desktop Security Could Be A Whole Lot Better
  5. Microsoft's zombie attacks Android (again)
  6. Chrome 28 To Offer More Speed Improvements
  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