Package Details: zfs-dkms 2.3.2-1

Git Clone URL: https://aur.archlinux.org/zfs-dkms.git (read-only, click to copy)
Package Base: zfs-dkms
Description: Kernel modules for the Zettabyte File System.
Upstream URL: https://zfsonlinux.org/
Licenses: CDDL
Provides: SPL-MODULE, zfs, ZFS-MODULE
Submitter: isiachi
Maintainer: kstolp
Last Packager: kstolp
Votes: 188
Popularity: 2.27
First Submitted: 2015-08-31 12:01 (UTC)
Last Updated: 2025-05-03 09:40 (UTC)

Pinned Comments

kstolp commented on 2025-04-29 16:56 (UTC) (edited on 2025-05-03 09:40 (UTC) by kstolp)

OpenZFS currently supports Linux kernel versions 4.18 - 6.14, as declared in the META file.

Options if your Linux kernel's version is not within that range:

1) Switch to another Linux kernel, such as linux-lts.

2) Prevent your kernel package from upgrading to an unsupported version until OpenZFS increases the maximum supported kernel version.

3) Modify this package to support your kernel by patching it on your local machine.

kstolp commented on 2023-09-29 00:34 (UTC)

When requesting changes, please include detailed reasoning for the change.

kstolp commented on 2023-01-07 09:31 (UTC)

If you receive this error when trying to build, it is because you have not imported the GPG keys used for verification.

==> ERROR: One or more PGP signatures could not be verified!

You have two options:

1) Import the two keys into your keyring. ArchWiki article. You can find the key IDs in the PKGBUILD file, in the validpgpkeys array. (recommended)

2) Alternatively, you can skip this verification by passing the --skippgpcheck argument to makepkg when building. (not recommended)

Latest Comments

« First ‹ Previous 1 .. 55 56 57 58 59 60 61 62 63 64 65 66 Next › Last »

<deleted-account> commented on 2017-04-12 09:31 (UTC)

@masteroman I have the same issue, I use an alpm hook (https://www.archlinux.org/pacman/alpm-hooks.5.html) to workaround it: 1. Place this hook in /usr/share/libalpm/hooks/60-dkms-install-zfs.hook, this should execute before the default 70-dkms-install.hook [Trigger] Operation = Install Operation = Upgrade Type = File Target = usr/src/sql-*/dkms.conf Target = usr/src/zfs-*/dkms.conf Target = usr/lib/modules/*/kernel/ [Action] Description = Installing ZFS Depends = dkms When = PostTransaction Exec = /usr/share/libalpm/hooks/dkms-install-zfs 2. Place this script in the same directory as the hook and make it executable: #!/bin/bash set -o errexit set -o nounset set -o xtrace install_module() { local module="${1}" local kernel="${2}" for m in $(ls /usr/src); do if [[ "${m}" =~ ^"${module}"-(.*)$ ]]; then dkms install "${module}/${BASH_REMATCH[1]}" -k "${kernel}" fi done } for kernel in $(ls /usr/lib/modules); do if [[ -d "/usr/lib/modules/${kernel}/kernel" ]]; then install_module spl "${kernel}" install_module zfs "${kernel}" fi done this will make sure spl gets installed before zfs, it works for my setup. @isiachi would you consider adding something like this to be part of this package to make it work out of the box?

masteroman commented on 2017-04-07 10:05 (UTC)

Am I wrong or there's wrong order of DKMS installations? Every upgrade of the kernel on my machine fails because of the missing SPL which happens because there's following order of commands: 1. DKMS removes spl and zfs kernel modules 2. DKMS installs zfs kernel module --> fails because of the missing spl module 3. DKMS installs spl module Then I need to manually issue dkms install zfs module.

RubenKelevra commented on 2017-03-13 16:55 (UTC)

@thunderforce I don't try to _install_ but update the package, don't know how you got the thought I would try to install it. @isiachi Nope, you package is broken not an aurhelper script. This is a plane stupid "works for me" reason from your side. If you say "my package need version=xyz" and you want to upgrade the package and the next version has the dependency "I need version=abc" it cannot be upgraded. As well as the dependency cannot be upgraded, because it's a needed dependency with this version for an installed version. I would say, yes this could be fixed in pacman, if they add a layer of complexity: copy all installed package versions, change them to the new versions and checking all constrains. But since this is not done, your package uses a not compatible way of adding a constrain. Since you update both packages at the same time, you could simply add a "higher than xyz" on the zfs package and it would work while updating.

RubenKelevra commented on 2017-03-13 16:44 (UTC)

This package is now again not working with the official kernel package since the compability patches for Linux 4.10 are missing. Please fix this

bus commented on 2017-03-12 17:05 (UTC)

@fow0ryl I use zfs-dkms and I have no problem installing zfs-auto-snapshot-git either with pacaur or with makepkg. Try downloading the PKGBUILD file and installing it with makepkg.

fow0ryl commented on 2017-03-10 19:23 (UTC)

I'm new on manjaro (arch based linux). So I may be wrong. But to me, it looks like that "provides zfs" in zfs-dkms doesn't work. I have zfs running, so I'm sure that zfs-dkms works as expected. But when I try to install i.e. zfs-auto-snapshot-git, which depends on zfs it doesn't recognise "zfs" and try's to install linux...-zfs. Then when I remove depends('zfs') or change is to depends('zfs-dkms') in PKGBUILD of zfs-auto-snapshot-git everything went fine. When I do a "pacman -R zfs" I get "not found" too.

isiachi commented on 2017-02-20 20:47 (UTC)

@thunderforce Thanks for the help! I have already explained that is a aur helper related problem in this comment: isiachi commented on 2016-09-20 19:45

thunderforce commented on 2017-02-20 07:55 (UTC)

@RubenKelevra, not sure why you're trying to install this package, but while trying to use VirtualBox and a google search I ended up here. This fixed the DKMS hook for me: wget https://archive.archlinux.org/packages/l/linux-headers/linux-headers-4.9.8-1-x86_64.pkg.tar.xz sudo pacman -U linux-headers-4.9.8-1-x86_64.pkg.tar.xz .. :: Running post-transaction hooks... (1/2) Install DKMS modules ==> dkms install vboxhost/5.1.14_OSE -k 4.9.8-1-ARCH (2/2) Arming ConditionNeedsUpdate... .. hope it's helpful

RubenKelevra commented on 2017-02-14 02:58 (UTC)

Still issues with a simple update because this PKGBUILD depends on a given version: loading packages... resolving dependencies... looking for conflicting packages... error: failed to prepare transaction (could not satisfy dependencies) :: zfs-dkms: installing spl-dkms (0.6.5.9-1) breaks dependency 'spl-dkms=0.6.5.8'

RubenKelevra commented on 2017-02-12 14:55 (UTC)

Friday is now two days gone, so where's the update, mate?