ZFS rc13 was just released. I will update the package when kernel 3.6.11 is released to core.
Search Criteria
Package Details: zfs-linux-headers 2.3.2_6.14.6.arch1.1-1
Package Actions
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: | 1.34 |
First Submitted: | 2016-04-21 08:45 (UTC) |
Last Updated: | 2025-05-11 21:15 (UTC) |
Dependencies (4)
- kmod (kmod-gitAUR)
- linux
- zfs-utilsAUR (zfs-utils-gitAUR, zfs-linux-gitAUR, zfs-utils-staging-gitAUR)
- linux-headers (make)
Required by (0)
Sources (1)
demizer commented on 2012-12-20 23:33 (UTC)
proxypoke commented on 2012-12-17 12:05 (UTC)
@chenxiaolong:
Thanks, that worked like a charm. For anyone else who follows this advice, remember to `depmod -a` after building ZFS, else zfs and zpool won't find the newly installed modules.
Take note that without any options to configure, man pages and some other things aren't installed. It should be enough to just copy the flags from the PKGBUILD to fix that.
demizer commented on 2012-12-15 18:41 (UTC)
I have updated the packages to pkgrel 8 fixing the initial ramdisk generation after installing the updated zfs package in cases of using zfs in the hooks array in mkinitcpio.conf.
demizer commented on 2012-12-15 06:21 (UTC)
!IMPORTANT!
For users that are using ZFS as root, there is a problem with the current package when generating the ramdisk with mkinitcpio. The problem is that once the kernel is installed, the mkinitcpio is initiated before the ZFS packages have been installed. This produces errors because mkinitcpio cannot find the ZFS binaries needed by the install hook.
To fix this, use:
# depmod -a 3.6.10-1-ARCH
# mkinitcpio -p linux
demizer commented on 2012-12-15 05:49 (UTC)
The packages and repository have been updated for kernel 3.6.10.
demizer commented on 2012-12-14 17:14 (UTC)
Indeed, ZFS does not build against Kernel 3.7. In order not to have these packages be flagged out of date for an extended period of time, I have created patches for ZFS and SPL including the fixes from the ZOL master branches and packaged them using pkgrel 8.
http://demizerone.com/archzfs/pkgsrc/aur/spl-utils-0.6.0_rc12-8.src.tar.gz
http://demizerone.com/archzfs/pkgsrc/aur/spl-0.6.0_rc12-8.src.tar.gz
http://demizerone.com/archzfs/pkgsrc/aur/zfs-utils-0.6.0_rc12-8.src.tar.gz
http://demizerone.com/archzfs/pkgsrc/aur/zfs-0.6.0_rc12-8.src.tar.gz
The patch includes all the changes made up until the last release. ZOL is very weird in how they make releases, they are no rhyme or reason to them, they just happen and it seems anything that touches the master branch is stable. I have been running these updated packages for a couple days without incident.
I also have the packages for 3.6.10 ready to go (pkgrel-7), I am just waiting for 3.6.10 to hit [core].
http://demizerone.com/archzfs/pkgsrc/aur/spl-utils-0.6.0_rc12-7.src.tar.gz
http://demizerone.com/archzfs/pkgsrc/aur/spl-0.6.0_rc12-7.src.tar.gz
http://demizerone.com/archzfs/pkgsrc/aur/zfs-utils-0.6.0_rc12-7.src.tar.gz
http://demizerone.com/archzfs/pkgsrc/aur/zfs-0.6.0_rc12-7.src.tar.gz
I am thinking about creating a testing repository for these packages so I can push updates out for testing.
In other news, I have created a branch that tracks the archiso so we can do emergency maintenance if need be. The server string for pacman.conf is as follows:
[archzfs]
Server = http://demizerone.com/$repo/archiso/$arch
Of course, you will also need to add my key and locally sign it before using, but now we can use zfs in the archiso environment without compiling!
I have installed ZFS on a root filesystem on my wife's laptop, there are changes coming to the packaging to improve the implementation. Most of all I am working on updating the archwiki documentation and that should be up in the next week or two.
chenxiaolong commented on 2012-12-14 17:14 (UTC)
@proxypoke: That has been fixed in the latest zfs git :) You can clone the git repo (https://github.com/zfsonlinux/zfs.git) and run
./autogen.sh
./configure
make pkg
which will create Arch Linux .pkg.tar.xz packages you can install.
proxypoke commented on 2012-12-14 14:27 (UTC)
Ahoy all,
ZFS doesn't compile on Linux 3.7.0 yet. I tested this with the ck patchset, but it should be the same on the standard kernel. It gives an error about GPL-only symbols when linking zfs.ko.
Short error log attached:
https://gist.github.com/4285774
I'd advise against kernel updates if you need ZFS.
Cheers
slowpoke
Pinned Comments
lightdot commented on 2025-02-04 21:19 (UTC) (edited on 2025-05-03 17:07 (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.2 supports kernel versions 4.18 - 6.14. When kernel 6.15 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!