Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FATAL: Module zfs not found in directory /lib/modules/4.18.0-193.6.3.el8_2.x86_64 #10465

Closed
jamielsharief opened this issue Jun 16, 2020 · 7 comments

Comments

@jamielsharief
Copy link

I am trying to install ZFS on Redhat 8.1 but sudo lsmod | grep zfs returns nothing, and when i run sudo modprobe zfs I get FATAL: Module zfs not found in directory /lib/modules/4.18.0-193.6.3.el8_2.x86_64

Here are my installation instructions

yum install http://download.zfsonlinux.org/epel/zfs-release.el8_1.noarch.rpm
yum-config-manager --disable zfs
yum-config-manager --enable zfs-kmod
yum install zfs
reboot
@rgessner
Copy link

4.18.0-193.6.3.el8_2.x86_64

Looks like you are runing CentOS 8.2.2004 (wich was released yesterday).
Take a look at /etc/redhat-release on your system.

There are no kmod packages for 8.2 at this point.

@jamielsharief
Copy link
Author

I have tried on both Redhat 8.1 and CentOS 8.1, and it seems you are right, at some point the system is getting upgraded from 8.1 to 8.2

$ cat /etc/redhat-release 
CentOS Linux release 8.2.2004 (Core) 

@rgessner
Copy link

i opened #10466 for the issue of the missing packages for 8.2

@jamielsharief
Copy link
Author

Thats great!!! Right now a simple update of the system breaks everything. Thanks for your help.

@jamielsharief
Copy link
Author

Just wanted to get back and say thanks, 23 hours later, its working. My first issue was downloading driver 8.1 for 8.2, then installing 8.1 and updating to 8.2 as part of my initial server setup. doh!!!

@nickcolea
Copy link

Just wanted to get back and say thanks, 23 hours later, its working. My first issue was downloading driver 8.1 for 8.2, then installing 8.1 and updating to 8.2 as part of my initial server setup. doh!!!

Did you manage to update the kMod zfs driver from the 8.1 repo? Or are you using DKMS?

I couldn't update from 8.1 the kmod package as it's still compiled for 4.18.147. :(

@jamielsharief
Copy link
Author

jamielsharief commented Jun 17, 2020

Just wanted to get back and say thanks, 23 hours later, its working. My first issue was downloading driver 8.1 for 8.2, then installing 8.1 and updating to 8.2 as part of my initial server setup. doh!!!

Did you manage to update the kMod zfs driver from the 8.1 repo? Or are you using DKMS?

I couldn't update from 8.1 the kmod package as it's still compiled for 4.18.147. :(

On the ZFS page is particular instructions for upgrading, I am doing this on a fresh install. This is how I am doing this, note don't run yum update or dnf update as that will mess things up.

$ yum install yum-utils
$ yum install http://download.zfsonlinux.org/epel/zfs-release.el8_1.noarch.rpm
$ yum-config-manager --disable zfs
$ yum-config-manager --enable zfs-kmod
$ yum install zfs
$ reboot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants