Apr 302013

Life just got better! It’s so nice I need to share this with you guys.

What do you know about file systems? Do you know ZFS?
– No: I suggest you learn it quickly ;)
– Yes: but only on Solaris or FreeBSD… Well the big news is NO MORE it’s now available on Linux.

ZFS was ported on Linux (as a kernel module not as user-space fuse) and it’s faster than EXT4 in some cases but I also read not always faster but keep in mind that is was not yet optimized. In any case ZFS is a much much better FS than any other filesystems and now we have it on Linux.

Wikipedia quote on ZFS  : “Data Integrity is a high priority in ZFS because recent research shows that none of the currently widespread file systems”.

While installing ZFS on Linux, it is compiled as a DKMS module so it will compile for the next Linux kernel update too. No worries. I tried it and to be more specific Linux kernel support now varies from 2.6 to 3.9. This covers most Linux distributions.

This is the announce I first read: ZFS On Linux Is Now Set For “Wide Scale Deployment” Posted by Michael Larabel on March 29, 2013

And I would also recommend looking at Inside HPC conference Videos:
2011: http://insidehpc.com/2011/04/14/video-zfs-on-linux-for-lustre/
2012: http://insidehpc.com/2012/04/24/video-sequoias-55pb-lustrezfs-filesystem/
2013: https://www.youtube.com/watch?v=j3bBg19YsKI

Main site: http://zfsonlinux.org/ and http://zfsonlinux.org/faq.html

Install repository data:
% yum localinstall –nogpgcheck http://archive.zfsonlinux.org/epel/zfs-release-1-2.el6.noarch.rpm

Install zfs and its dependencies:
% yum install zfs

I installed and use it on Linux SL63. To test it, I created hundreds of ZFS, snapshots, tested zfs send/receive data, copy delete sync.

How crazy is this using ZFS and yum update on the same Linux system!?

I still want to test a few things and I want to check if it can be a boot disk (I read yes in faq but…). Well on the first days of testing I am happy with this news. Hope it all goes well but with the support of Whamcloud (now a division of Intel) and the massive deployment at Lawrence Livermore National Laboratory (LLNL) I am feeling confident it’s going to be ok.

At first reboot, no zpool were present, a zfs startup script is provided and need to be set to start… so simply type:
% chkconfig –level 0123456 zfs on

Hope this help. leave a comment. ;)

Rejean

Leave a Reply

(required)

(required)