After I had my Fedora 24 upgraded to 25 on my desktop, ZFS no longer worked. I tried to remove zfs package and reinstalled; it didn’t work.
Here’s how I got it working after trying many things. There could be a different way to fix it, though.
Let’s check the version of the kernel:
[root@sangkae ~]# uname -r
4.8.13-300.fc25.x86_64
Check if spl, zfs are already installed:
[root@sangkae ~]# dnf info spl
Last metadata expiration check: 1:01:18 ago on Thu Dec 15 22:42:25 2016.
Installed Packages
Name : spl
Arch : x86_64
Epoch : 0
Version : 0.6.5.8
Release : 1.fc25
Size : 48 k
Repo : @System
From repo : zfs
Summary : Commands to control the kernel modules
URL : http://zfsonlinux.org/
License : GPLv2+
Description : This package contains the commands to verify the SPL
: kernel modules are functioning properly.
[root@sangkae ~]# dnf info zfs
Last metadata expiration check: 1:01:26 ago on Thu Dec 15 22:42:25 2016.
Installed Packages
Name : zfs
Arch : x86_64
Epoch : 0
Version : 0.6.5.8
Release : 1.fc25
Size : 808 k
Repo : @System
From repo : zfs
Summary : Commands to control the kernel modules and libraries
URL : http://zfsonlinux.org/
License : CDDL
Description : This package contains the ZFS command line utilities.
Manually install spl, dkms:
# dkms install spl/0.6.5.8
# dkms install zfs/0.6.5.8
Load zfs module:
# modprobe zfs
Voilla, I got ZFS working again.