{"action":"created","issue":{"url":"https://api.github.com/repos/zfsonlinux/pkg-zfs/issues/181","repository_url":"https://api.github.com/repos/zfsonlinux/pkg-zfs","labels_url":"https://api.github.com/repos/zfsonlinux/pkg-zfs/issues/181/labels{/name}","comments_url":"https://api.github.com/repos/zfsonlinux/pkg-zfs/issues/181/comments","events_url":"https://api.github.com/repos/zfsonlinux/pkg-zfs/issues/181/events","html_url":"https://github.com/zfsonlinux/pkg-zfs/issues/181","id":114588386,"number":181,"title":"Debian jessie: no zfs 0.6.5.3","user":{"login":"Pentium100MHz","id":8972050,"avatar_url":"https://avatars.githubusercontent.com/u/8972050?v=3","gravatar_id":"","url":"https://api.github.com/users/Pentium100MHz","html_url":"https://github.com/Pentium100MHz","followers_url":"https://api.github.com/users/Pentium100MHz/followers","following_url":"https://api.github.com/users/Pentium100MHz/following{/other_user}","gists_url":"https://api.github.com/users/Pentium100MHz/gists{/gist_id}","starred_url":"https://api.github.com/users/Pentium100MHz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pentium100MHz/subscriptions","organizations_url":"https://api.github.com/users/Pentium100MHz/orgs","repos_url":"https://api.github.com/users/Pentium100MHz/repos","events_url":"https://api.github.com/users/Pentium100MHz/events{/privacy}","received_events_url":"https://api.github.com/users/Pentium100MHz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":45,"created_at":"2015-11-02T12:53:06Z","updated_at":"2016-03-22T03:50:02Z","closed_at":null,"body":"Hi, \r\nThe latest version available for Debian Jessie is 0.6.5.2-2. 0.6.3 Was released some time ago, why isn't it in the repository?"},"comment":{"url":"https://api.github.com/repos/zfsonlinux/pkg-zfs/issues/comments/199627142","html_url":"https://github.com/zfsonlinux/pkg-zfs/issues/181#issuecomment-199627142","issue_url":"https://api.github.com/repos/zfsonlinux/pkg-zfs/issues/181","id":199627142,"user":{"login":"azeemism","id":10731034,"avatar_url":"https://avatars.githubusercontent.com/u/10731034?v=3","gravatar_id":"","url":"https://api.github.com/users/azeemism","html_url":"https://github.com/azeemism","followers_url":"https://api.github.com/users/azeemism/followers","following_url":"https://api.github.com/users/azeemism/following{/other_user}","gists_url":"https://api.github.com/users/azeemism/gists{/gist_id}","starred_url":"https://api.github.com/users/azeemism/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azeemism/subscriptions","organizations_url":"https://api.github.com/users/azeemism/orgs","repos_url":"https://api.github.com/users/azeemism/repos","events_url":"https://api.github.com/users/azeemism/events{/privacy}","received_events_url":"https://api.github.com/users/azeemism/received_events","type":"User","site_admin":false},"created_at":"2016-03-22T03:50:02Z","updated_at":"2016-03-22T03:50:02Z","body":"The method below is a KMOD package install for ZFS v0.6.5.5-1 using service from v0.6.5.2-2 (official ZoL .deb's). I am no Guru, so for the Gurus out there, please provide your feedback/suggestions especially if you have tried/used/updated this method. \r\n\r\nThere are some errors in the make & make check, but these look to be related to additional files (such as service and init files etc) not included in the Debian (Jessie) ZoL GIT releases. See #197. So I am assuming these are safe to push through. \r\n\r\nIt would appear that adding the additional files is a large undertaking and falls under a feature request which is the reason for opening #197. ...I don't think there is such a thing as a simple script for the end user to solve everything on their own, so please don't hate on anyone especially @FransUrbo who has been giving the community official .deb's in the first place. It would be great if Debian could handle making official .deb's, but it may take 2 or more year. While there may be some momentum, I don't believe all the legal concerns have been addressed conclusively. In the interim, I am certainly not holding my breath. Having solid alternatives is essential not only for the end user, but also for ZoL IMO...or many users from a popular distro would automatically be excluded. ...And that is not something desirable for anyone.\r\n\r\n@FransUrbo please advise if this interim method is a suitable workaround, provide any suggestions and outline any pros/cons? Also advise if services from v0.6.5.2-2 can be used for successive ZFS versions...and for how long (what is/are the limiting factor(s) to look for)? Thanks.\r\n\r\nUninstall DKMS:\r\nzpool status\r\nzpool export <pool>\r\n\r\napt-get remove --purge debian-zfs\r\n\r\napt-get remove --purge libnvpair1 libuutil1 libzfs2 libzpool2 spl zfsutils dkms spl-dkms zfs-dkms zfs-initramfs zfsonlinux\r\n\r\nComment all line in (or delete) file:\r\nnano /etc/apt/sources.list.d/zfsonlinux.list\r\n\r\napt-get update\r\nreboot\r\n\r\nCheck startup log:\r\ncat /var/log/daemon.log | grep ZFS\r\n\r\nCheck version of ZFS module:\r\ndmesg | grep ZFS\r\n\r\nTo see nicely formatted output, type:\r\nlsmod\r\n\r\n(If needed | not tried) uninstall from compile for both:\r\nzfs\r\nspl\r\n\r\nmake uninstall\r\ndpkg -P spl\r\n\r\nBegin KMOD Install:\r\n\r\nVerify the following dependences are installed:\r\n\r\nhttp://www.graymatterboundaries.com/?p=496\r\napt-get install git autoconf libtool zlib1g-dev uuid-dev linux-headers-$(uname -r)\r\n\r\nhttp://zfsonlinux.org/generic-deb.html\r\napt-get install build-essential gawk alien fakeroot linux-headers-$(uname -r)\r\napt-get install zlib1g-dev uuid-dev libblkid-dev libselinux1-dev parted lsscsi wget\r\n\r\nmkdir /root/zol\r\ncd ~/zol\r\nmkdir v0.6.5.5\r\ncd v0.6.5.5\r\n\r\nDownload the zfs ans spl tarballs:\r\nwget https://github.com/zfsonlinux/zfs/releases/download/zfs-0.6.5.5/spl-0.6.5.5.tar.gz\r\nwget https://github.com/zfsonlinux/zfs/releases/download/zfs-0.6.5.5/zfs-0.6.5.5.tar.gz\r\n\r\nUnpack the tarballs:\r\ntar -zxvf zfs-0.6.5.5.tar.gz\r\ntar -zxvf spl-0.6.5.5.tar.gz\r\n\r\nRename the directories (is need):\r\nmv zfs-zfs-0.6.3-1.2 zfs\r\nmv spl-spl-0.6.3-1.2 spl\r\n\r\nMove into the spl directory:\r\ncd s*\r\n\r\nCreate the configure script (use the second one:\r\n(used the second one instead)  ./autogen.sh\r\n./autogen.sh --prefix=/usr\r\n\r\nCheck the linux header versions:\r\nls -l /lib/modules/`uname -r`/\r\nls -l /boot\r\nuname -r\r\n```\r\n3.16.0-4-amd64\r\n```\r\nRun the configure script:\r\n./configure --with-linux=/usr/src/linux-headers-3.16.0-4-common --with-linux-obj=/usr/src/linux-headers-3.16.0-4-amd64 --prefix=/usr\r\n\r\nCompile the package by running `make`\r\nmake\r\n```\r\nroot@vbox1:~/zol/v0.6.5.5/spl-0.6.5.5# make\r\nmake  all-recursive\r\nmake[1]: Entering directory '/root/zol/v0.6.5.5/spl-0.6.5.5'\r\nMaking all in include\r\nmake[2]: Entering directory '/root/zol/v0.6.5.5/spl-0.6.5.5/include'\r\nMaking all in fs\r\nmake[3]: Entering directory '/root/zol/v0.6.5.5/spl-0.6.5.5/include/fs'\r\nmake[3]: Nothing to be done for 'all'.\r\nmake[3]: Leaving directory '/root/zol/v0.6.5.5/spl-0.6.5.5/include/fs'\r\nMaking all in linux\r\nmake[3]: Entering directory '/root/zol/v0.6.5.5/spl-0.6.5.5/include/linux'\r\nmake[3]: Nothing to be done for 'all'.\r\nmake[3]: Leaving directory '/root/zol/v0.6.5.5/spl-0.6.5.5/include/linux'\r\nMaking all in rpc\r\nmake[3]: Entering directory '/root/zol/v0.6.5.5/spl-0.6.5.5/include/rpc'\r\nmake[3]: Nothing to be done for 'all'.\r\nmake[3]: Leaving directory '/root/zol/v0.6.5.5/spl-0.6.5.5/include/rpc'\r\nMaking all in sharefs\r\nmake[3]: Entering directory '/root/zol/v0.6.5.5/spl-0.6.5.5/include/sharefs'\r\nmake[3]: Nothing to be done for 'all'.\r\nmake[3]: Leaving directory '/root/zol/v0.6.5.5/spl-0.6.5.5/include/sharefs'\r\nMaking all in sys\r\nmake[3]: Entering directory '/root/zol/v0.6.5.5/spl-0.6.5.5/include/sys'\r\nMaking all in fm\r\nmake[4]: Entering directory '/root/zol/v0.6.5.5/spl-0.6.5.5/include/sys/fm'\r\nmake[4]: Nothing to be done for 'all'.\r\nmake[4]: Leaving directory '/root/zol/v0.6.5.5/spl-0.6.5.5/include/sys/fm'\r\nMaking all in fs\r\nmake[4]: Entering directory '/root/zol/v0.6.5.5/spl-0.6.5.5/include/sys/fs'\r\nmake[4]: Nothing to be done for 'all'.\r\nmake[4]: Leaving directory '/root/zol/v0.6.5.5/spl-0.6.5.5/include/sys/fs'\r\nMaking all in sysevent\r\nmake[4]: Entering directory '/root/zol/v0.6.5.5/spl-0.6.5.5/include/sys/sysevent'\r\nmake[4]: Nothing to be done for 'all'.\r\nmake[4]: Leaving directory '/root/zol/v0.6.5.5/spl-0.6.5.5/include/sys/sysevent'\r\nmake[4]: Entering directory '/root/zol/v0.6.5.5/spl-0.6.5.5/include/sys'\r\nmake[4]: Nothing to be done for 'all-am'.\r\nmake[4]: Leaving directory '/root/zol/v0.6.5.5/spl-0.6.5.5/include/sys'\r\nmake[3]: Leaving directory '/root/zol/v0.6.5.5/spl-0.6.5.5/include/sys'\r\nMaking all in util\r\nmake[3]: Entering directory '/root/zol/v0.6.5.5/spl-0.6.5.5/include/util'\r\nmake[3]: Nothing to be done for 'all'.\r\nmake[3]: Leaving directory '/root/zol/v0.6.5.5/spl-0.6.5.5/include/util'\r\nMaking all in vm\r\nmake[3]: Entering directory '/root/zol/v0.6.5.5/spl-0.6.5.5/include/vm'\r\nmake[3]: Nothing to be done for 'all'.\r\nmake[3]: Leaving directory '/root/zol/v0.6.5.5/spl-0.6.5.5/include/vm'\r\nmake[3]: Entering directory '/root/zol/v0.6.5.5/spl-0.6.5.5/include'\r\nmake[3]: Nothing to be done for 'all-am'.\r\nmake[3]: Leaving directory '/root/zol/v0.6.5.5/spl-0.6.5.5/include'\r\nmake[2]: Leaving directory '/root/zol/v0.6.5.5/spl-0.6.5.5/include'\r\nMaking all in rpm\r\nmake[2]: Entering directory '/root/zol/v0.6.5.5/spl-0.6.5.5/rpm'\r\nMaking all in generic\r\nmake[3]: Entering directory '/root/zol/v0.6.5.5/spl-0.6.5.5/rpm/generic'\r\nmake[3]: Nothing to be done for 'all'.\r\nmake[3]: Leaving directory '/root/zol/v0.6.5.5/spl-0.6.5.5/rpm/generic'\r\nMaking all in redhat\r\nmake[3]: Entering directory '/root/zol/v0.6.5.5/spl-0.6.5.5/rpm/redhat'\r\nmake[3]: Nothing to be done for 'all'.\r\nmake[3]: Leaving directory '/root/zol/v0.6.5.5/spl-0.6.5.5/rpm/redhat'\r\nmake[3]: Entering directory '/root/zol/v0.6.5.5/spl-0.6.5.5/rpm'\r\nmake[3]: Nothing to be done for 'all-am'.\r\nmake[3]: Leaving directory '/root/zol/v0.6.5.5/spl-0.6.5.5/rpm'\r\nmake[2]: Leaving directory '/root/zol/v0.6.5.5/spl-0.6.5.5/rpm'\r\nMaking all in lib\r\nmake[2]: Entering directory '/root/zol/v0.6.5.5/spl-0.6.5.5/lib'\r\n  CC       list.lo\r\n  CCLD     libcommon.la\r\nmake[2]: Leaving directory '/root/zol/v0.6.5.5/spl-0.6.5.5/lib'\r\nMaking all in cmd\r\nmake[2]: Entering directory '/root/zol/v0.6.5.5/spl-0.6.5.5/cmd'\r\n  CC       splat.o\r\n  CCLD     splat\r\nmake[2]: Leaving directory '/root/zol/v0.6.5.5/spl-0.6.5.5/cmd'\r\nMaking all in man\r\nmake[2]: Entering directory '/root/zol/v0.6.5.5/spl-0.6.5.5/man'\r\nMaking all in man1\r\nmake[3]: Entering directory '/root/zol/v0.6.5.5/spl-0.6.5.5/man/man1'\r\nmake[3]: Nothing to be done for 'all'.\r\nmake[3]: Leaving directory '/root/zol/v0.6.5.5/spl-0.6.5.5/man/man1'\r\nMaking all in man5\r\nmake[3]: Entering directory '/root/zol/v0.6.5.5/spl-0.6.5.5/man/man5'\r\nmake[3]: Nothing to be done for 'all'.\r\nmake[3]: Leaving directory '/root/zol/v0.6.5.5/spl-0.6.5.5/man/man5'\r\nmake[3]: Entering directory '/root/zol/v0.6.5.5/spl-0.6.5.5/man'\r\nmake[3]: Nothing to be done for 'all-am'.\r\nmake[3]: Leaving directory '/root/zol/v0.6.5.5/spl-0.6.5.5/man'\r\nmake[2]: Leaving directory '/root/zol/v0.6.5.5/spl-0.6.5.5/man'\r\nMaking all in scripts\r\nmake[2]: Entering directory '/root/zol/v0.6.5.5/spl-0.6.5.5/scripts'\r\nmake[2]: Nothing to be done for 'all'.\r\nmake[2]: Leaving directory '/root/zol/v0.6.5.5/spl-0.6.5.5/scripts'\r\nMaking all in module\r\nmake[2]: Entering directory '/root/zol/v0.6.5.5/spl-0.6.5.5/module'\r\nmake -C /usr/src/linux-headers-3.16.0-4-amd64 SUBDIRS=`pwd`  O=/usr/src/linux-headers-3.16.0-4-amd64 CONFIG_SPL=m modules\r\nmake[3]: Entering directory '/usr/src/linux-headers-3.16.0-4-amd64'\r\nMakefile:10: *** mixed implicit and normal rules: deprecated syntax\r\nmake[1]: Entering directory `/usr/src/linux-headers-3.16.0-4-amd64'\r\n  CC [M]  /root/zol/v0.6.5.5/spl-0.6.5.5/module/spl/spl-proc.o\r\n  CC [M]  /root/zol/v0.6.5.5/spl-0.6.5.5/module/spl/spl-kmem.o\r\n  CC [M]  /root/zol/v0.6.5.5/spl-0.6.5.5/module/spl/spl-kmem-cache.o\r\n  CC [M]  /root/zol/v0.6.5.5/spl-0.6.5.5/module/spl/spl-vmem.o\r\n  CC [M]  /root/zol/v0.6.5.5/spl-0.6.5.5/module/spl/spl-thread.o\r\n  CC [M]  /root/zol/v0.6.5.5/spl-0.6.5.5/module/spl/spl-taskq.o\r\n  CC [M]  /root/zol/v0.6.5.5/spl-0.6.5.5/module/spl/spl-rwlock.o\r\n  CC [M]  /root/zol/v0.6.5.5/spl-0.6.5.5/module/spl/spl-vnode.o\r\n  CC [M]  /root/zol/v0.6.5.5/spl-0.6.5.5/module/spl/spl-err.o\r\n  CC [M]  /root/zol/v0.6.5.5/spl-0.6.5.5/module/spl/spl-kobj.o\r\n  CC [M]  /root/zol/v0.6.5.5/spl-0.6.5.5/module/spl/spl-generic.o\r\n  CC [M]  /root/zol/v0.6.5.5/spl-0.6.5.5/module/spl/spl-atomic.o\r\n  CC [M]  /root/zol/v0.6.5.5/spl-0.6.5.5/module/spl/spl-mutex.o\r\n  CC [M]  /root/zol/v0.6.5.5/spl-0.6.5.5/module/spl/spl-kstat.o\r\n  CC [M]  /root/zol/v0.6.5.5/spl-0.6.5.5/module/spl/spl-condvar.o\r\n  CC [M]  /root/zol/v0.6.5.5/spl-0.6.5.5/module/spl/spl-xdr.o\r\n  CC [M]  /root/zol/v0.6.5.5/spl-0.6.5.5/module/spl/spl-cred.o\r\n  CC [M]  /root/zol/v0.6.5.5/spl-0.6.5.5/module/spl/spl-tsd.o\r\n  CC [M]  /root/zol/v0.6.5.5/spl-0.6.5.5/module/spl/spl-zlib.o\r\n  LD [M]  /root/zol/v0.6.5.5/spl-0.6.5.5/module/spl/spl.o\r\n  CC [M]  /root/zol/v0.6.5.5/spl-0.6.5.5/module/splat/splat-ctl.o\r\n  CC [M]  /root/zol/v0.6.5.5/spl-0.6.5.5/module/splat/splat-kmem.o\r\n  CC [M]  /root/zol/v0.6.5.5/spl-0.6.5.5/module/splat/splat-taskq.o\r\n  CC [M]  /root/zol/v0.6.5.5/spl-0.6.5.5/module/splat/splat-random.o\r\n  CC [M]  /root/zol/v0.6.5.5/spl-0.6.5.5/module/splat/splat-mutex.o\r\n  CC [M]  /root/zol/v0.6.5.5/spl-0.6.5.5/module/splat/splat-condvar.o\r\n  CC [M]  /root/zol/v0.6.5.5/spl-0.6.5.5/module/splat/splat-thread.o\r\n  CC [M]  /root/zol/v0.6.5.5/spl-0.6.5.5/module/splat/splat-rwlock.o\r\n  CC [M]  /root/zol/v0.6.5.5/spl-0.6.5.5/module/splat/splat-time.o\r\n  CC [M]  /root/zol/v0.6.5.5/spl-0.6.5.5/module/splat/splat-vnode.o\r\n  CC [M]  /root/zol/v0.6.5.5/spl-0.6.5.5/module/splat/splat-kobj.o\r\n  CC [M]  /root/zol/v0.6.5.5/spl-0.6.5.5/module/splat/splat-atomic.o\r\n  CC [M]  /root/zol/v0.6.5.5/spl-0.6.5.5/module/splat/splat-list.o\r\n  CC [M]  /root/zol/v0.6.5.5/spl-0.6.5.5/module/splat/splat-generic.o\r\n  CC [M]  /root/zol/v0.6.5.5/spl-0.6.5.5/module/splat/splat-cred.o\r\n  CC [M]  /root/zol/v0.6.5.5/spl-0.6.5.5/module/splat/splat-zlib.o\r\n  CC [M]  /root/zol/v0.6.5.5/spl-0.6.5.5/module/splat/splat-linux.o\r\n  LD [M]  /root/zol/v0.6.5.5/spl-0.6.5.5/module/splat/splat.o\r\n  Building modules, stage 2.\r\n  MODPOST 2 modules\r\n  CC      /root/zol/v0.6.5.5/spl-0.6.5.5/module/spl/spl.mod.o\r\n  LD [M]  /root/zol/v0.6.5.5/spl-0.6.5.5/module/spl/spl.ko\r\n  CC      /root/zol/v0.6.5.5/spl-0.6.5.5/module/splat/splat.mod.o\r\n  LD [M]  /root/zol/v0.6.5.5/spl-0.6.5.5/module/splat/splat.ko\r\nmake[3]: Leaving directory '/usr/src/linux-headers-3.16.0-4-amd64'\r\nmake[2]: Leaving directory '/root/zol/v0.6.5.5/spl-0.6.5.5/module'\r\nmake[2]: Entering directory '/root/zol/v0.6.5.5/spl-0.6.5.5'\r\nmake[2]: Nothing to be done for 'all-am'.\r\nmake[2]: Leaving directory '/root/zol/v0.6.5.5/spl-0.6.5.5'\r\nmake[1]: Leaving directory '/root/zol/v0.6.5.5/spl-0.6.5.5'\r\n```\r\n\r\nTest the results of the compiled package:\r\nmake check\r\n```\r\nroot@vbox1:~/zol/v0.6.5.5/spl-0.6.5.5# make check\r\nMaking check in include\r\nmake[1]: Entering directory '/root/zol/v0.6.5.5/spl-0.6.5.5/include'\r\nMaking check in fs\r\nmake[2]: Entering directory '/root/zol/v0.6.5.5/spl-0.6.5.5/include/fs'\r\nmake[2]: Nothing to be done for 'check'.\r\nmake[2]: Leaving directory '/root/zol/v0.6.5.5/spl-0.6.5.5/include/fs'\r\nMaking check in linux\r\nmake[2]: Entering directory '/root/zol/v0.6.5.5/spl-0.6.5.5/include/linux'\r\nmake[2]: Nothing to be done for 'check'.\r\nmake[2]: Leaving directory '/root/zol/v0.6.5.5/spl-0.6.5.5/include/linux'\r\nMaking check in rpc\r\nmake[2]: Entering directory '/root/zol/v0.6.5.5/spl-0.6.5.5/include/rpc'\r\nmake[2]: Nothing to be done for 'check'.\r\nmake[2]: Leaving directory '/root/zol/v0.6.5.5/spl-0.6.5.5/include/rpc'\r\nMaking check in sharefs\r\nmake[2]: Entering directory '/root/zol/v0.6.5.5/spl-0.6.5.5/include/sharefs'\r\nmake[2]: Nothing to be done for 'check'.\r\nmake[2]: Leaving directory '/root/zol/v0.6.5.5/spl-0.6.5.5/include/sharefs'\r\nMaking check in sys\r\nmake[2]: Entering directory '/root/zol/v0.6.5.5/spl-0.6.5.5/include/sys'\r\nMaking check in fm\r\nmake[3]: Entering directory '/root/zol/v0.6.5.5/spl-0.6.5.5/include/sys/fm'\r\nmake[3]: Nothing to be done for 'check'.\r\nmake[3]: Leaving directory '/root/zol/v0.6.5.5/spl-0.6.5.5/include/sys/fm'\r\nMaking check in fs\r\nmake[3]: Entering directory '/root/zol/v0.6.5.5/spl-0.6.5.5/include/sys/fs'\r\nmake[3]: Nothing to be done for 'check'.\r\nmake[3]: Leaving directory '/root/zol/v0.6.5.5/spl-0.6.5.5/include/sys/fs'\r\nMaking check in sysevent\r\nmake[3]: Entering directory '/root/zol/v0.6.5.5/spl-0.6.5.5/include/sys/sysevent'\r\nmake[3]: Nothing to be done for 'check'.\r\nmake[3]: Leaving directory '/root/zol/v0.6.5.5/spl-0.6.5.5/include/sys/sysevent'\r\nmake[3]: Entering directory '/root/zol/v0.6.5.5/spl-0.6.5.5/include/sys'\r\nmake[3]: Nothing to be done for 'check-am'.\r\nmake[3]: Leaving directory '/root/zol/v0.6.5.5/spl-0.6.5.5/include/sys'\r\nmake[2]: Leaving directory '/root/zol/v0.6.5.5/spl-0.6.5.5/include/sys'\r\nMaking check in util\r\nmake[2]: Entering directory '/root/zol/v0.6.5.5/spl-0.6.5.5/include/util'\r\nmake[2]: Nothing to be done for 'check'.\r\nmake[2]: Leaving directory '/root/zol/v0.6.5.5/spl-0.6.5.5/include/util'\r\nMaking check in vm\r\nmake[2]: Entering directory '/root/zol/v0.6.5.5/spl-0.6.5.5/include/vm'\r\nmake[2]: Nothing to be done for 'check'.\r\nmake[2]: Leaving directory '/root/zol/v0.6.5.5/spl-0.6.5.5/include/vm'\r\nmake[2]: Entering directory '/root/zol/v0.6.5.5/spl-0.6.5.5/include'\r\nmake[2]: Nothing to be done for 'check-am'.\r\nmake[2]: Leaving directory '/root/zol/v0.6.5.5/spl-0.6.5.5/include'\r\nmake[1]: Leaving directory '/root/zol/v0.6.5.5/spl-0.6.5.5/include'\r\nMaking check in rpm\r\nmake[1]: Entering directory '/root/zol/v0.6.5.5/spl-0.6.5.5/rpm'\r\nMaking check in generic\r\nmake[2]: Entering directory '/root/zol/v0.6.5.5/spl-0.6.5.5/rpm/generic'\r\nmake[2]: Nothing to be done for 'check'.\r\nmake[2]: Leaving directory '/root/zol/v0.6.5.5/spl-0.6.5.5/rpm/generic'\r\nMaking check in redhat\r\nmake[2]: Entering directory '/root/zol/v0.6.5.5/spl-0.6.5.5/rpm/redhat'\r\nmake[2]: Nothing to be done for 'check'.\r\nmake[2]: Leaving directory '/root/zol/v0.6.5.5/spl-0.6.5.5/rpm/redhat'\r\nmake[2]: Entering directory '/root/zol/v0.6.5.5/spl-0.6.5.5/rpm'\r\nmake[2]: Nothing to be done for 'check-am'.\r\nmake[2]: Leaving directory '/root/zol/v0.6.5.5/spl-0.6.5.5/rpm'\r\nmake[1]: Leaving directory '/root/zol/v0.6.5.5/spl-0.6.5.5/rpm'\r\nMaking check in lib\r\nmake[1]: Entering directory '/root/zol/v0.6.5.5/spl-0.6.5.5/lib'\r\nmake[1]: Nothing to be done for 'check'.\r\nmake[1]: Leaving directory '/root/zol/v0.6.5.5/spl-0.6.5.5/lib'\r\nMaking check in cmd\r\nmake[1]: Entering directory '/root/zol/v0.6.5.5/spl-0.6.5.5/cmd'\r\nmake[1]: Nothing to be done for 'check'.\r\nmake[1]: Leaving directory '/root/zol/v0.6.5.5/spl-0.6.5.5/cmd'\r\nMaking check in man\r\nmake[1]: Entering directory '/root/zol/v0.6.5.5/spl-0.6.5.5/man'\r\nMaking check in man1\r\nmake[2]: Entering directory '/root/zol/v0.6.5.5/spl-0.6.5.5/man/man1'\r\nmake[2]: Nothing to be done for 'check'.\r\nmake[2]: Leaving directory '/root/zol/v0.6.5.5/spl-0.6.5.5/man/man1'\r\nMaking check in man5\r\nmake[2]: Entering directory '/root/zol/v0.6.5.5/spl-0.6.5.5/man/man5'\r\nmake[2]: Nothing to be done for 'check'.\r\nmake[2]: Leaving directory '/root/zol/v0.6.5.5/spl-0.6.5.5/man/man5'\r\nmake[2]: Entering directory '/root/zol/v0.6.5.5/spl-0.6.5.5/man'\r\nmake[2]: Nothing to be done for 'check-am'.\r\nmake[2]: Leaving directory '/root/zol/v0.6.5.5/spl-0.6.5.5/man'\r\nmake[1]: Leaving directory '/root/zol/v0.6.5.5/spl-0.6.5.5/man'\r\nMaking check in scripts\r\nmake[1]: Entering directory '/root/zol/v0.6.5.5/spl-0.6.5.5/scripts'\r\nscripts/check.sh\r\n/bin/bash: scripts/check.sh: No such file or directory\r\nMakefile:478: recipe for target 'check' failed\r\nmake[1]: *** [check] Error 127\r\nmake[1]: Leaving directory '/root/zol/v0.6.5.5/spl-0.6.5.5/scripts'\r\nMakefile:579: recipe for target 'check-recursive' failed\r\nmake: *** [check-recursive] Error 1\r\n```\r\nAssume push through the errors as script files are not in the tarball.\r\n\r\nCreate the .deb packages:\r\nmake deb-utils deb-kmod\r\n\r\nView packages created:\r\nls -l | grep .deb\r\n\r\nInstall .deb files:\r\ndpkg -i -R *.deb\r\n\r\nOR:\r\ndpkg -i \\\r\nkmod-spl-3.16.0-4-amd64_0.6.5.5-1_amd64.deb \\\r\nkmod-spl-devel_0.6.5.5-1_amd64.deb \\\r\nkmod-spl-devel-3.16.0-4-amd64_0.6.5.5-1_amd64.deb \\\r\nspl_0.6.5.5-1_amd64.deb\r\n\r\nOpen the ZFS directory:\r\ncd /root/zol/v0.6.5.5/zfs-0.6.5.5\r\n\r\n(If reconfiguration is needed) run:\r\nmake clean\r\nmake clean distclean\r\n\r\nCreate the configure script:\r\n(used the second one instead) # ./autogen.sh\r\n./autogen.sh --prefix=/usr\r\n\r\nRun the configuration script:\r\n./configure --with-spl=/root/zol/v0.6.5.5/spl-0.6.5.5 --with-spl-obj=/root/zol/v0.6.5.5/spl-0.6.5.5 --with-linux=/usr/src/linux-headers-3.16.0-4-common --with-linux-obj=/usr/src/linux-headers-3.16.0-4-amd64 --prefix=/usr\r\n\r\nCompile the program from source:\r\nmake\r\n\r\nCheck the compile:\r\nmake check\r\n```\r\n==================================== ZTEST ====================================\r\n\r\n5 vdevs, 7 datasets, 23 threads, 300 seconds...\r\nloading space map for vdev 0 of 1, metaslab 6 of 14 ...\r\nloading space map for vdev 0 of 1, metaslab 8 of 14 ...\r\nPass   1, Complete,   0 ENOSPC, 21.9% of  304M used,  25% done,    3m45s to go\r\nloading space map for vdev 0 of 1, metaslab 18 of 19 ...\r\n67.2M completed (  22MB/s) estimated time remaining: 34172hr 50min 38sec        Pass   2,  SIGKILL,   0 ENOSPC, 10.0% of  752M used,  31% done,    3m27s to go\r\nloading space map for vdev 2 of 3, metaslab 0 of 14 ....\r\n68.5M completed (  22MB/s) estimated time remaining: 0hr 00min 00sec        Pass   3,  SIGKILL,   0 ENOSPC, 11.5% of  752M used,  41% done,    2m56s to go\r\nloading space map for vdev 2 of 3, metaslab 2 of 14 ....\r\n72.5M completed (  14MB/s) estimated time remaining: 0hr 00min 00sec        Pass   4,  SIGKILL,   0 ENOSPC, 11.5% of  976M used,  53% done,    2m20s to go\r\nloading space map for vdev 3 of 4, metaslab 0 of 14 ....\r\n 105M completed (  17MB/s) estimated time remaining: 0hr 00min 00sec        Pass   5,  SIGKILL,   0 ENOSPC, 12.5% of 1.17G used,  75% done,    1m16s to go\r\nloading space map for vdev 4 of 5, metaslab 0 of 14 ....\r\n 149M completed (  18MB/s) estimated time remaining: 0hr 00min 00sec        Pass   6,  SIGKILL,   0 ENOSPC, 12.1% of 1.17G used,  80% done,      59s to go\r\nloading space map for vdev 4 of 5, metaslab 1 of 14 ....\r\n 144M completed (  23MB/s) estimated time remaining: 0hr 00min 00sec        Pass   7,  SIGKILL,   0 ENOSPC, 12.2% of 1.17G used,  90% done,      29s to go\r\nloading space map for vdev 4 of 5, metaslab 2 of 14 ....\r\n 124M completed (  20MB/s) estimated time remaining: 0hr 00min 01sec        Pass   8,  SIGKILL,   0 ENOSPC, 12.2% of 1.17G used,  94% done,      16s to go\r\nloading space map for vdev 4 of 5, metaslab 3 of 14 ....\r\n 145M completed (  20MB/s) estimated time remaining: 0hr 00min 00sec        Pass   9, Complete,   0 ENOSPC, 12.6% of 1.17G used, 100% done,       0s to go\r\nloading space map for vdev 4 of 5, metaslab 4 of 14 ....\r\n 127M completed (  18MB/s) estimated time remaining: 0hr 00min 01sec        7 killed, 2 completed, 78% kill rate\r\n\r\n\r\n=================================== ZCONFIG ===================================\r\n\r\n1    persistent zpool.cache             Pass\r\n2    scan disks for pools to import     Pass\r\n3    zpool import/export device         Fail (4)\r\nMakefile:857: recipe for target 'check' failed\r\nmake[1]: *** [check] Error 4\r\nmake[1]: Leaving directory '/root/zol/v0.6.5.5/zfs-0.6.5.5/scripts'\r\nMakefile:674: recipe for target 'check-recursive' failed\r\nmake: *** [check-recursive] Error 1\r\nroot@vbox1:~/zol/v0.6.5.5/zfs-0.6.5.5#\r\n```\r\nAssume push through the errors as script files are not in the tarball.\r\n\r\nMake the  .deb install packages:\r\nmake deb-utils deb-kmod\r\n\r\nInstall .deb files:\r\ndpkg -i -R *.deb\r\n\r\nOR:\r\nls -l | grep .deb\r\n\r\ndpkg -i \\\r\nkmod-zfs-3.16.0-4-amd64_0.6.5.5-1_amd64.deb \\\r\nkmod-zfs-devel_0.6.5.5-1_amd64.deb \\\r\nkmod-zfs-devel-3.16.0-4-amd64_0.6.5.5-1_amd64.deb \\\r\nlibnvpair1_0.6.5.5-1_amd64.deb \\\r\nlibuutil1_0.6.5.5-1_amd64.deb \\\r\nlibzfs2_0.6.5.5-1_amd64.deb \\\r\nlibzfs2-devel_0.6.5.5-1_amd64.deb \\\r\nlibzpool2_0.6.5.5-1_amd64.deb \\\r\nzfs_0.6.5.5-1_amd64.deb \\\r\nzfs-dracut_0.6.5.5-1_amd64.deb \\\r\nzfs-initramfs_0.6.5.5-1_amd64.deb \\\r\nzfs-test_0.6.5.5-1_amd64.deb\r\n\r\nUpdate the RAM file:\r\ncd /boot\r\nupdate-initramfs -c -k all\r\n\r\nCopy files from:\r\ncp -av /root/zol/v0.6.5.5/zfs-0.6.5.5/etc/systemd/system/50-zfs.preset /lib/systemd/system-preset/50-zfs.preset\r\n\r\nSee:\r\n[Feature Request] Add additional files (such as service and init files etc) for Debian (Jessie) into the ZoL GIT releases\r\nhttps://github.com/zfsonlinux/pkg-zfs/issues/197\r\n\r\nFor the KMOD install am using the service files from the v0.6.5.2-2\r\n\r\nUncomment the following two line in the file:\r\nnano /etc/apt/sources.list.d/zfsonlinux.list\r\n```\r\ndeb [arch=amd64] http://archive.zfsonlinux.org/debian jessie main\r\ndeb-src http://archive.zfsonlinux.org/debian jessie main\r\n```\r\nDownload the packages(without installing it)\r\ncd /root/zol/tmp\r\napt-get download zfsutils\r\n```\r\nroot@vbox1:~/zol/tmp# apt-get download zfsutils\r\nGet:1 http://archive.zfsonlinux.org/debian/ jessie/main zfsutils amd64 0.6.5.2-2 [383 kB]\r\nFetched 383 kB in 1s (216 kB/s)\r\n```\r\nhttp://askubuntu.com/questions/463380/difference-between-apt-get-d-install-apt-get-download\r\nBy default apt-get -d install will save .deb in /var/cache/apt/archives and apt-get download in current directory\r\n\r\nUnpack the debs:\r\ndpkg -x zfsutils_0.6.5.2-2_amd64.deb /tmp/zol\r\n\r\nCopy the service files:\r\ncp -av /tmp/zol/lib/systemd/system/* /lib/systemd/system/\r\n\r\nhttp://superuser.com/questions/138587/how-to-copy-symbolic-links\r\nI use cp -av for most of my heavy copying. That way, I can preserve everything - even recursively - and see the output. \r\n```\r\nroot@vbox1:~# ls -l /lib/systemd/system | grep 'zfs*'\r\n-rw-r--r-- 1 root root  342 Oct  2 05:37 zfs-import-cache.service\r\n-rw-r--r-- 1 root root  343 Oct  2 05:37 zfs-import-scan.service\r\nlrwxrwxrwx 1 root root    9 Oct  2 05:37 zfs-import.service -> /dev/null\r\n-rw-r--r-- 1 root root  353 Oct  2 05:37 zfs-mount.service\r\n-rw-r--r-- 1 root root  294 Oct  2 05:37 zfs-share.service\r\n-rw-r--r-- 1 root root  152 Oct  2 05:37 zfs.target\r\n-rw-r--r-- 1 root root  179 Oct  2 05:37 zfs-zed.service\r\n```\r\nEnable the services:\r\nsystemctl enable zfs-zed.service\r\nsystemctl enable zfs-import-cache.service\r\nsystemctl enable zfs-import-scan.service\r\nsystemctl enable zfs-mount.service\r\nsystemctl enable zfs-share.service\r\nsystemctl enable zfs.target\r\n\r\n\r\nComment all lines in zfsonlinux.list:\r\nnano /etc/apt/sources.list.d/zfsonlinux.list\r\napt-get update\r\n\r\nreboot\r\n\r\nCheck the status of services (note no pool was created at this point so there is no cache):\r\n```\r\nroot@vbox1:~# systemctl status 'zfs*'\r\n● zfs-mount.service - Mount ZFS filesystems\r\n   Loaded: loaded (/lib/systemd/system/zfs-mount.service; static)\r\n   Active: active (exited) since Mon 2016-03-21 18:44:19 PDT; 1min 9s ago\r\n  Process: 445 ExecStart=/sbin/zfs mount -a (code=exited, status=0/SUCCESS)\r\n Main PID: 445 (code=exited, status=0/SUCCESS)\r\n   CGroup: /system.slice/zfs-mount.service\r\n\r\n● zfs-share.service - ZFS file system shares\r\n   Loaded: loaded (/lib/systemd/system/zfs-share.service; static)\r\n   Active: active (exited) since Mon 2016-03-21 18:44:19 PDT; 1min 9s ago\r\n  Process: 716 ExecStart=/sbin/zfs share -a (code=exited, status=0/SUCCESS)\r\n  Process: 676 ExecStartPre=/bin/rm /etc/dfs/sharetab (code=exited, status=0/SUCCESS)\r\n Main PID: 716 (code=exited, status=0/SUCCESS)\r\n   CGroup: /system.slice/zfs-share.service\r\n\r\n● zfs-zed.service - ZFS Event Daemon (zed)\r\n   Loaded: loaded (/lib/systemd/system/zfs-zed.service; static)\r\n   Active: active (running) since Mon 2016-03-21 18:44:19 PDT; 1min 9s ago\r\n     Docs: man:zed(8)\r\n Main PID: 677 (zed)\r\n   CGroup: /system.slice/zfs-zed.service\r\n           └─677 /sbin/zed -F\r\n\r\nMar 21 18:44:19 vbox1 zed[677]: ZFS Event Daemon 0.6.5.5-1 (PID 677)\r\nMar 21 18:44:19 vbox1 zed[677]: Processing events since eid=0\r\n\r\n● zfs-import-cache.service - Import ZFS pools by cache file\r\n   Loaded: loaded (/lib/systemd/system/zfs-import-cache.service; static)\r\n   Active: inactive (dead)\r\n           start condition failed at Mon 2016-03-21 18:44:19 PDT; 1min 9s ago\r\n           ConditionPathExists=/etc/zfs/zpool.cache was not met\r\n\r\n● zfs-import-scan.service - Import ZFS pools by device scanning\r\n   Loaded: loaded (/lib/systemd/system/zfs-import-scan.service; static)\r\n   Active: active (exited) since Mon 2016-03-21 18:44:19 PDT; 1min 9s ago\r\n  Process: 443 ExecStart=/sbin/zpool import -d /dev/disk/by-id -aN (code=exited, status=0/SUCCESS)\r\n  Process: 362 ExecStartPre=/sbin/modprobe zfs (code=exited, status=0/SUCCESS)\r\n Main PID: 443 (code=exited, status=0/SUCCESS)\r\n   CGroup: /system.slice/zfs-import-scan.service\r\n\r\nMar 21 18:44:19 vbox1 zpool[443]: no pools available to import\r\n\r\nroot@vbox1:~# systemctl status 'zfs.target'\r\n● zfs.target - ZFS startup target\r\n   Loaded: loaded (/lib/systemd/system/zfs.target; enabled)\r\n   Active: active since Mon 2016-03-21 18:44:19 PDT; 2min 17s ago\r\n```\r\nCheck startup log:\r\ncat /var/log/daemon.log | grep ZFS\r\n```\r\nroot@vbox1:~# cat /var/log/daemon.log | grep ZFS\r\nMar 21 18:44:19 vbox1 zed[677]: ZFS Event Daemon 0.6.5.5-1 (PID 677)\r\n```\r\nView installed zfs packages:\r\n```\r\nroot@vbox1:~# dpkg -l | grep zfs\r\nii  kmod-zfs-3.16.0-4-amd64        0.6.5.5-1                   amd64        zfs kernel module(s) for 3.16.0-4-amd64\r\nii  kmod-zfs-devel                 0.6.5.5-1                   amd64        zfs kernel module(s) devel common\r\nii  kmod-zfs-devel-3.16.0-4-amd64  0.6.5.5-1                   amd64        zfs kernel module(s) devel for 3.16.0-4-amd64\r\nii  libzfs2                        0.6.5.5-1                   amd64        Native ZFS filesystem library for Linux\r\nii  libzfs2-devel                  0.6.5.5-1                   amd64        Development headers\r\nii  zfs                            0.6.5.5-1                   amd64        Commands to control the kernel modules and libraries\r\nii  zfs-dracut                     0.6.5.5-1                   amd64        Dracut module\r\nii  zfs-initramfs                  0.6.5.5-1                   amd64        Initramfs module\r\nii  zfs-test                       0.6.5.5-1                   amd64        Test infrastructure\r\n```\r\n"}}