ZFS filesystem for Linux?

ZFS is an advanced modern filesystem from Sun Microsystems, originally designed for Solaris/OpenSolaris.

ZFS has many features which can benefit all kinds of users - from the simple end-user to the biggest enterprise systems:

  • Provable integrity - it checksums all data (and metadata), which makes it possible to detect hardware errors (hard disk corruption, flaky IDE cables, etc...)
  • Atomic updates - means that the on-disk state is consistent at all times, there's no need to perform a lengthy filesystem check after forced reboots or power failures
  • Instantaneous snapshots and clones - it makes it possible to have hourly, daily and weekly backups efficiently, as well as experiment with new system configurations without any risks
  • Built-in (optional) compression
  • Highly scalable
  • Pooled storage model - creating filesystems is as easy as creating a new directory. You can efficiently have thousands of filesystems, each with it's own quotas and reservations, and different properties (compression algorithm, checksum algorithm, etc...)
  • Built-in stripes (RAID-0), mirrors (RAID-1) and RAID-Z (it's like software RAID-5, but more efficient due to ZFS's copy-on-write transactional model).
  • Many others (variable sector sizes, adaptive endianness, ...)

ZFS definitely looks like a great engineering achievement and its makers have all rights to be proud of it. In their own words, they've blown away 20 years of obsolete assumptions and now they refer to ZFS as the last word in filesystems.

When ZFS was first announced, I'm sure many Linux hackers had a thought how it would be a great idea to port such a great filesystem to Linux. Unfortunately, ZFS source is distributed under Sun's CDDL license which is (some say deliberatly) incompatible with the GPL license that Linux kernel uses. So, it looks like there will be no native port of ZFS for Linux in the foreseeable future. What a pity.

Still, lurking around the web, I have found the next best thing, a project to port ZFS to the popular FUSE framework: ZFS on FUSE/Linux.

Thanks to relieved FUSE licensing, which allows dynamically linking with it without any restrictions, it looks like it's possible to port ZFS to FUSE without any licensing problems. Of course, implementation of filesystem in userspace can never reach speed and stability of in-kernel filesystems, but I still find it very interesting.

The project was started by a young programmer from Portugal named Ricardo Correia and is participating in Google Summer of Code 2006 program. You can follow its progress on the ZFS on FUSE blog. It seems to go along just fine and you can already download some early releases. So far they're not very useful, but it's nice to see some important parts are already compilable. What to say, go, Ricardo, go! :)

Reply

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <center> <hr>
  • Lines and paragraphs break automatically.
  • Use the special tag [adsense:format:group:channel] or [adsense:block:location] to display Google AdSense ads.
  • Images can be added to this post.

More information about formatting options

9 + 8 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.