{"id":543,"date":"2011-01-19T18:33:37","date_gmt":"2011-01-19T23:33:37","guid":{"rendered":"http:\/\/www.shainmiley.com\/wordpress\/?p=543"},"modified":"2012-03-08T10:31:54","modified_gmt":"2012-03-08T15:31:54","slug":"native-linux-zfs-kernel-module-and-stability","status":"publish","type":"post","link":"https:\/\/www.shainmiley.com\/wordpress\/2011\/01\/19\/native-linux-zfs-kernel-module-and-stability\/","title":{"rendered":"Native Linux ZFS kernel module and stability."},"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>\u00c2\u00a0(in kernel zfs support)<\/li>\n<li><a href=\"http:\/\/zfs-fuse.net\/\" target=\"_blank\">zfs-fuse<\/a>\u00c2\u00a0(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\u00a0surperior performance due to the extra overhead that would be incurred by using fuse with the zfs-fuse project.<\/p>\n<p>You can see another one of my posts concerning zfsonlinux <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;-<\/p>\n<p>There was a question posted in response to my previous blog post found <a title=\"here\" href=\"http:\/\/www.shainmiley.com\/wordpress\/?p=515\" target=\"_blank\">here<\/a>, about the stability of the native Linux ZFS kernel module release. I thought I would just make a post out of my response:<\/p>\n<p>So far I have been able to perform some limited testing (given that the GA code was just released earlier this week), some time ago I had been given access to the beta builds,\u00c2\u00a0 so I had done some initial testing using those, I configured\u00c2\u00a0two mirrored vdevs consisting of two drives each. It seemed relatively stable as far as I was concerned, as I stated in my previous post&#8230;there is a known issue with the &#8216;zfs rollback&#8217; command&#8230;which I tested using the GA release,\u00c2\u00a0 and I did in fact have problems with.<\/p>\n<p>The work around at this point seems to be to perform a reboot after the rollback and then a &#8216;zfs scrub&#8217; on the pool after the reboot. Personally I am hoping this gets fixed soon, because not everyone has the same level of flexibility, when it comes to rebooting their servers and storage nodes.<\/p>\n<p>As far as I understand it, this module really consists of three pieces:<\/p>\n<p>1)SPL -\u00c2\u00a0 a Linux kernel module which provides many of the Solaris kernel APIs. This layer makes it possible to run Solaris kernel code in the Linux kernel with relatively minimal modification.<br \/>\n2)ZFS &#8211; a Linux kernel module which provides a fully functional and stable SPA, DMU, and ZVOL layer.<br \/>\n3)LZFS &#8211; a Linux kernel module which provides the necessary POSIX layer.<\/p>\n<p>Pieces #1 and #2 have been available for a while and are derived from code taken from the ZFS on Linux project found <a title=\"zfsonlinux\" href=\"http:\/\/zfsonlinux.org\/\" target=\"_blank\">here<\/a>. The folks at KQ Infotech are really building on that and providing piece #3, the missing POSIX layer.<\/p>\n<p>Only time will tell how stable the code really is, my opinion at this point is that most software projects have some number of\u00c2\u00a0known bugs that exist (and even more have some unknown number of bugs as well), I know I am going to continue to test in a non production environment for the next few months.\u00c2\u00a0 At this point I have not experienced any instability (other then what was discussed above) or crashing, all the commands seem to work as advertised, there are a lot of features I have not been able to test yet, such as dedup, compression, etc, so there is lots more to look at in the upcoming weeks.<\/p>\n<p>KQStor&#8217;s business model seems to be one where the source code is provided and support is charged for.\u00c2\u00a0 So far I have been able to have an open and productive dialog with their developers, and they have been very responsive to my inquiries, however it does not appear that they are going to be setting public tools such as mailing lists or\u00c2\u00a0forums, due to their current business model.\u00c2\u00a0 I am hoping that this will change in the near future, as I truly believe that everyone will be able to benefit from those kinds of public repositories, and there is no doubt in my mind that such tools will only lead to a more stable product in the long run.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>UPDATE:\u00c2\u00a0If you are interested in ZFS on linux you have two options at this point: zfsonlinux\u00c2\u00a0(in kernel zfs support) zfs-fuse\u00c2\u00a0(userspace zfs support via fuse) I have been actively following the \u00c2\u00a0zfsonlinux project because once stable and ready it should offer\u00c2\u00a0surperior performance due to the extra overhead that would be incurred by using fuse with the [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3,14],"tags":[],"_links":{"self":[{"href":"https:\/\/www.shainmiley.com\/wordpress\/wp-json\/wp\/v2\/posts\/543"}],"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=543"}],"version-history":[{"count":7,"href":"https:\/\/www.shainmiley.com\/wordpress\/wp-json\/wp\/v2\/posts\/543\/revisions"}],"predecessor-version":[{"id":1131,"href":"https:\/\/www.shainmiley.com\/wordpress\/wp-json\/wp\/v2\/posts\/543\/revisions\/1131"}],"wp:attachment":[{"href":"https:\/\/www.shainmiley.com\/wordpress\/wp-json\/wp\/v2\/media?parent=543"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.shainmiley.com\/wordpress\/wp-json\/wp\/v2\/categories?post=543"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.shainmiley.com\/wordpress\/wp-json\/wp\/v2\/tags?post=543"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}