{"id":515,"date":"2011-01-17T20:33:47","date_gmt":"2011-01-18T01:33:47","guid":{"rendered":"http:\/\/www.shainmiley.com\/wordpress\/?p=515"},"modified":"2012-03-08T10:33:06","modified_gmt":"2012-03-08T15:33:06","slug":"native-linux-zfs-kernel-module-goes-ga","status":"publish","type":"post","link":"https:\/\/www.shainmiley.com\/wordpress\/2011\/01\/17\/native-linux-zfs-kernel-module-goes-ga\/","title":{"rendered":"Native Linux ZFS kernel module goes GA."},"content":{"rendered":"<p>UPDATE:\u00c2\u00a0If you are interested in ZFS on linux you have two options at this point:<\/p>\n<ul>\n<li><a href=\"http:\/\/zfsonlinux.org\/\" target=\"_blank\">zfsonlinux<\/a> (in kernel zfs support)<\/li>\n<li><a href=\"http:\/\/zfs-fuse.net\/\" target=\"_blank\">zfs-fuse<\/a> (userspace zfs support via fuse)<\/li>\n<\/ul>\n<p>I have been actively following the \u00c2\u00a0zfsonlinux project because once stable and ready it should offer\u00c2\u00a0superior performance due to the extra overhead that would be incurred by using fuse with the zfs-fuse project.<\/p>\n<p>You can read more about using zfsonlinux in another one of my posts <a title=\"zfsonlinux and gluster so far\u00e2\u20ac\u00a6.\" href=\"http:\/\/www.shainmiley.com\/wordpress\/2012\/03\/06\/zfsonlinux-and-gluster-so-far\/\" target=\"_blank\">here<\/a>.<\/p>\n<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br \/>\nEarlier this week\u00c2\u00a0<a href=\"http:\/\/www.kqinfotech.com\/\"> KQInfotech<\/a> released the latest latest build of their ZFS kernel modules for Linux. This version has been labeled GA and ready for wider testing (and maybe ready for production).<\/p>\n<p><a title=\"kqstor\" href=\"http:\/\/kqstor.com\" target=\"_blank\">KQStor<\/a> has been setup as a place where you can go to sign-up for an account, download the software and get additional support.<\/p>\n<p>The source code for the module can be found here:<\/p>\n<p><a title=\"source\" href=\"https:\/\/github.com\/zfs-linux\" target=\"_blank\">https:\/\/github.com\/zfs-linux<\/a><\/p>\n<p>Currently mounting of the root filesystem is not supported, however a post here, describes a procedure that can be used to do it.<\/p>\n<p>The users guide also hints at possible problems using &#8216;zfs rollback&#8217; under certain circumstances.\u00c2\u00a0 I have asked for more specific information on this issue, and I will pass along any other information I can uncover.<\/p>\n<p>After looking around the various mailing lists, this looks like it might be an <a title=\"issue\" href=\"http:\/\/zfs-fuse.net\/documentation\/known-issues\/zfs-rollback-not-working-corruption\" target=\"_blank\">issue<\/a> that exists with zfs-fuse, and thus the current version of the kernel module as well, since they share a lot of the same code.<\/p>\n<p><strong>Installation and usage:<\/strong><\/p>\n<p>Installation of the module is fairly simple, I downloaded the pre-packaged .deb packages for Ubuntu 10.10 server.<\/p>\n<pre id=\"terminal\">root@server1:\/root\/Deb_Package_Ubuntu10.10_2.6.35-22-server# dpkg -i *.deb<\/pre>\n<p>If all goes well you should be able to list the loaded modules:<\/p>\n<pre id=\"terminal\">root@server1:\/root\/Deb_Package_Ubuntu10.10_2.6.35-22-server# lsmod |grep zfs\r\nlzfs\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0 36377\u00c2\u00a0 3\r\nzfs\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0 968234\u00c2\u00a0 1 lzfs\r\nzcommon\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0 42172\u00c2\u00a0 1 zfs\r\nznvpair\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0 47541\u00c2\u00a0 2 zfs,zcommon\r\nzavl\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0 6915\u00c2\u00a0 1 zfs\r\nzlib_deflate\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0 21866\u00c2\u00a0 1 zfs\r\nzunicode\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0 323430\u00c2\u00a0 1 zfs\r\nspl\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0 116684\u00c2\u00a0 6 lzfs,zfs,zcommon,znvpair,zavl,zunicode<\/pre>\n<p>Now I can create a test pool:<\/p>\n<pre id=\"terminal\">root@server1:\/root#zpool create test-mirror mirror sdc sdd<\/pre>\n<p>Now check the status of the zpool:<\/p>\n<pre id=\"terminal\">root@server1:\/root# zpool status\r\npool: test-mirror\r\nstate: ONLINE\r\nscan: none requested\r\nconfig:\r\n\r\nNAME\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0 STATE\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0 READ WRITE CKSUM\r\ntest-mirror\u00c2\u00a0 ONLINE\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0 0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0 0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0 0\r\nmirror-0\u00c2\u00a0 ONLINE\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0 0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0 0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0 0\r\nsdc1\u00c2\u00a0\u00c2\u00a0 ONLINE\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0    0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0 0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0 0\r\nsdd1\u00c2\u00a0\u00c2\u00a0 ONLINE\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0    0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0 0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0 0<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>UPDATE:\u00c2\u00a0If you are interested in ZFS on linux you have two options at this point: zfsonlinux (in kernel zfs support) zfs-fuse (userspace zfs support via fuse) I have been actively following the \u00c2\u00a0zfsonlinux project because once stable and ready it should offer\u00c2\u00a0superior performance due to the extra overhead that would be incurred by using fuse [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[4,14],"tags":[],"_links":{"self":[{"href":"https:\/\/www.shainmiley.com\/wordpress\/wp-json\/wp\/v2\/posts\/515"}],"collection":[{"href":"https:\/\/www.shainmiley.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.shainmiley.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.shainmiley.com\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.shainmiley.com\/wordpress\/wp-json\/wp\/v2\/comments?post=515"}],"version-history":[{"count":30,"href":"https:\/\/www.shainmiley.com\/wordpress\/wp-json\/wp\/v2\/posts\/515\/revisions"}],"predecessor-version":[{"id":768,"href":"https:\/\/www.shainmiley.com\/wordpress\/wp-json\/wp\/v2\/posts\/515\/revisions\/768"}],"wp:attachment":[{"href":"https:\/\/www.shainmiley.com\/wordpress\/wp-json\/wp\/v2\/media?parent=515"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.shainmiley.com\/wordpress\/wp-json\/wp\/v2\/categories?post=515"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.shainmiley.com\/wordpress\/wp-json\/wp\/v2\/tags?post=515"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}