-
-
Save zph/01119c836dca98293581c0e20f07c927 to your computer and use it in GitHub Desktop.
Install zfs from source on Proxmox
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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