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:
apt-get install python-software-properties
apt-get -y -q update && apt-get -y -q upgrade
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_UNMOUNT options in