zfs version mismatch after dist-upgrade

Kingneutron

Active Member
Feb 21, 2024
655
179
43
github.com
Applied latest patches to get zfs 2.2.6 and now my versions are mismatched after rebooting:


zfs -V

zfs-2.2.6-pve1
zfs-kmod-2.2.4-pve1



dpkg -l|grep zfs


ii libzfs4linux 2.2.6-pve1 amd64 OpenZFS filesystem library for Linux - general support
ii libzfs5-devel 2.2.2-1 amd64 Development headers
ii python3-pyzfs 2.2.6-pve1 amd64 wrapper for libzfs_core C library
ii zfs-dkms 2.2.5-1~bpo12+1 all OpenZFS filesystem kernel modules for Linux
ii zfs-initramfs 2.2.6-pve1 all OpenZFS root filesystem capabilities for Linux - initramfs
ii zfs-test 2.2.6-pve1 amd64 OpenZFS test infrastructure and support scripts
ii zfs-zed 2.2.6-pve1 amd64 OpenZFS Event Daemon
ii zfsutils-linux 2.2.6-pve1 amd64 command-line tools to manage OpenZFS filesystems

apt-get is saying the latest version of zfs-dkms is already installed, does someone on the Proxmox packaging end need to fix something?
 
Proxmox does not use (by default) or distribute zfs-dkms. Im assuming youre actively using the dkms module instead of the one shipped with the pve kernel so you need to update it to 2.2.6 from where you initially got it. Its definitely not from pve repos. I assume debian unstable
 
  • Like
Reactions: UdoB
ZFS 2.2.6 is currently only in pvetest. Make sure, you also have the corresponding PVE kernel 6.8.12-2 from there installed and booted.

And like @billy999 already said, you should really get rid of the zfs-dkms stuff from Debian bookworm-backports...
 
FYI issue was fixed today by applying latest upgrades + reboot - just had to wait about a week

Afaict, there were no further / very recent updates regarding ZFS and/or the kernel on the Proxmox side: [1]; but instead Debian released ZFS 2.2.6 on 2024-09-12 in bookworm-backports: [2], which, again, would indicate that your problem stemmed solely from your, not at all recommended, installation of the zfs-dkms stuff...

Proxmox products come with ZFS already integrated.
With zfs-dkms being also installed, you have two competing sources of ZFS, which one obviously does not want...

But without further informations, especially which packages, including their versions, exactly you updated recently, one can only assume...

[1] http://download.proxmox.com/debian/pve/dists/bookworm/pvetest/binary-amd64
[2] https://tracker.debian.org/pkg/zfs-linux
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!