I'm currently having a slight problem: the zfs.ko module is missing,
and I can't get ZFS to compile it. This means I can't generate an
initramfs, which is sort of a big deal for me because my system runs
on ZFS, and without zfs.ko in the initramfs, I can't boot.
I suspect this is also related to the /usr/lib move, maybe in conjunction
with the kernel update (I'm building against 3.4.5-1).
Any ideas?
Search Criteria
Package Details: zfs-linux-headers 2.3.1_6.13.8.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: | 275 |
Popularity: | 0.87 |
First Submitted: | 2016-04-21 08:45 (UTC) |
Last Updated: | 2025-03-25 23:55 (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)
Latest Comments
« First ‹ Previous 1 .. 71 72 73 74 75 76 77 78 79 Next › Last »
proxypoke commented on 2012-07-19 14:24 (UTC)
<deleted-account> commented on 2012-07-17 15:57 (UTC)
Made new patch, considering /lib -> /usr/lib move:
http://pastebin.com/QC4k0d6W
Also /usr/libexec/zfs is now /usr/lib/zfs.
One issue with /lib still remains - spl & zfs installs modules into /lib/modules/... Do not know now how to fix this.
<deleted-account> commented on 2012-07-17 10:38 (UTC)
> The cd ../../ line is missing and leads to the failed stat call.
This is not because of glibc!
This is because error in PKGBIULD, I think.
And it is better change to this instead of "cd ../../":
install -D -m644 $srcdir/zfs.initcpio.hook "$pkgdir"/lib/initcpio/hooks/zfs
install -D -m644 $srcdir/zfs.initcpio.install "$pkgdir"/lib/initcpio/install/zfs
I have posted this already.
<deleted-account> commented on 2012-07-17 07:58 (UTC)
After upgrading glibc and using the new /usr/lib scheme, installing ifs complains: "install: cannot stat ‘zfs.initcpio.hook’: No such file or directory".
SOLUTION:
Change the PKGBUILD's package() from:
package() {
cd "$srcdir/$pkgname-${pkgver//_/-}"
make DESTDIR="$pkgdir" install
install -D -m644 zfs.initcpio.hook "$pkgdir"/lib/initcpio/hooks/zfs
install -D -m644 zfs.initcpio.install "$pkgdir"/lib/initcpio/install/zfs
}
to:
package() {
cd "$srcdir/$pkgname-${pkgver//_/-}"
make DESTDIR="$pkgdir" install
cd ../../
install -D -m644 zfs.initcpio.hook "$pkgdir"/lib/initcpio/hooks/zfs
install -D -m644 zfs.initcpio.install "$pkgdir"/lib/initcpio/install/zfs
}
The cd ../../ line is missing and leads to the failed stat call.
<deleted-account> commented on 2012-07-14 23:39 (UTC)
After upgrading glibc and using the new /usr/lib scheme, installing ifs complains: "install: cannot stat ‘zfs.initcpio.hook’: No such file or directory".
chneukirchen commented on 2012-07-14 21:28 (UTC)
/usr/libexec should not be used in Arch.
<deleted-account> commented on 2012-07-11 06:12 (UTC)
Thank You. I think its my fault with bad copy-pasting. Maybe I have done it from "less" output.
BTW for them who interested. Here is issue I have opened about bad configure:
https://github.com/zfsonlinux/zfs/issues/799
May be somebody will want to comment too.
I have wrote email now asking to review it.
proxypoke commented on 2012-07-11 02:15 (UTC)
For anyone using green's patch:
it has spaces instead of tabs in the configure.ac
section, which causes it to fail to apply.
I suspect this is an issue with pastebin, so I took
the liberty of reposting it as a gist with corrected
tabs (link to the raw, wget-able):
https://raw.github.com/gist/3087494/92165ec9a49eb218cfb1e34dff349d72d0458fcc/zfs_aur.patch
<deleted-account> commented on 2012-06-30 20:24 (UTC)
I have to make this changes to make it work properly:
http://pastebin.com/SDZyYE1h
Summary:
1) Patch configure.ac, to handle all *.in files - this is upstream bug, I have already submited it. Because of this uder rules files were not updated witch correct pathes to binaries.
2) Fix udev dir from /usr/lib/udev to /lib/udev.
3) Fix installs of zfs.initcpio.*
4) Fix mount.zfs location in zfs.initcpio.install
Pinned Comments
lightdot commented on 2025-02-04 21:19 (UTC) (edited on 2025-03-29 20:47 (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 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!