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

Rugged 3.5-inch SBC runs Linux or Android on i.MX6

Logic Supply has introduced a “ICM-3011” 3.5-inch board with a dual-core i.MX6, wide-range power input, and extended temperature support. Like the recent Pico-ITX form factor ICM-2010 SBC that’s also available in an ICS-2010 mini-PC, the ICM-3011 was built by Taipei-based Embux, and is being distributed and supported by Logic Supply. Like the ICM-2010, the $253 ICM-3011 runs on the 1GHz, dual-core DualLite version of NXP’s Cortex-A9-based i.MX6 SoC. It similarly is supported by images for Android 5.0.2 “Lollipop,” Yocto “Daisy” Linux 1.6.2, or Ubuntu Linux 12.04. Read more

Qt 5 based Colorpick

Colorpick is one of my little side-projects. It is a tool to select colors. It comes with a screen color picker and the ability to check two colors contrast well enough to be used as foreground and background colors of a text. Read more

Raspberry Pi Foundation's Code Club teaches kids skills to compete in our digital world

For some time, the UK's technology sector has been concerned about finding the right skilled workers to fill jobs in the future. This predicted "digital skills gap" warns that unless we help people to become confident with technology now, we will be facing a huge shortage in skilled workers in the future. One way to overcome the digital skills gap is to invest in training and education for the next generation. Code Club is a network of free coding clubs for primary school students, and all of the projects we work on are open source. There are over 4,500 Code Clubs currently in the UK, reaching an estimated 75,000 children. Read more

The long-awaited Maru OS source release

Hey guys, I'm happy to announce that Maru has been fully open-sourced under The Maru OS Project! There are many reasons that led me to open-source Maru (https://blog.maruos.com/2016/02/11/maru-is-open-source/), but a particularly important one is expanding Maru's device support with the help of the community. If you'd like to help out with a device port (even just offering to test a new build helps a lot), let the community know on the device port planning list (https://groups.google.com/forum/#!topic/maru-os-dev/YufKu...) . We currently have a few Nexus, LG, and Motorola builds being planned. If you don't see your device on there and would like to help with development or testing, please do chip in and we'll get it added to the list. Read more