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 Benchmarking Platform
Phoromatic Test Orchestration

Native ZFS Is Coming To Linux Next Month

Michael Larabel

Published on 27 August 2010
Written by Michael Larabel
Page 1 of 1 - 25 Comments

Prior to the emergence of Btrfs as a viable next-generation Linux file-system, Sun's ZFS file-system was sought after for Linux due to its advanced feature-set and capabilities compared to EXT3 and other open-source file-systems at the time. While ZFS support has worked its way into OpenSolaris, FreeBSD, NetBSD, and other operating systems, ZFS had not been ported to Linux as its source-code is distributed under the CDDL license, which is incompatible with the GNU GPL barring it from integration into the mainline Linux kernel. Next month, however, a working ZFS module for the Linux kernel without a dependence on FUSE will be publicly released.

Besides the CDDL and GPL being incompatible with each other, the Sun file-system cannot simply be reimplemented in a new source base under the GNU Public License due to patents covering ZFS. ZFS has been ported to run under the Linux FUSE module that puts the file-system in user-space, but that limits the capabilities of the file-system and hampers the disk performance. ZFS FUSE for Linux continues to be worked on at zfs-fuse.net. The United States’ Lawrence Livermore National Laboratory via contract between the lab’s security group and the U.S. Department of Energy started a native port of the ZFS file-system to the Linux kernel, but that open-source code is not yet in a readied state. What is ready though is a native port of ZFS to Linux that is being done by a company known as KQ Infotech. This work of Knowledge Quest Infotech was announced last year on their blog when beginning this porting effort.

Earlier this week we heard from KQ Infotech in our forums where Darshin Vyas, KQ's business manager, shared that their port would soon be entering a closed beta program on Linux. Over the past few days we have learned more about KQ Infotech's porting efforts.

In terms of how native ZFS for Linux is being handled by this Indian company, they are releasing their ported ZFS code under the Common Development & Distribution License and will not be attempting to go for mainline integration. Instead, this company will just be releasing their CDDL source-code as a build-able kernel module for users and ensuring it does not use any GPL-only symbols where there would be license conflicts. KQ Infotech also seems confident that Oracle will not attempt to take any legal action against them for this work.

Unlike the Lawrence Livermore National Laboratory port, the KQ Infotech version right now implements the ZFS POSIX layer so that it is usable. This port is based upon ZFS Pool 18, which is relatively new but lacks support for de-duplication and other new features found in later revisions and what was found in the OpenSolaris code-base prior to its disbandment.

KQ Infotech plans to release this source-code on or around the 15th of September. This code only supports 64-bit Linux and there will be RPMs for Fedora 12 and Red Hat Enterprise Linux 6 Beta 2. Installing ZFS on Ubuntu 10.04 LTS will be supported, but you will need to build the kernel module from source. We are in the process of getting ready to run the first benchmarks of native ZFS on Linux.

While it is nice to finally see a ZFS kernel module for Linux, under the conditions and unclear legal fate its future will be limited and not as hopeful as a proper port that could have been sanctioned by Sun Microsystems. Due to license incompatibilities, KQ's ZFS will not make its way into the Linux kernel nor will distribution vendors pick it up. Anyone wanting to use this as a root file-system would need to take numerous additional steps with building their own kernel and managing the installation. This is also a port of Zpool 18 compared to version 21 or newer, which would provide de-duplication support and other features. At this point, there is also only x86_64 kernel support, which further reduces its reach. It is also not clear from KQ Infotech's intentions whether this will always be a freely available module or how they plan to monetize the work that has been in development for many months in the dark without the code even being available prior to the planned beta release.

This work would have also carried more weight had it been released two or three years ago prior to the emergence of Btrfs as a wonderful next-generation file-system with capabilities that can compete with ZFS. In the past month we have delivered benchmarks three times of the ZFS file-system running under FreeBSD 8.1: Running ZFS with CAM-based ATA, ZFS On FreeBSD vs. EXT4 & Btrfs On Linux, and lastly was Btrfs, EXT4, & ZFS On A Solid-State Drive. The Btrfs and EXT4 file-systems on Linux easily beat ZFS when it came to SSD/HDD performance, which could be due to bottlenecks elsewhere in the FreeBSD kernel, but chances are we won't see ZFS running measurably faster (if at all) than EXT4/Btrfs on Linux. The availability of this ZFS module for Linux may be fun to try out, but it will not change the Linux file-system landscape and will likely just find use within niche environments.

Those interested in a few more bits of information on KQ Infotech's efforts or their views on bringing this "by far the best file system" to Linux can read this thread.

About The Author
Michael Larabel is the principal author of Phoronix.com and founded the web-site in 2004 with a focus on enriching the Linux hardware experience and being the largest web-site devoted to Linux hardware reviews, particularly for products relevant to Linux gamers and enthusiasts but also commonly reviewing servers/workstations and embedded Linux devices. Michael has written more than 10,000 articles covering the state of Linux hardware support, Linux performance, graphics hardware drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated testing software. He can be followed via and or contacted via .
Latest Linux News
  1. Radeon & AMDGPU DRM Fixes Queue Up For Linux 4.2
  2. KDE Applications 15.04.3 Fixes Bugs
  3. Benchmarks Of 54 Different Intel/AMD Linux Systems
  4. Linux 4.2 Bringing Support For ARCv2, HS38 CPU Cores
  5. Libdrm 2.4.62 Is An Important Update For Open-Source GPU Drivers
  6. The State of Unity 3D Game Engine, Editor On Linux
  7. ZFS On Linux Brings Linux 4.1 Support, Fixes
  8. Old Net Burst Tests, Ubuntu Phone & Assembly x86 Were Popular Topics Last Month
  9. Qt 5.5 Officially Released
  10. Global Shortcuts In KDE Plasma Under Wayland
Latest Articles & Reviews
  1. How KDE VDG Is Trying To Make Open-Source Software Beautiful
  2. Attempting To Try Out BCache On The Linux 4.1 Kernel
  3. CompuLab's Fitlet Is A Very Tiny, Fanless, Linux PC With AMD A10 Micro
  4. AMD A10-7870K Godavari: RadeonSI Gallium3D vs. Catalyst Linux Drivers
Most Viewed News This Week
  1. Kubuntu 15.10 Could Be The End Of The Road
  2. KDBUS Won't Be Pushed Until The Linux 4.3 Kernel
  3. The State & Complications Of Porting The Unity Editor To Linux
  4. The Staging Pull For Linux 4.2: "Big, Really Big"
  5. Latest Rumor Pegs Microsoft Wanting To Buy AMD
  6. SteamOS "Brewmaster" Is Valve's New Debian 8.1 Based Version
  7. Exciting Features Merged So Far For The Linux 4.2 Kernel
  8. ARM Posts Pictures Of AMD's New Development Board