Zfs Problem

gpetrom

Renowned Member
Jun 27, 2012
5
0
66
Hi
I am trying to install proxmox on hetner dedicated machine. After installing debian 11 base setup i am trying to install proxmox following the below guide.
https://pve.proxmox.com/wiki/Install_Proxmox_VE_on_Debian_11_Bullseye
After it seems that installation is finished, zfs is not installed it. See the output from pveversion -v
proxmox-ve: 7.2-1 (running kernel: 5.15.39-1-pve) pve-manager: 7.2-7 (running version: 7.2-7/d0dd0e85) pve-kernel-5.15: 7.2-6 pve-kernel-helper: 7.2-6 pve-kernel-5.15.39-1-pve: 5.15.39-1 ceph-fuse: 14.2.21-1 corosync: 3.1.5-pve2 criu: 3.15-1+pve-1 glusterfs-client: 9.2-1 ifupdown: residual config ifupdown2: 3.1.0-1+pmx3 libjs-extjs: 7.0.0-1 libknet1: 1.24-pve1 libproxmox-acme-perl: 1.4.2 libproxmox-backup-qemu0: 1.3.1-1 libpve-access-control: 7.2-3 libpve-apiclient-perl: 3.2-1 libpve-common-perl: 7.2-2 libpve-guest-common-perl: 4.1-2 libpve-http-server-perl: 4.1-3 libpve-storage-perl: 7.2-5 libspice-server1: 0.14.3-2.1 lvm2: 2.03.11-2.1 lxc-pve: 5.0.0-3 lxcfs: 4.0.12-pve1 novnc-pve: 1.3.0-3 proxmox-backup-client: 2.2.3-1 proxmox-backup-file-restore: 2.2.3-1 proxmox-mini-journalreader: 1.3-1 proxmox-widget-toolkit: 3.5.1 pve-cluster: 7.2-1 pve-container: 4.2-1 pve-docs: 7.2-2 pve-edk2-firmware: 3.20210831-2 pve-firewall: 4.2-5 pve-firmware: 3.4-2 pve-ha-manager: 3.3-4 pve-i18n: 2.7-2 pve-qemu-kvm: 6.2.0-11 pve-xtermjs: 4.16.0-1 qemu-server: 7.2-3 smartmontools: 7.2-pve3 spiceterm: 3.2-2 swtpm: 0.7.1~bpo11+1 vncterm: 1.7-1
As you can see zfsutils-linux is missing
I have tried to install zfs with the following commands
apt install pve-headers apt install zfsutils-linux zfs-dkms zfs-zed

and i am getting the following error

Setting up zfs-dkms (2.0.3-9) ... Loading new zfs-2.0.3 DKMS files... Building for 5.15.39-1-pve Building initial module for 5.15.39-1-pve configure: error: *** None of the expected "capability" interfaces were detected. *** This may be because your kernel version is newer than what is *** supported, or you are using a patched custom kernel with *** incompatible modifications. *** *** ZFS Version: zfs-2.0.3-9 *** Compatible Kernels: 3.10 - 5.10 Error! Bad return status for module build on kernel: 5.15.39-1-pve (x86_64) Consult /var/lib/dkms/zfs/2.0.3/build/make.log for more information. dpkg: error processing package zfs-dkms (--configure):

I think that zfs in proxmox is installed it by default, am i wrong?
Any ideas what it is the problem?

Thanks in advanced
 
When installing the proxmox-ve package to a Debian it should automatically install a custom pve version of zfsutils-linux version 2.1.4. So ZFS should work out of the box. You can check whats installed with: apt list --installed | grep zfs
Should look like this:
Code:
libzfs4linux/stable,now 2.1.4-pve1 amd64 [installed,automatic]
zfs-zed/stable,now 2.1.4-pve1 amd64 [installed]
zfsutils-linux/stable,now 2.1.4-pve1 amd64 [installed,automatic]

But some packages are missing that would come with a installation from a PVE ISO. Like the "zfs-zed", "pve-headers" packages you already mentioned. And other stuff like "tsmtuned", "postfix" and so on.
 
Last edited:
Hi Dunuin

Thanks for the answer.
Yes zfs is not installed. The question is why ? and why it is not installing correctly when i am doing it manual.
Is there a way to fix this?
 
I don't got that "zfs-dkms" package and according to the error the PVE kernel and ZFS version is too high for that package to work.
 

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!