Error when installing ubuntu-zfs

Posted by ubiquibacon on Ask Ubuntu See other posts from Ask Ubuntu or by ubiquibacon
Published on 2014-03-09T19:44:17Z Indexed on 2014/06/04 15:44 UTC
Read the original article Hit count: 250

Filed under:
|

I'm switching from FreeNAS to Ubuntu 12.04 LTS. After a vanilla install of Ubuntu has been completed I run the following commands in the order shown to install ZFS:

  1. apt-get install python-software-properties
  2. add-apt-repository ppa:zfs-native/stable
  3. apt-get -y -q update && apt-get -y -q upgrade
  4. apt-get install ubuntu-zfs

When the last command is run ZFS is installed and seems to be working correctly... mostly (more on that later). However, when the last command is run I get this error (full log here):

configure: error:
        *** Please make sure the kmod spl devel <kernel> package for your
        *** distribution is installed then try again.  If that fails you
        *** can specify the location of the spl objects with the
        *** '--with-spl-obj=PATH' option.

What is this error and how do I fix it?

Now I said mostly earlier because my pool's don't auto mount when the server restarts the way they should. All my reading (mostly from this page) indicates that mountall should just take care of the mounting. I have followed the instructions on that page and I cannot get mountall to work correctly. My pools will only auto mount on restart if I edit /etc/fstab or change the ZFS_MOUNT and ZFS_UNMOUNT options in /etc/default/zfs.

© Ask Ubuntu or respective owner

Related posts about 12.04

Related posts about zfs