-
Notifications
You must be signed in to change notification settings - Fork 0
Debian
Offical ZFS on Linux DKMS style packages are available from the Debian GNU/Linux repository for the following configurations. The packages previously hosted at archive.zfsonlinux.org will not be updated and are not recommended for new installations.
Debian Releases: Jessie, Stretch, and newer (testing, sid) Architectures: amd64
For Debian Stretch, ZFS packages are included in the contrib repository. Newer ZFS packages are provided by the backports repository.
If you want to boot from ZFS, see Debian Stretch Root on ZFS instead. Or, for the not-yet-released Buster, see Debian Buster Root on ZFS.
Add the backports repository:
# vi /etc/apt/sources.list.d/stretch-backports.list
deb http://deb.debian.org/debian stretch-backports main contrib
deb-src http://deb.debian.org/debian stretch-backports main contrib
# vi /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=stretch-backports
Pin-Priority: 990
Update the list of packages:
# apt update
Install the kernel headers and other dependencies:
# apt install --yes dpkg-dev linux-headers-$(uname -r) linux-image-amd64
Install the zfs packages:
# apt-get install zfs-dkms zfsutils-linux
From Debian Stretch packages are included in Debian official contrib
repository. Steps to reinstall packages:
- Remove old packages:
# apt remove debian-zfs libzfs2 zfs-dkms zfsonlinux zfsutils libzpool2 libzfs2linux libnvpair1linux libnvpair1 libuutil1 libuutil1linux libzpool2linux zfs-zed zfsutils-linux spl-dkms
-
Remove ZFSonLinux repository.
-
Install new packages, as described above.
- Home
- Getting Started
- Project and Community
- Developer Resources
- Performance and Tuning