Installing ZFS on Mint 17.3 live medium

So our ZFS server running Centos 7 has some problems, and we needed to verify that the data was oké, and for good measure sync our backup.  Getting ZFS on mint was surprisingly difficult, perhaps cause of my close to zero knowledge about Mint, or perhaps its hanging a bit in limbo right now … Allot of guides on how to get booted using ZFS, but little on just the installation on Mint and not on Ubuntu. I tried (and failed) to use the debian guide, the -native- Ubuntu ppa and even the Ubuntu . In the end I found it using scraps all over the net… weird, since I was under the impression Mint was a beginner-user-friendly distro … well I guess beginners can’t have ZFS. Here goes :

Installing the zfs-native seems the best option :

sudo add-apt-repository ppa:zfs-native/stable
sudo apt-get update

Note : some errors around CD-ROM can be ignored. (I think)

W: Failed to fetch cdrom://Linux Mint 17.3 _Rosa_ - Release amd64 20160105/dists/trusty/non-free/binary-i386/Packages  Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs

Next you need to install build tools :

apt-get install build-essential

It doesn’t seem to have a dependency set on build-essentials, so do it in two steps ! Then finally install zfs … ubuntu-zfs :/

apt-get install spl-dkms zfs-dkms ubuntu-zfs

What was installed is not really clear to me, but I could find my ZFS again, after doing :

modprobe zfs

Finding the zpool can be done using :

zpool import

and to import the set : (dataet = pool name)

zpool import dataset

happy recovery 🙂



Note  : on Mint 18.1 you don’t have to install the apt anymore, you can simply install

apt-get install zfs
apt-get install zfsutils-linux


Leave a Reply

Your email address will not be published. Required fields are marked *