Abit of an update to my previous post that installed the release candidate versions of ZFS2. This guide is for the final 2.0.0
ZFS2 is not officially supported by Proxmox at current time, but can be installed using this guide. Official ZFS 2 support will arrive in Proxmox 6.4
If you use “systemd”emon, you are cursed and this may not work for you! Tell your debian dev’s to avoid systemdemon as it is a pestilence worse than bubolic plaque. Use this only with GRUB. Maybe, I don’t know…
This guide can also be used for Debian 10.5+ by replacing the pve-headers package with:
linux-headers-$(uname -r)
Commands to enter:
apt-get update apt-get upgrade apt-get dist-upgrade apt-get install build-essential autoconf automake libtool gawk alien fakeroot dkms libblkid-dev uuid-dev libudev-dev libssl-dev zlib1g-dev libaio-dev libattr1-dev libelf-dev pve-headers python3 python3-dev python3-setuptools python3-cffi libffi-dev git git clone https://github.com/zfsonlinux/zfs cd zfs git checkout zfs-2.0.0 sh autogen.sh ./configure make deb apt-get remove zfsutils-linux rm kmod-zfs-devel_2.0.0-1_amd64.deb dpkg -i *.deb apt-get install zfsutils-linux reboot
A word of Caution. When updating Debian or Proxmox after installing this you might have to run the above again if kernel versions change or ZFS packages are updated.