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

Why a Chrome OS and Android merger isn't what we really need

Lately I've been giving this question quite a bit of thought. I depend on both Chrome OS and Android. I use them throughout every day and would find my process a bit more challenging without them. When it was first announced that Chrome OS would be able to run Android apps, my initial thoughts were positive; I considered this move by Google to be the most logical step forward. It was clearly the best way to compete with the Microsoft Surface and to bring more users into the fold. Although chromebooks continually sell incredibly well, some consider Chrome OS to be less than a legitimate platform. Why? The lack of native apps. And that is why Google gave life to the Android Play Store on Chrome OS (at least for certain devices). Read more

Zorin OS 12.1 Adds Linux Kernel 4.8 and Updated Graphics Stack from Ubuntu 16.10

After announcing the release of Zorin OS 12 Business Edition last week, the developers behind the popular Ubuntu-based operating system unleashed the first point release to the Zorin OS 12 series. That's right, we're talking about Zorin OS 12.1, which comes three months after the launch of Zorin OS 12 in November 2016 as the biggest release ever of the Linux distro. Zorin OS 12.1 is now based on Canonical's recently released Ubuntu 16.04.2 LTS (Xenial Xerus) operating system, which ships with updated kernel and graphics stacks from Ubuntu 16.10 (Yakkety Yak). Read more

Events: g2k16 Hackathon, SUSE Hackweek, LinuxFest Northwest 2017

  • g2k16 Hackathon Report: Matthieu Herrb on xenodm
    I started the hackathon by upgrading a number of packages in Xenocara. The most noteworthy being the XCB (X protocol C-language Bindings) suite updated to the most recent 1.12 version.
  • Hackweek projet: Let's Encrypt DNS-01 validation for acme.sh with Gandi LiveDNS
    Last week was SUSE Hackweek and one of my projects was to get Let's Encrypt configured and working on my NAS. Let's Encrypt is a project aimed at providing SSL certificates for free, in an automated way.
  • openSUSE at LinuxFest Northwest 2017
    LinuxFest Northwest 2017, coming up the first weekend in May, promises to continue its tradition of providing a unique, active, fun experience for open-source enthusiasts at all experience levels. openSUSE continues its long-term sponsorship of the event, and we are looking forward to having a lot of fun! Submit your session proposals by March 1, 2017! LinuxFest Northwest, if you’re not familiar, is one of the largest community-centric conferences in the USA, and a free+libre event (no attendance fees and registration is optional) promoting open source, open hardware, and community involvement. Now in its 16th year, with an audience rapidly approaching 2,000 people, the event continues to grow, attract a broader audience, and redefine the experience of a weekend conference. With a Linux Game Den, a Robotics Lab, a Job Fair (new this year), community mini-summits, as well as the expo hall and 8 – 10 parallel tracks of sessions, LFNW is a week of conference stuffed into a weekend.

OSS Leftovers

  • How to get started in open source software
    A friend pointed me to the Open Source Guides website, a collection of resources for individuals, communities, and companies who want to learn how to run and contribute to an open source project. I thought it was very interesting for new contributors, so I thought I'd share it here.
  • Is Open Source the Future of Wall Street?
    Richard Craib, the South African technology guru and founder of nontraditional hedge fund Numerai, is hoping for nothing short of completely restructuring the hedge fund industry. Numerai has recently created a new type of digital currency, a so-called "digital token," which is based on the internet and which aims to help crowdsource data-sharing and decisionmaking among Wall Street professionals. If the idea catches on, it could mean a significant shift for the way that investors do business; typically, it has been everyone-for-himself, with managers guarding their strategies and ideas closely in an attempt to gain the upper edge over every competitor. Is it possible that Craib could bring about a Wall Street in which investors actually work together in a collaborative way?
  • Mozilla acquires read-it-later app Pocket, will open-source the code
    Mozilla, the company behind the Firefox browser, today announced that it has acquired Pocket, the startup that develops an app for saving articles and other content. Terms of the deal weren’t disclosed. The Pocket code will become a part of the Mozilla open-source project, Mozilla chief business and legal officer Denelle Dixon-Thayer wrote in a blog post.
  • Google Releases E2EMail to Open Source
    The ongoing struggle to provide encrypted email solutions that aren’t on a PGP level of complexity and difficulty is a real challenge. Google’s attempt at it, called E2EMail, was introduced more than a year ago as an effort to give users a Chrome app that allows for the simple exchange of private emails. On Friday, Google cut it loose to open source.
  • Google End-to-End encrypted email code goes open-source
    Google has announced that E2EMail, an experimental end-to-end encryption system, has now been given to the open-source community with no strings attached.