Kernel updated, broke zfs, but not listed in dkms

Issues related to applications and software problems
Post Reply
TrundleRumble
Posts: 5
Joined: 2018/08/01 06:55:11

Kernel updated, broke zfs, but not listed in dkms

Post by TrundleRumble » 2020/09/05 18:19:46

My kernel updated from

Code: Select all

3.10.0-1062.el7.x86_64 
to

Code: Select all

3.10.0-1127.18.2.el7.x86_64
I have

Code: Select all

zfs   0.7.13-1.el7_6
installed.

When I boot into the new kernel, /dev/zfs is missing and I cannot modprobe zfs it states no module found.

If I boot back into the old kernel, all is well.

However, even in the old kernel zfs does not look to be a dkms module as it is not present in dkms status, and when searching this issue it appears most people are using dkms modules?

What is the best way to fix this? I am thinking boot into new kernel and run:

Code: Select all

yum remove kmod-spl.x86_64  kmod-zfs.x86_64   libnvpair1.x86_64 libuutil1.x86_64  libzfs2.x86_64    libzpool2.x86_64  spl.x86_64 zfs.x86_64 zfs-release.noarch
(thats every package installed provided by the zfs-kmod repo)

and then reinstall with

Code: Select all

yum install zfs
matching kernel devel packages are installed for both kernels.

User avatar
TrevorH
Forum Moderator
Posts: 29493
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Kernel updated, broke zfs, but not listed in dkms

Post by TrevorH » 2020/09/05 18:48:07

You need to get updated zfs packages from the people that supplied your original ones. It's not something we ship but I believe they are pretty good at keeping up with updates so perhaps you need to make sure the zfs repo is enabled to pick up newer packages,
CentOS 6 will die in November 2020 - migrate sooner rather than later!
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 is dead, do not use it.
Full time Geek, part time moderator. Use the FAQ Luke

TrundleRumble
Posts: 5
Joined: 2018/08/01 06:55:11

Re: Kernel updated, broke zfs, but not listed in dkms

Post by TrundleRumble » 2020/09/05 19:20:08

Thanks, got it working.

Booted into the new kernel and did run

Code: Select all

yum remove kmod-spl.x86_64  kmod-zfs.x86_64   libnvpair1.x86_64 libuutil1.x86_64  libzfs2.x86_64    libzpool2.x86_64  spl.x86_64 zfs.x86_64 zfs-release.noarch
Then grabbed the 7.8 repo, and followed steps for switching to zfs-kmod here: https://openzfs.github.io/openzfs-docs/ ... entOS.html

and then just yum install zfs

attempting dkms style packages was throwing dependency errors at me but kABI-tracking kmod worked fine.

Post Reply

Return to “CentOS 7 - Software Support”