Writ

ZFS install on debian 11

2021-12-27

add bullseye-backports to sources.list

then

apt update;
apt install -t bullseye-backports linux-headers-$(uname -r)
apt install -t bullseye-backports zfsutils zfs-dkms

Needs to be two lines to be sure headers are ready for the dkms install. reboot for good measure.

After reboot, zpool status should show "no pools". From here, you’re all set to do zpool create or zpool import and whatever else you want to do.

All site content protected by CC-BY-4.0 license