I recently installed Ubuntu 16.04 LTS on my desktop and wanted to move my existing ZFS pool over. I did that by doing the following:
$ sudo apt-get install zfsutils-linux
$ sudo zfs mount -vO -a
The -vO
switch is for overlay mounting. I mount my ZFS pool over the /home
directory. If I log out and back in, everything works as expected.
However, when I reboot my machine, the ZFS pool is not automounted, and I have to go through the above steps again. Is there any way to get Ubuntu to automount my ZFS pool?