Package Details: zfs-linux-headers 2.3.4_6.16.10.arch1.1-1

Git Clone URL: https://aur.archlinux.org/zfs-linux.git (read-only, click to copy)
Package Base: zfs-linux
Description: Kernel headers for the Zettabyte File System.
Upstream URL: https://openzfs.org/
Keywords: kernel linux openzfs zfs
Licenses: CDDL
Conflicts: spl-dkms, spl-dkms-git, spl-headers, zfs-dkms, zfs-dkms-git, zfs-dkms-rc, zfs-headers
Provides: spl-headers, zfs-headers
Submitter: demizer
Maintainer: lightdot
Last Packager: lightdot
Votes: 276
Popularity: 0.058526
First Submitted: 2016-04-21 08:45 (UTC)
Last Updated: 2025-10-02 23:25 (UTC)

Pinned Comments

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

This package will be kept in sync with the latest openzfs 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.4 supports kernel versions 4.18 - 6.16. When kernel 6.17 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.

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 can 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

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

lightdot commented on 2025-09-26 10:33 (UTC) (edited on 2025-09-26 10:39 (UTC) by lightdot)

@Dracul, at the moment, Arch ships 6.16.8 as the latest kernel and OpenZFS 2.3.4 is compatible with it, so this package covers this combination.

I don't know why the repo you've mentioned didn't update to 6.16.8. It might be just a glitch or perhaps they found some issues with this kernel/OpenZFS combination and decided not to update. It would be best to ask them rather then guess.

Edit: this was the issue: https://github.com/archzfs/archzfs/issues/604

Dracul commented on 2025-09-26 03:29 (UTC)

Hi, I've added repo of archlinuxzfs but I've kernel version 6.16.7, on GitHub this is last one version, but here there is version 6.16.8. Why?

predmijat commented on 2025-09-10 16:51 (UTC)

@lightdot Ok, I've switched to this one, upgraded the whole system in the process, rebooted and it looks ok. Thanks for the feedback!

lightdot commented on 2025-09-10 14:15 (UTC)

@predmijat, in the mean time we found out that you didn't install the package from the AUR at all, so an AUR helper isn't likely to update it for you, as is. You could switch to this package, but that's up to you.

predmijat commented on 2025-09-10 08:04 (UTC)

@mellon Yes! That's why it worked with pacman -Syu.

@lightdot I still don't get how this should work with AUR helpers. I have yay installed but I'm running into the same issues.

In /etc/pacman.conf I commented out archzfs section. yay -Syu (clean build), it ran for quite some time and then:

error: failed to prepare transaction (could not satisfy dependencies)
:: installing linux (6.16.5.arch1-1) breaks dependency 'linux=6.14.6.arch1-1' required by zfs-linux
 -> error installing repo packages

Am I suppose to ignore package (either linux or zfs-linux), upgrade one and then the other? I think I'd like to avoid that...

lightdot commented on 2025-09-10 03:10 (UTC)

Unless something was changed recently, ZFS and kernel combinations in the experimental repo are not always kept compatible, keep that in mind.

meilon commented on 2025-09-09 21:00 (UTC)

@predmijat: If you didn't use AUR for zfs-linux you most likely used archzfs.com as a repo (which is currently stuck at linux 6.15.2). Maybe you should switch to the more up to date GitHub based mirror at https://github.com/archzfs/archzfs/releases/tag/experimental

predmijat commented on 2025-09-09 20:28 (UTC)

@lightdot, I'm positive I never ran AUR helper to upgrade ZFS though. pacman -Syu was everything I did (it would sometimes fail as zfs-linux and linux would be "out of sync", but it would eventually work).

I'm looking at the Arch Wiki for older versions of the ZFS page and it seems it's in AUR for a long time. If you can spare a minute and shed some light ( :) ) on that I'd appreciate it.

Tried running yay -Syu, it started the upgrade, did a bunch of stuff then failed with the same error:

...
resolving dependencies...
warning: cannot resolve "linux=6.15.2.arch1-1", a dependency of "zfs-linux"
:: The following package cannot be upgraded due to unresolvable dependencies:
      zfs-linux

:: Do you want to skip the above package for this upgrade? [y/N]
error: failed to prepare transaction (could not satisfy dependencies)
...

lightdot commented on 2025-09-09 17:13 (UTC)

@predmijat, zfs-linux is an AUR package, pacman can't be used to upgrade it.

Refer to Arch Wiki for more details about AUR. If you opt to use an AUR helper, I can recommend aurutils. But there are others, of course.

predmijat commented on 2025-09-09 11:34 (UTC)

In PKGBUILD I see that kernelver (Linux version) is set to 6.16.5.arch1-1.

If I do pacman -Si zfs-linux I see Depends On : kmod zfs-utils=2.3.3 linux=6.15.2.arch1-1. I tried rankmirrors and reflector, followed by pacman -Syy and pacman -Syu, but I still can't upgrade the system:

resolving dependencies... warning: cannot resolve "linux=6.15.2.arch1-1", a dependency of "zfs-linux"

Why does it say '6.15.2' if PKGBUILD says '6.16.5.arch1-1' (which BTW does match the current version of linux I see both on the website and with pacman -Si linux)?