Skip to content

Instantly share code, notes, and snippets.

@zph

zph/zfs-proxmox-install.sh Secret

Last active Mar 17, 2021
Embed
What would you like to do?
Install zfs from source on Proxmox
# Credit https://happyadministrator.com/2021/01/03/zfs-2-0-0-final-install-on-proxmox-6-x/
# Revised to work around UTS_RELEASE error by ZPH 2021/03/01
apt-get upgrade
apt-get 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
apt install pve-headers-$(uname -r)
cd /tmp/
git clone https://github.com/zfsonlinux/zfs
cd zfs/
git checkout zfs-2.0.3
sh autogen.sh
make deb
./configure
make deb
apt-get remove zfsutils-linux
rm -f kmod-zfs-devel*.deb
dpkg -i ./*.deb
apt install zfsutils-linux
shutdown -r now
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment