You are not logged in.

#1 2024-08-11 18:25:16

odror
Member
Registered: 2015-03-17
Posts: 128

Arch ZFS has not been updated for a while

Hi

I am at kernel version 6.9.7 (with zfs) when kernel 6.10 has been out for a while

Also zfs-utils is at version 2.2.4  while in the aur it is on version 2.2.5

pacman -S zfs-util getting  me only the 2.2.4 version

also yay -S zfs shows only version 2.2.4

Doe anyone know why I am not able to upgrade to the new kernel

Offline

#2 2024-08-11 19:02:43

spiffeeroo
Member
Registered: 2021-04-23
Posts: 23

Re: Arch ZFS has not been updated for a while

Openzfs does not support kernel 6.10 (yet). If you use openzfs, expect it to lag behind kernel releases for an indefinite time since it is an out-of-tree kernel module. It can be a lot of work to make out-of-tree modules work with newer kernels. Consider using the LTS kernel for less breakage with openzfs.

Last edited by spiffeeroo (2024-08-11 19:04:17)

Offline

#3 2024-08-11 19:46:00

odror
Member
Registered: 2015-03-17
Posts: 128

Re: Arch ZFS has not been updated for a while

Where can I follow the zfs update status. Also is this why zfs-util is not updated to version 2.2.5.

Offline

#4 2024-08-12 07:38:38

gromit
Package Maintainer (PM)
From: Germany
Registered: 2024-02-10
Posts: 657
Website

Re: Arch ZFS has not been updated for a while

ZFS utils was updated 5 days ago in the AUR: https://aur.archlinux.org/cgit/aur.git/ … afd1c4ca99

But since you probably installed it from the archzfs repo they will have to hold back the update until they rebuild their kernel modules smile

I personally find the archzfs repo not properly maintained and therefore just build everything myself.

Offline

#5 2024-08-12 13:23:03

cryptearth
Member
Registered: 2024-02-03
Posts: 962

Re: Arch ZFS has not been updated for a while

I have 2.2.5 running on 6.10.3 just fine by building it myself
have a look here: https://github.com/archzfs/archzfs/pull/542

Offline

#6 2024-08-16 00:18:47

odror
Member
Registered: 2015-03-17
Posts: 128

Re: Arch ZFS has not been updated for a while

The latest kernel is already at 6.10.4 and archzfs is still not updated.

Any alternatives for archzfs beside me compiling the kernel.

Offline

#7 2024-08-16 06:55:26

gromit
Package Maintainer (PM)
From: Germany
Registered: 2024-02-10
Posts: 657
Website

Re: Arch ZFS has not been updated for a while

You don't have to compile the kernel, just the modules for it smile So the easiest route is just using linux-lts (which is almost always compatible with the upstream zfs) and zfs-dkms so the compilation automatically kicks off for each new kernel you install. You can ofc also use the linux image, but that sometimes produces compile errors

Offline

#8 2024-08-16 07:19:55

cryptearth
Member
Registered: 2024-02-03
Posts: 962

Re: Arch ZFS has not been updated for a while

dkms isn't required - you can build both standard 6.10.4 as well as lts just fine by follow the instructions in the archzfs github wiki page
2.2.5 runs fine for me on 6.10.4

Offline

#9 2024-08-16 08:42:47

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 12,399
Website

Re: Arch ZFS has not been updated for a while

Mod note: moving to AUR Issues.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#10 2024-08-16 12:14:02

cryptearth
Member
Registered: 2024-02-03
Posts: 962

Re: Arch ZFS has not been updated for a while

update: currently there's some issue with the final packaging - build runs fine tho
issue happens for both std and lts

Offline

#11 2024-08-26 19:26:41

Andrei Korshikov
Member
Registered: 2024-02-10
Posts: 6
Website

Re: Arch ZFS has not been updated for a while

gromit wrote:

I personally find the archzfs repo not properly maintained and therefore just build everything myself.

What do you mean by "not properly maintained"?

I've been using ArchZFS repo for 5+ years. Yes, they have pauses from time to time. I do understand that, they are quite a niche project, and real life is more important than digital (especially, open-source) one, so I think that's OK.

So, my experience is the opposite:) I've been building zfs stuff from source for some time, than decided that I don't really need the latest kernel all the time, and now I just keep calm:D

Offline

#12 2024-08-26 19:41:18

odror
Member
Registered: 2015-03-17
Posts: 128

Re: Arch ZFS has not been updated for a while

We have not seen any update from archzfs for a month we are almost at kernel 6.11

I do not mind waiting and I appreciate their work, but if they are not interested in doing the work then I am looking for an alternative.

In general I have noticed less updates coming for arch packages. I hope that the project will still go on. I cannot thing of an alternative for it for me.

Offline

#13 2024-08-26 20:15:52

Andrei Korshikov
Member
Registered: 2024-02-10
Posts: 6
Website

Re: Arch ZFS has not been updated for a while

odror wrote:

We have not seen any update from archzfs for a month we are almost at kernel 6.11

Pause for a month is a normal thing for ArchZFS. Sorry, if you don't appreciate that. Edit: by the way, I'm on 6.7 kernel. My old laptop crashes with the latest. I.e. I would say that Arch is not about just the latest (especially, the latest kernel), but about clarity and "don't touch the upstream."

odror wrote:

I do not mind waiting and I appreciate their work, but if they are not interested in doing the work then I am looking for an alternative.

1. "if they are not interested in doing the work" I don't think so. They are extremely small team (a couple of persons, if I understand that correctly, or just one). I would say that they are not interested, if they pause for half a year or so.

2. "I am looking for an alternative" There is no one. Build from source, that's not a problem with current CPUs.

Offtopic:

odror wrote:

I have noticed less updates coming for arch packages

Who cares if we have -git?;)

Yes, I think I've noticed the same thing too. But, I think we are moving from "beta releases" to "always alive mainline", i.e. I think the nowadays motto is "if you want the latest and greatest — just compile the source." And it just works.

Edit: on https://aur.archlinux.org/ I see the Statistics:
Packages 87789
Package Maintainers 64

Do you have any questions now?;)

Last edited by Andrei Korshikov (2024-08-26 21:05:09)

Offline

#14 2024-09-01 00:27:03

odror
Member
Registered: 2015-03-17
Posts: 128

Re: Arch ZFS has not been updated for a while

gromit wrote:

You don't have to compile the kernel, just the modules for it smile So the easiest route is just using linux-lts (which is almost always compatible with the upstream zfs) and zfs-dkms so the compilation automatically kicks off for each new kernel you install. You can ofc also use the linux image, but that sometimes produces compile errors

Installing archzfs-dkms dose not help much, because it is pulling zfs-utils 2.2.4 and not 2.2.5. It does not  pull kernel 6.10

Where is the wiki page or other that details installing the utils 2.2.5 and kernel 6.10 (by compiling the zfs kernel mudule).

I have been running archlinux with zfs for several years. There has never been such a delay in releasing an update.

Offline

#15 2024-09-01 05:01:38

cryptearth
Member
Registered: 2024-02-03
Posts: 962

Re: Arch ZFS has not been updated for a while

help yourself out: https://github.com/n0xena/archzfs/relea … 2.5-6.10.7
before you ask: changes I applied:
https://github.com/archzfs/archzfs/pull/542 - update to 2.2.5
https://github.com/archzfs/archzfs/pull/546 - fix for kmod-33-1
changed the username to match my user - but the archzfs-wiki tells you to set that in conf.sh anyway: https://github.com/archzfs/archzfs/wiki … ng-archzfs

4. Edit conf.sh and update at least makepkg_nonpriv_user

otherweise it's no further modified to the archzfs repo which itself doesn't do anymore than to download zfs-2.2.5.tar.gz from upstream https://github.com/openzfs/zfs and build arch packages from it
build time for both std and lts on my 5600: about 5min
install them as deps first

pacman -Ud ...

and then do a full system update

pacman -Syu

should bring you up to 6.10.7 with zfs-2.2.5 without issues

Last edited by cryptearth (2024-09-01 05:03:36)

Offline

#16 2024-09-04 11:17:13

innovot
Member
Registered: 2024-09-04
Posts: 4

Re: Arch ZFS has not been updated for a while

Good day!

Would anyone be able to help in getting the latest ZFS release built for '6.10.7-zen1-1-zen'? I pulled down the GIT repo and changed the version to 2.2.5 in PKGFILE but for some reason it still picks up the old version. I've not compiled under Arch before so working out what needs to be changed.

Thanks in advance.

Offline

#17 2024-09-04 11:40:06

cryptearth
Member
Registered: 2024-02-03
Posts: 962

Re: Arch ZFS has not been updated for a while

innovot wrote:

Would anyone be able to help in getting the latest ZFS release built for '6.10.7-zen1-1-zen'?

uploaded to the repo: https://github.com/n0xena/archzfs/relea … 2.5-6.10.7

Last edited by cryptearth (2024-09-04 12:32:51)

Offline

#18 2024-09-04 13:09:52

spatz
Member
Registered: 2013-01-08
Posts: 3

Re: Arch ZFS has not been updated for a while

cryptearth wrote:

Just installed zfs-linux-lts and zfs-utils from your repo and it works perfectly.
Thank you so much!

Offline

#19 2024-09-04 13:29:49

cryptearth
Member
Registered: 2024-02-03
Posts: 962

Re: Arch ZFS has not been updated for a while

spatz wrote:
cryptearth wrote:

Just installed zfs-linux-lts and zfs-utils from your repo and it works perfectly.
Thank you so much!

thanks for the kind words - but these belong to the maintainer of the archzfs repo - I'm just some stranger using that work and provide current builds - nothin special anyone can do

Offline

#20 2024-09-04 15:10:58

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,079

Re: Arch ZFS has not been updated for a while

I really don't understand people using the kernel from the 'linux' package with zfs. Use linux-lts and these problems all go away.

Offline

#21 2024-09-04 15:15:31

innovot
Member
Registered: 2024-09-04
Posts: 4

Re: Arch ZFS has not been updated for a while

Thank you for your help @cryptearth I managed to get everything compiled and running

phild@workstation01 ~]$ zpool list -v
NAME                                                 SIZE  ALLOC   FREE  CKPOINT  EXPANDSZ   FRAG    CAP  DEDUP    HEALTH  ALTROOT
data                                                7.27T  1.17M  7.27T        -         -     0%     0%  1.00x    ONLINE  -
  raidz1-0                                          7.27T  1.17M  7.27T        -         -     0%  0.00%      -    ONLINE
    ata-ST2000DM008-2UB102_ZK20P9R3                 1.82T      -      -        -         -      -      -      -    ONLINE
    ata-ST2000DM008-2UB102_ZK30QRZG                 1.82T      -      -        -         -      -      -      -    ONLINE
    ata-ST2000DM008-2UB102_ZK30QS0K                 1.82T      -      -        -         -      -      -      -    ONLINE
    ata-ST2000DM008-2UB102_ZK30QS1A                 1.82T      -      -        -         -      -      -      -    ONLINE
cache                                                   -      -      -        -         -      -      -      -         -
  nvme-Patriot_M.2_P310_240GB_P310EDBB221012002321   224G      0   224G        -         -     0%  0.00%      -    ONLINE

Appreciate your help big_smile

Offline

#22 2024-09-04 15:17:49

innovot
Member
Registered: 2024-09-04
Posts: 4

Re: Arch ZFS has not been updated for a while

Scimmia wrote:

I really don't understand people using the kernel from the 'linux' package with zfs. Use linux-lts and these problems all go away.

Perhaps people like the little tweaks, for whatever reason in a new kernel, so being able to use other packages or build yourself is the fun of Linux smile

Offline

#23 2024-09-04 15:33:04

cryptearth
Member
Registered: 2024-02-03
Posts: 962

Re: Arch ZFS has not been updated for a while

Scimmia wrote:

I really don't understand people using the kernel from the 'linux' package with zfs. Use linux-lts and these problems all go away.

fun fact: because not everything can be solved just by change the kernel or use dkms
the recent break by kmod-33-1 (which was reverted) broke the packaging (! - the build went fine) in a way independent of std vs lts or module vs dkms
also: just because the openzfs project doesn't keep up the pace of the rapid kernel development doesn't mean one has to stick to older kernel versions - if the changes between kernel minors are insignificant or just don't touch areas zfs uses at all it ain't broke - it's just not tested and hence not official support
in fact: although zfs is still at 6.8 with moving to 6.9 people currently working on full 6.10 and 6.11 support - and some brave souls like me just dare to give it a try

aside from that: why use arch when using lts anyway? isn't the point of the rolling release model to keep up with current master development, is it? if you see lts fit you better give debian a try!

Offline

#24 2024-09-04 16:32:49

innovot
Member
Registered: 2024-09-04
Posts: 4

Re: Arch ZFS has not been updated for a while

cryptearth wrote:
Scimmia wrote:

I really don't understand people using the kernel from the 'linux' package with zfs. Use linux-lts and these problems all go away.

fun fact: because not everything can be solved just by change the kernel or use dkms
the recent break by kmod-33-1 (which was reverted) broke the packaging (! - the build went fine) in a way independent of std vs lts or module vs dkms
also: just because the openzfs project doesn't keep up the pace of the rapid kernel development doesn't mean one has to stick to older kernel versions - if the changes between kernel minors are insignificant or just don't touch areas zfs uses at all it ain't broke - it's just not tested and hence not official support
in fact: although zfs is still at 6.8 with moving to 6.9 people currently working on full 6.10 and 6.11 support - and some brave souls like me just dare to give it a try

aside from that: why use arch when using lts anyway? isn't the point of the rolling release model to keep up with current master development, is it? if you see lts fit you better give debian a try!

Word! and tbh learnt some new stuff so win all all around

Last edited by innovot (2024-09-04 16:34:02)

Offline

#25 2024-09-04 22:46:10

cryptearth
Member
Registered: 2024-02-03
Posts: 962

Re: Arch ZFS has not been updated for a while

just freshly build: https://github.com/n0xena/archzfs/relea … 2.5-6.10.8
std / zen 6.10.8
lts 6.6.49

Offline

Board footer

Powered by FluxBB