Last active
July 12, 2016 10:43
-
-
Save RubenKelevra/31f10b3d66a7f22c08fc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
yum install yum-utils -y | |
package-cleanup --oldkernels --count=2 | |
find /lib/modules/$(uname -r)/extra -name "splat.ko" -or -name "zcommon.ko" -or -name "zpios.ko" -or -name "spl.ko" -or -name "zavl.ko" -or -name "zfs.ko" -or -name "znvpair.ko" -or -name "zunicode.ko" | xargs rm -f | |
find /lib/modules/$(uname -r)/weak-updates -name "splat.ko" -or -name "zcommon.ko" -or -name "zpios.ko" -or -name "spl.ko" -or -name "zavl.ko" -or -name "zfs.ko" -or -name "znvpair.ko" -or -name "zunicode.ko" | xargs rm -f | |
modprobe -r zfs | |
yum remove zfs zfs-dkms spl spl-dkms dkms -y | |
yum install zfs -y |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment