zfs icon indicating copy to clipboard operation
zfs copied to clipboard

EL10.0 repo

Open stuartthebruce opened this issue 7 months ago • 6 comments

Describe the feature would like to see added to OpenZFS

Add AlmaLinux 10.0 builds to http://download.zfsonlinux.org/epel-testing/10.0

How will this feature improve OpenZFS?

Support EL10 based systems with pre-built/tested RPM packages

Additional context

Now that RHEL 10.0 and AlmaLinux 10.0 are GA (with Rocky Linux 10.0 coming soon), it would be nice to have official packages. However, perhaps this needs to wait for zfs-2.3.3?

stuartthebruce avatar Jun 10 '25 19:06 stuartthebruce

My workstation /home is on ZFS, and I didn't wanna wait on upgrading to AlmaLinux 10, so I was a bad boy and did dnf install https://zfsonlinux.org/epel/zfs-release-2-3.el9.noarch.rpm on AL10, then edited /etc/yum.repos.d/zfs.repo to enable the testing repo and hardcoded all $releasever references to 9. DNF freaked out about the GPG key, so I cd /etc/pki/rpm-gpg and ln -s RPM-GPG-KEY-openzfs-2022 RPM-GPG-KEY-openzfs-el-10. After reading #17290 I was gonna install zfs 2.1 for now, but EL10's 6.12 kernel needs min zfs 2.2 to be compatible, so I did dnf --showduplicates list zfs and grabbed the most recent 2.2 with dnf install zfs-2.2.7-1.el9 which built and installed and seems to be working fine so far. Hope that helps anyone else who is too impatient.

hubick avatar Jun 11 '25 23:06 hubick

Release repository for EL10 is already there (since 2.2.8 I suppose), but the packages appear unsigned:

Package libnvpair3-2.2.8-1.el10.x86_64.rpm is not signed
Package libuutil3-2.2.8-1.el10.x86_64.rpm is not signed
Package libzfs5-2.2.8-1.el10.x86_64.rpm is not signed
Package libzpool5-2.2.8-1.el10.x86_64.rpm is not signed
Package zfs-2.2.8-1.el10.x86_64.rpm is not signed
Package zfs-dkms-2.2.8-1.el10.noarch.rpm is not signed

gasinvein avatar Jun 12 '25 20:06 gasinvein

Release repository for EL10 is already there (since 2.2.8 I suppose), but the packages appear unsigned:

Not at the requested URL: http://download.zfsonlinux.org/epel-testing/10.0, though there are many others at the parent location http://download.zfsonlinux.org/epel-testing/

stuartthebruce avatar Jun 12 '25 23:06 stuartthebruce

I also don't see any EL10 repo documented at https://openzfs.github.io/openzfs-docs/Getting%20Started/RHEL-based%20distro/index.html

stuartthebruce avatar Jun 13 '25 19:06 stuartthebruce

Yeah, I would expect the docs to still fail, cuz there doesn't seem to be a zfs-release package for EL10 at https://zfsonlinux.org/epel/zfs-release-2-3.el10.noarch.rpm yet (HTTP 404). I reverted my zfs.repo back to the defaults from the EL9 zfs-release package, and that was willing to upgrade me to those unsigned EL10 RPM's with dnf update --nogpgcheck. It built and installed and seems to be working fine (I'm logged in on ZFS /home).

hubick avatar Jun 13 '25 23:06 hubick

Since AlmaLinux 10 provides support for both x86_64-v3 and x86_64-v2 capable hardware (Source), please do you think it would be possible to also provide ZFS builds for both these variants? (Link to corresponding discussion)

BellaCoola avatar Jun 15 '25 23:06 BellaCoola

Many thanks for the 2.3.3 release that includes 10.0 RPM. However, it appears that they are unsigned,

[root@ldas-pcdev16 ~]# cat /etc/redhat-release 
AlmaLinux release 10.0 (Purple Lion)

[root@ldas-pcdev16 ~]# dnf --enablerepo=zfs-testing-kmod install zfs
HTCondor for Enterprise Linux 10 - Release                                 854 kB/s |  17 kB     00:00    
AlmaLinux 10 - AppStream                                                   3.1 MB/s | 1.9 MB     00:00    
AlmaLinux 10 - BaseOS                                                      3.1 MB/s | 1.7 MB     00:00    
AlmaLinux 10 - Extras                                                       33 kB/s |  10 kB     00:00    
Extra Packages for Enterprise Linux 10 - x86_64                            5.6 MB/s | 4.5 MB     00:00    
ZFS on Linux for EL10 KMOD                                                 5.0 MB/s |  30 kB     00:00    
Dependencies resolved.
===========================================================================================================
 Package                 Architecture        Version                   Repository                     Size
===========================================================================================================
Installing:
 zfs                     x86_64              2.3.3-1.el10              zfs-testing-kmod              754 k
Installing dependencies:
 kmod-zfs                x86_64              2.3.3-1.el10              zfs-testing-kmod              1.7 M
 libnvpair3              x86_64              2.3.3-1.el10              zfs-testing-kmod               37 k
 libuutil3               x86_64              2.3.3-1.el10              zfs-testing-kmod               29 k
 libzfs6                 x86_64              2.3.3-1.el10              zfs-testing-kmod              223 k
 libzpool6               x86_64              2.3.3-1.el10              zfs-testing-kmod              1.3 M

Transaction Summary
===========================================================================================================
Install  6 Packages

Total download size: 4.0 M
Installed size: 19 M
Is this ok [y/N]: y
Downloading Packages:
(1/6): libnvpair3-2.3.3-1.el10.x86_64.rpm                                  4.8 MB/s |  37 kB     00:00    
(2/6): libuutil3-2.3.3-1.el10.x86_64.rpm                                   2.9 MB/s |  29 kB     00:00    
(3/6): libzfs6-2.3.3-1.el10.x86_64.rpm                                      36 MB/s | 223 kB     00:00    
(4/6): kmod-zfs-2.3.3-1.el10.x86_64.rpm                                     54 MB/s | 1.7 MB     00:00    
(5/6): libzpool6-2.3.3-1.el10.x86_64.rpm                                    41 MB/s | 1.3 MB     00:00    
(6/6): zfs-2.3.3-1.el10.x86_64.rpm                                          24 MB/s | 754 kB     00:00    
-----------------------------------------------------------------------------------------------------------
Total                                                                       80 MB/s | 4.0 MB     00:00     
Package kmod-zfs-2.3.3-1.el10.x86_64.rpm is not signed
Package libnvpair3-2.3.3-1.el10.x86_64.rpm is not signed
Package libuutil3-2.3.3-1.el10.x86_64.rpm is not signed
Package libzfs6-2.3.3-1.el10.x86_64.rpm is not signed
Package libzpool6-2.3.3-1.el10.x86_64.rpm is not signed
Package zfs-2.3.3-1.el10.x86_64.rpm is not signed
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Error: GPG check FAILED

stuartthebruce avatar Jun 19 '25 20:06 stuartthebruce

The EL 10.0 repository still isn't quite ready. We need to build a new zfs-release package for it, and as you noticed get those packages signed with the key. For the moment, you're welcome to use the unsigned packages in the testing repository or manually build your own from the tarball.

behlendorf avatar Jun 19 '25 22:06 behlendorf

FYI, I did install the unsigned packages on a test system and I was able to import a small test pool.

stuartthebruce avatar Jun 19 '25 22:06 stuartthebruce

Hello! I appreciate that there might not be a good answer to this, but do you have a vague idea as to when the signed 10 repo will become available? I mean, are we talking days, weeks?

io7m avatar Jun 27 '25 15:06 io7m

How about coupling this to https://github.com/openzfs/zfs/pull/17595

stuartthebruce avatar Aug 07 '25 17:08 stuartthebruce

I saw there's unit tests happening for Alma10 in #17595 , so hopefully it's not far away. I do need to do a new install in the coming days, and installing 10 instead of 9 would be useful.

FingerlessGlov3s avatar Aug 07 '25 17:08 FingerlessGlov3s

@io7m sorry for the late response - I've been on vacation for awhile but am back in the office now. I'm working on putting together EL10 packages.

tonyhutter avatar Aug 12 '25 16:08 tonyhutter

Please give it a try now on EL10:

dnf install https://zfsonlinux.org/epel/zfs-release-2-8$(rpm --eval "%{dist}").noarch.rpm

tonyhutter avatar Aug 19 '25 22:08 tonyhutter

The update works for me. Thanks.

stuartthebruce avatar Aug 19 '25 23:08 stuartthebruce

Please give it a try now on EL10:

dnf install https://zfsonlinux.org/epel/zfs-release-2-8$(rpm --eval "%{dist}").noarch.rpm

Another question on the topic of EL10, is ZFS 2.3 coming for EL9/EL10, or is it sticking to ZFS 2.2?

FingerlessGlov3s avatar Aug 20 '25 08:08 FingerlessGlov3s

Another question on the topic of EL10, is ZFS 2.3 coming for EL9/EL10, or is it sticking to ZFS 2.2?

zfs 2.2 available from epel (stable) repo.

zfs 2.3 available from epel-testing (unstable) repo.

so, you can use zfs 2.3 on EL10.0 in any time, just by switching from epel to epel-testing repo.

makhomed avatar Aug 20 '25 11:08 makhomed

I assume it'll stay in epel-testing for a while, until it's redeemed stable, or is there like a 9 month period of testing?

I don't need any of the current 2.3 features, just wanted to know what the release cycle works.

FingerlessGlov3s avatar Aug 20 '25 11:08 FingerlessGlov3s