Skip to content

Instantly share code, notes, and snippets.

@leophys
Created January 13, 2021 20:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save leophys/ddc6aba223a654524ca82228bab9ca65 to your computer and use it in GitHub Desktop.
Save leophys/ddc6aba223a654524ca82228bab9ca65 to your computer and use it in GitHub Desktop.
ZFS on raspberry pi 4

How to install ZFS on raspberry pi 4

Pin dependencies

Place this in /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

Update the relevant dependencies first

$ apt update
$ apt install dpkg-dev linux-headers-$(uname -r) linux-image-arm64

Install the kernel module and the utils

$ apt install zfs-dkms zfsutils-linux

Source

https://openzfs.github.io/openzfs-docs/Getting%20Started/Debian/index.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment