Language Selection

English French German Italian Portuguese Spanish

ZFS on Linux: my story and HOWTO you can have it too

Filed under
Software

Have you heard about ZFS? It’s a generation-defining stable high-performance high-end filesystems, created by Jeff Bonwick at Sun, and ported over to Mac OS X and the BSD family. Oh, and for Linux, using the FUSE (Filesystem in userspace) kernel abstraction. Here’s my ZFS story.

I’m using Kubuntu Hardy, and my computer has two 400 GB SATA hard disks. Yes, that’s all the storage I have at hand; as of three days ago, it was RAIDed using the multipath devices (md) kernel module, split in two LVM volumes: /and /home. Oh, and two same-size byte-aligned swap partitions, one on each disk, swapon‘ed pri=0.

I had been salivating over the thought of using ZFS in my workstation because of several killer features:

* The first one that comes to mind is end-to-end data integrity thanks to checksumming — I’ve already had many disks go bad on me, while others corrupted my data silently (which is, believe it or not, the most insidious thing ever, because after you’ve noticed it, backups won’t help you with that — you’ve probably already papered over your backups with new, bad data).

* The second one is compression. Together with tightly packed data, compression promises to increase performance and reduce disk utilization.

* The third one is the advanced transactional algorithm that yields an always-consistent disk structure. Unlike log-based filesystems, ZFS does copy-on-write and ripples the changes up through the filesystem tree; before the topmost node is updated, the changes don’t affect consistency; when the topmost node is updated, the disk is consistent as well. Never fsck again!

More Here




More in Tux Machines

Today in Techrights

Kodi 15.0 Release Candidate 1 Arrives

The first release candidate for Kodi 15 has arrived. Kodi 15 is building up many new features from Android 4K@60Hz support to adaptive seeking support to Android H.265 support to many other updates and additions. Read more

7 stories that make you feel good about open source in 2015 (so far)

One of the great things about open source is its reach beyond just the software we use. Open source isn’t just about taking principled stands, it's about making things better for the world around us. It helps spread new ideas by letting anyone with an interest modify and replicate those ideas in their own communities. In this collection, let’s take a look back at some of the best articles we’ve shared this year about the ways that open source is making an impact on communities and improving the lives of people across the world. Read more

Exclusive interview with Hans de Raad

In my daily life (both personal and professional) I use open source for just about anything, from LibreOffice to Drupal, Kolab, Piwik, Apache, KDE, etc. Being part of the communities of these projects for me is a very special extra dimension that creates a lot of extra motivation and satisfaction. For me, open source isn’t so much of a choice it is simply the standard. Read more