ZFS Kernel Module not Found after Ubuntu Distribution Update

By | May 6, 2014

This is the second time I step into this crap. Let’s save some handy commands for the future. After updating the distribution of my Ubuntu Server box, the ZFS kernel module is missing. I get the following error during the upgrade:

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.

I’m not sure what exactly helped, but installing all updates, rebooting and reinstalling zfs-dkms finally solved the problem:

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install --reinstall zfs-dkms

 

Leave a Reply

Your email address will not be published.