Package Details: zfs-linux 2.2.4_6.9.5.arch1.1-1

Git Clone URL: (read-only, click to copy)
Package Base: zfs-linux
Description: Kernel modules for the Zettabyte File System.
Upstream URL:
Licenses: CDDL
Groups: archzfs-linux
Conflicts: spl-dkms, spl-dkms-git, spl-linux, zfs-dkms, zfs-dkms-git, zfs-dkms-rc, zfs-linux-git, zfs-linux-rc
Provides: spl, zfs
Replaces: spl-linux
Submitter: demizer
Maintainer: minextu (archzfs-bot)
Last Packager: archzfs-bot
Votes: 270
Popularity: 2.95
First Submitted: 2016-04-21 08:45 (UTC)
Last Updated: 2024-06-17 18:54 (UTC)

Required by (19)

Sources (1)

Latest Comments

1 2 3 4 5 6 .. 78 Next › Last »

jimreynold2nd commented on 2024-06-11 19:53 (UTC)

This seems to work fine with the latest kernel:

diff --git a/PKGBUILD b/PKGBUILD
index 0c50475..b9b9af6 100644
@@ -18,8 +18,8 @@
 pkgname=("zfs-linux" "zfs-linux-headers")

nl6720 commented on 2024-05-20 15:36 (UTC)

Why are the kernel modules placed in an extra (/usr/lib/modules/6.9.1-arch1-1/extra/) instead of an extramodules (/usr/lib/modules/6.9.1-arch1-1/extramodules/) directory? Other out-of-tree kernel modules (e.g. nvidia, virtualbox-host-modules-arch) are in extramodules.

travis.hegner commented on 2024-05-09 13:57 (UTC)

This patch for the PKGBUILD should work with the zfs 2.2.4 release and the 6.8.9.arch1-2 kernel.

diff --git a/PKGBUILD b/PKGBUILD
index 22166f5..4562ccc 100644
@@ -17,9 +17,9 @@
 pkgname=("zfs-linux" "zfs-linux-headers")

 pkgver="${_zfsver}_$(echo ${_kernelver} | sed s/-/./g)"
@@ -27,15 +27,12 @@ pkgrel=1
-source=("${_zfsver}/zfs-${_zfsver}.tar.gz" "enforce-kernel-max-version.patch" "linux-6.8-compat.patch" "kernel-6.8-meta.patch")
-sha256sums=("30a512f34ec5c841b8b2b32cc9c1a03fd49391b26c9164d3fb30573fb5d81ac3" "c5a9f546638c706844d5aff99f40366db1684679c3318d3a4093e0746748a711" "b875c877069a4c75c7b2b4b22d048e66f415b86f862ef6b3b83d3524694cc973" "1bc3b2e79e481b1bf41e78f9d142de8e97326288ecdc97f8db65496b7c4fd63b")
 depends=("kmod" "zfs-utils=${_zfsver}" "linux=${_kernelver}")
 prepare() {
     cd "${srcdir}/zfs-${_zfsver}"
-    patch -Np1 -i ${srcdir}/enforce-kernel-max-version.patch
-    patch -Np1 -i ${srcdir}/linux-6.8-compat.patch
-    patch -Np1 -i ${srcdir}/kernel-6.8-meta.patch

 build() {

dburger commented on 2024-03-12 20:54 (UTC)

As a heads-up, given that linux/linux-zen 6.8 are in extra-testing currently and I suspect they'll release within the new few days, there are a few items of note to be aware of on the ZFS side for Linux 6.8:

1) Open issue #15930 ( affecting Linux 6.8. There is a PR that has a patch to fix this, which is PR #15931 ( It's slated for inclusion into ZFS 2.2.4 I believe, but hasn't been backported to 2.2.4-staging as of yet from what I gather. However, I believe that pulling in and applying commit a24f6e17c8cf75b5f551eb43019d41747c08891f ( should resolve this issue.

2) This is also PR #15986 ( with commit 2b481b5477d3a95d0eab723c6639f7114e146ae1 ( to be aware of, as this will likely affect building ZFS against newer kernels, which while compatibility patches might have been merged, are still not officially supported (e.g. -- Linux 6.8 in this case), as ZFS tends to lag behind mainline kernel, as I'm sure everyone is aware.

I don't believe either of those commits have been merged into master or backported as of yet skimming them, but it looks like they're both going to be fairly important to keep in mind for Linux 6.8 and moving forward.

xpixelz commented on 2024-03-08 13:02 (UTC) (edited on 2024-03-08 13:04 (UTC) by xpixelz)

In case anyone else like myself needs zfs in Linux 6.8 (linux-mainline{,-headers} 6.8rc7-1):

--- PKGBUILD    2024-03-08 02:14:59.198394383 +0100
+++ PKGBUILD-patched-for-68     2024-03-08 02:13:13.434847473 +0100
@@ -18,19 +18,19 @@
 pkgname=("zfs-linux" "zfs-linux-headers")

 pkgver="${_zfsver}_$(echo ${_kernelver} | sed s/-/./g)"
-depends=("kmod" "zfs-utils=${_zfsver}" "linux=${_kernelver}")
+depends=("kmod" "zfs-utils=${_zfsver}" "linux-mainline=${_kernelver}")

 build() {
         cd "${srcdir}/zfs-${_zfsver}"

terryg137 commented on 2023-11-12 05:32 (UTC)

The CI seems to be failing again since two weeks ago. Any updates?

invocateur commented on 2023-07-17 06:13 (UTC)

Hello, zfs-linux is marked-out-of-date. Cannot resolve "linux=6.4.2.arch1-1", a dependency of "zfs-linux"

ginger commented on 2023-05-22 05:07 (UTC)

@justinuliu, there was a blocking bug upstream in zfsonlinux that prevented compiling on the 6.3 series kernels. That appears to have been fixed, but the kernel revision has incremented rapidly. The fix appears to be in the testing repo, so I would expect it to be released shortly here in stable.