Today I was trying to install ZFS on a CentOS 7 box. Typically rebooting the computer, the ZFS mododule will be turned on. However, it didn’t turn on in my case.
Failed to load ZFS module stack. Load the module manually by running 'insmod
/zfs.ko' as root.
So I tried to turn on the module:
#sudo modprobe zfs modprobe: ERROR: could not insert 'zfs': Required key not available.
Turn out this is a newer machine with UEFI available. It has something to do with the secure boot. After I reboot the machine and log in to the BIOS menu, turn on the secure boot feature, and everything is working again.
Have fun with ZFS.