Ubuntu 16.04 - upgrade to ZFS 0.7?

What is the recommended way to upgrade ZFS on Ubuntu 16.04? i have read this thread, but the PPA is not safe?
Ubuntu 16.04, ZFS 0.7.3 anyone got it running? : zfs

Did you upgrade to Ubuntu 16.04 from a prior version of Ubuntu? If so, what version?

You might consider installing ZFS on Ubuntu 16.04 from scratch versus upgrading.

Normally, for complex upgrades, I find it is easier and safer not to upgrade, but to start with the latest and greatest and install the features (in your case, ZFS) on top of a new distribution versus trying to "upgrade".

i have installed 16.04.5 from scratch yesterday. i also mount zfs disks between solaris and linux. And the zfs version in 16.04.5 is not really stable. that is why i need to upgrade to zfs v0.7. so my question is, how do you recommend to upgrade zfs to v0.7 on ubuntu 16.04.5? Anyone knows?

What is the ZFS version in your new Ubuntu 16.04.5 install?

From what I know, ZFS is not shipped with Ubuntu 16.04.5 (licensing issue) and must be installed separately as a loadable kernel module.

Isn't that right?

So, it's not clear what you mean by "upgrade" since if you installed Ubuntu 16.04.5 from scratch, then there is no ZFS installed unless you installed it.

Correct?

Your post is lacking a lot of details!

You can install ZFS with apt install in 16.04, and that version is 0.6 something. it is a bit buggy. in 18.04.1 you can apt install zfs version 0.7 something. i want it, how?

You can simply go to the ZFS GIT pages and download the version you want.

Yes, I know you can install with apt; but you are not being clear.

You have already installed version 0.6 or not? You said "upgrade", so this implies you already installed version 0.6 and now want to install 0.7.

Or, do you simply want to install 0.7 from scratch?

Here is the GIT repo:

Releases . zfsonlinux/zfs . GitHub

If it was me, I would do something like following (after some reading)

  • Install the Ubuntu 16 version of ZFS using apt.
  • Download the source, build and compile the version you want.
  • Edit /etc/modules and switch out the ZFS module to the one you want.
  • Test and if it does not work, then go back to the working kernel module.

Or if it was REALLY me, I would install Ubuntu 18 (which I am running now on a production server). Version 16 is already near EOL.

myserver:/etc#  lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 18.04.1 LTS
Release:	18.04
Codename:	bionic