Package Details: zfs-linux 2.3.1_6.13.8.arch1.1-1

Git Clone URL: https://aur.archlinux.org/zfs-linux.git (read-only, click to copy)
Package Base: zfs-linux
Description: Kernel modules for the Zettabyte File System.
Upstream URL: https://openzfs.org/
Keywords: kernel linux openzfs zfs
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: lightdot
Last Packager: lightdot
Votes: 275
Popularity: 1.42
First Submitted: 2016-04-21 08:45 (UTC)
Last Updated: 2025-03-25 23:55 (UTC)

Required by (19)

Sources (1)

Pinned Comments

lightdot commented on 2025-02-04 21:19 (UTC) (edited on 2025-03-27 13:02 (UTC) by lightdot)

This package will be kept in sync with the openzfs latest stable release and the kernels officially supported by it.

For the supported kernel versions, refer to the respective openzfs release notes (LINK).

E.g. openzfs 2.3.1 supports kernel versions 4.18 - 6.13. When the kernel 6.14 is released for Arch, zfs-linux will not be updated until the openzfs project announces that it's compatible. This will most likely happen with the next openzfs release.

The kernel compatibility of the upcoming openzfs release can be seen in their META file (LINK).

For those wishing to use openzfs with unsupported kernels, do note that this could lead to serious issues, including data loss, even though such a zfs-linux package might build and install cleanly. Have reliable backups and use such a package at your peril.

Please do not mark this package as out of date without checking the kernel compatibility first. Thank you!

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 .. 79 Next › Last »

baites commented on 2024-09-14 00:27 (UTC)

Is the project still maintained? We are almost at 6.10.10 and ZFS 2.6 is out.

Moggele commented on 2024-08-19 09:11 (UTC) (edited on 2024-08-19 09:11 (UTC) by Moggele)

yay -S zfs-linux

-> could not find all required packages: zfs-utils =2.2.4

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
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -18,8 +18,8 @@
 pkgbase="zfs-linux"
 pkgname=("zfs-linux" "zfs-linux-headers")
 _zfsver="2.2.4"
-_kernelver="6.9.2.arch1-1"
-_kernelver_full="6.9.2.arch1-1"
+_kernelver="6.9.3.arch1-1"
+_kernelver_full="6.9.3.arch1-1"
 _extramodules="${_kernelver_full/.arch/-arch}"

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
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -17,9 +17,9 @@
 #
 pkgbase="zfs-linux"
 pkgname=("zfs-linux" "zfs-linux-headers")
-_zfsver="2.2.3"
-_kernelver="6.8.8.arch1-1"
-_kernelver_full="6.8.8.arch1-1"
+_zfsver="2.2.4"
+_kernelver="6.8.9.arch1-2"
+_kernelver_full="6.8.9.arch1-2"
 _extramodules="${_kernelver_full/.arch/-arch}"

 pkgver="${_zfsver}_$(echo ${_kernelver} | sed s/-/./g)"
@@ -27,15 +27,12 @@ pkgrel=1
 makedepends=("linux-headers=${_kernelver}")
 arch=("x86_64")
 url="https://openzfs.org/"
-source=("https://github.com/openzfs/zfs/releases/download/zfs-${_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")
+source=("https://github.com/openzfs/zfs/releases/download/zfs-${_zfsver}/zfs-${_zfsver}.tar.gz")
+sha256sums=("9790905f7683d41759418e1ef3432828c31116654ff040e91356ff1c21c31ec0")
 license=("CDDL")
 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 (https://github.com/openzfs/zfs/issues/15930) affecting Linux 6.8. There is a PR that has a patch to fix this, which is PR #15931 (https://github.com/openzfs/zfs/pull/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 (https://github.com/openzfs/zfs/pull/15931/commits/a24f6e17c8cf75b5f551eb43019d41747c08891f) should resolve this issue.

2) This is also PR #15986 (https://github.com/openzfs/zfs/pull/15986) with commit 2b481b5477d3a95d0eab723c6639f7114e146ae1 (https://github.com/openzfs/zfs/pull/15986/commits/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 @@
 pkgbase="zfs-linux"
 pkgname=("zfs-linux" "zfs-linux-headers")
 _zfsver="2.2.3"
-_kernelver="6.7.8.arch1-1"
-_kernelver_full="6.7.8.arch1-1"
-_extramodules="${_kernelver_full/.arch/-arch}"
+_kernelver="6.8rc7-1"
+_kernelver_full="6.8.0-rc7-1"
+_extramodules="${_kernelver_full}-mainline"

 pkgver="${_zfsver}_$(echo ${_kernelver} | sed s/-/./g)"
 pkgrel=1
-makedepends=("linux-headers=${_kernelver}")
+makedepends=("linux-mainline-headers=${_kernelver}")
 arch=("x86_64")
 url="https://openzfs.org/"
 source=("https://github.com/openzfs/zfs/releases/download/zfs-${_zfsver}/zfs-${_zfsver}.tar.gz")
 sha256sums=("30a512f34ec5c841b8b2b32cc9c1a03fd49391b26c9164d3fb30573fb5d81ac3")
 license=("CDDL")
-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"