ZFS on Debian 9 (stretch) with Kernel 4.18

# sudo apt-get remove zfs-dkms
#  echo "deb http://ftp.us.debian.org/debian/ stretch-backports main contrib non-free" | sudo tee /etc/apt/sources.list.d/debian_stretch_backports.list
# sudo apt-get update
# sudo apt-get -t stretch-backports upgrade
# sudo apt-get -t stretch-backports install linux-image-4.18.0-0.bpo.3-amd64
#  sudo apt-get -t stretch-backports install linux-headers-4.18.0-0.bpo.3-amd64
# sudo reboot
# uname -a 
Linux 4.18.0-0.bpo.3-amd64 #1 SMP Debian 4.18.20-2~bpo9+1 (2018-12-08) x86_64 GNU/Linux
# sudo apt-get -t stretch-backports install zfs-dkms
Job for zfs-mount.service failed because the control process exited with error code.
See "systemctl status zfs-mount.service" and "journalctl -xe" for details.
zfs-mount.service couldn't start.
Job for zfs-share.service failed because the control process exited with error code.
See "systemctl status zfs-share.service" and "journalctl -xe" for details.
zfs-share.service couldn't start.
sudo /sbin/modprobe zfs

sudo systemctl restart zfs-import-cache
sudo systemctl restart zfs-import-scan
sudo systemctl restart zfs-mount
sudo systemctl restart zfs-share
# sudo zpool upgrade -a

--

--

SRE at Pandora Media, Inc.

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store