Package Details: zfs-linux-lts 2.3.2_6.12.30.1-1

Git Clone URL: https://aur.archlinux.org/zfs-linux-lts.git (read-only, click to copy)
Package Base: zfs-linux-lts
Description: Kernel modules for the Zettabyte File System.
Upstream URL: https://openzfs.org/
Licenses: CDDL-1.0
Groups: archzfs-linux-lts
Conflicts: spl-dkms, spl-dkms-git, spl-linux-lts, zfs-dkms, zfs-dkms-git, zfs-dkms-rc, zfs-linux-lts-git, zfs-linux-lts-rc
Provides: spl, zfs
Replaces: spl-linux-lts
Submitter: demizer
Maintainer: gromit
Last Packager: gromit
Votes: 82
Popularity: 1.54
First Submitted: 2016-04-24 19:05 (UTC)
Last Updated: 2025-05-22 17:28 (UTC)

Required by (19)

Sources (1)

Latest Comments

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

jokesterfr commented on 2025-05-21 12:51 (UTC)

@air-g4p thank you! My concern was about losing the continuity of service of ZFS. I guess with your suggestion the risk is reduced to an unlucky power failure in the middle of the upgrade process. Mitigated with an inverter. In the end if re-compilation is often needed I found out the package zfs-dkms can be more convenient.

air-g4p commented on 2025-05-10 07:33 (UTC) (edited on 2025-05-10 07:34 (UTC) by air-g4p)

@jokesterfr - Did you try gromit's recommended method (below) of building zfs-linux-lts in a clean chroot, first?

In any event, this sequence works on my end:

1.  pacman -Rsc linux-lts linux-lts-headers
2.  pacman -Syu
3.  pacman -S linux-lts linux-lts-headers
4.  git clone https://aur.archlinux.org/zfs-linux-lts.git
5.  cd zfs-linux-lts
6.  time makepkg -sric

Cheers

jokesterfr commented on 2025-05-07 20:24 (UTC)

I read the arch doc about zfs, and got the point: zfs in not upstream in linux, thus only available with strict kernel versions.

I'm strugling with a dumb upgrade issue:

$ yay -Su linux-lts
:: 3 packages to upgrade/install.
3  core/linux-lts          6.12.26-1         -> 6.12.27-1
2  core/linux-lts-headers  6.12.26-1         -> 6.12.27-1
1  aur/zfs-linux-lts       2.3.2_6.12.26.1-1 -> 2.3.2_6.12.27.1-1
...
:: installing linux-lts (6.12.27-1) breaks dependency 'linux-lts=6.12.26-1' required by zfs-linux-lts
 -> error installing repo packages

It seems like a cyclic dependency issue: the new zfs-linux-lts depends on a new specific kernel, this kernel is available but won't upgrade as this would break the current zfs-linux-lts.

Do not hesitate to RTFM me - I cannot find my way. Thank you

clarfonthey commented on 2025-05-07 13:00 (UTC)

In case you're interested, I managed to update zfs-linux-hardened so that it has a pkgver function which automatically selects the latest kernel version if available. Since the package will just fail to build for an unsupported kernel, this seems like a moderate improvement for people who are waiting on a package update for a new minor kernel version.

You're welcome to incorporate those changes into this package, considering how this isn't automatically updated by archzfs any more, but I also understand not wanting to incorporate such a change.

supernova commented on 2025-05-04 22:20 (UTC)

@gromit yes that worked thank you very much!

gromit commented on 2025-05-04 22:18 (UTC)

@supernova that's just checkpkg complaining (which is of no relevance for AUR packages), so most likely you now have both packages built :) Just do a ls -l in your current directory and install the packages with pacman -U <...>.

supernova commented on 2025-05-04 22:07 (UTC) (edited on 2025-05-04 22:13 (UTC) by supernova)

@gromit this worked with no "This kernel does not include the required loadable module" error like before:

pkgctl build --install-to-chroot /home/user/.cache/paru/clone/zfs-utils/zfs-utils-2.3.2-1-x86_64.pkg.tar.zst

however i now get "error: target not found: zfs-linux-lts error: target not found: zfs-linux-lts-headers" at the end of it.

At least "sudo mkinitcpio -P" does not complain anymore about broken boot image.

gromit commented on 2025-05-04 21:47 (UTC)

@supernova yeah you need to adjust the path of zfs-utils-2.3.2-1-x86_64.pkg.tar.zst to the actual path of the package on your system. You might find it in /var/cache/pacman/pkg/ or in your AUR helpers build cache.

If you want to be sure just download the repo for it and build it the same way (minus the --install-to-chroot part)

supernova commented on 2025-05-04 21:29 (UTC) (edited on 2025-05-04 21:32 (UTC) by supernova)

@gromit never really build aur packages this way so im doing probably something wrong. still weird that after years of paru working just fine for zfs it suddenly has issues.

sudo pacman -S devtools
git clone https://aur.archlinux.org/zfs-linux-lts.git
cd zfs-linux-lts

pkgctl build --install-to-chroot zfs-utils-2.3.2-1-x86_64.pkg.tar.zst
==> WARNING: installing packages to the chroot may break reproducible builds, use with caution!
==> Updating pacman database cache
:: Synchronizing package databases...
 core downloading...
 extra downloading...
 multilib downloading...
==> Building zfs-linux-lts
  ->   repo: extra
  ->   arch: x86_64
  -> worker: user-0
==> Building zfs-linux-lts for [extra] (x86_64)
:: Synchronizing package databases...
 core downloading...
 extra downloading...
:: Starting full system upgrade...
 there is nothing to do
==> Building in chroot for [extra] (x86_64)...
==> Synchronizing chroot copy [/var/lib/archbuild/extra-x86_64/root] -> [user-0]...done
cp: cannot stat '/root/zfs-linux-lts/zfs-utils-2.3.2-1-x86_64.pkg.tar.zst': No such file or directory
loading packages...
error: '/root/zfs-utils-2.3.2-1-x86_64.pkg.tar.zst': could not find or read package
rm: cannot remove '/var/lib/archbuild/extra-x86_64/user-0/root/zfs-utils-2.3.2-1-x86_64.pkg.tar.zst': No such file or directory
==> ERROR: Failed to create the directory $SRCDEST (/root/zfs-linux-lts).
    Aborting...
==> ERROR: Could not download sources.

gromit commented on 2025-05-04 21:10 (UTC)

@supernova so what's the actual error that you get? Also did you follow the steps that I posted in https://aur.archlinux.org/pkgbase/zfs-linux-lts#comment-1022223?