Panduan

Menambahkan backports repository

Tambahkan repository

sudo vi /etc/apt/sources.list.d/buster-backports.list
  • /etc/apt/sources.list.d/buster-backports.list
deb http://deb.debian.org/debian buster-backports main contrib
deb-src http://deb.debian.org/debian buster-backports main contrib

Tambahkan konfigurasi APT

sudo vi /etc/apt/preferences.d/90_zfs
  • /etc/apt/preferences.d/90_zfs
Package: libnvpair1linux libuutil1linux libzfs2linux libzpool2linux spl-dkms zfs-dkms zfs-test zfsutils-linux zfsutils-linux-dev zfs-zed
Pin: release n=buster-backports
Pin-Priority: 990

Install package ZFS

Install package

sudo apt update
sudo apt install dpkg-dev linux-headers-$(uname -r) linux-image-amd64
sudo apt install zfs-dkms zfsutils-linux

Buat konfigurasi ZFS untuk kernel module load

sudo sh -c "echo zfs> /etc/modules-load.d/zfs.conf"

Verifikasi versi

modinfo zfs | grep version

Referensi