Public bug reported: When using ubuntu 18.04 with ZFS pool that used as the root filesystem is imported by initramfs, so the systemd job can't import that pool as it's already imported.
root@worker02:~# systemctl status zfs-import-cache.service ● zfs-import-cache.service - Import ZFS pools by cache file Loaded: loaded (/lib/systemd/system/zfs-import-cache.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Wed 2018-08-08 08:36:22 CEST; 2h 45min ago Docs: man:zpool(8) Process: 4044 ExecStart=/sbin/zpool import -c /etc/zfs/zpool.cache -aN (code=exited, status=1/FAILURE) Main PID: 4044 (code=exited, status=1/FAILURE) aug 08 08:36:22 worker02 systemd[1]: Starting Import ZFS pools by cache file... aug 08 08:36:22 worker02 zpool[4044]: cannot import 'rpool': pool already exists aug 08 08:36:22 worker02 systemd[1]: zfs-import-cache.service: Main process exited, code=exited, status=1/FAILURE aug 08 08:36:22 worker02 systemd[1]: zfs-import-cache.service: Failed with result 'exit-code'. aug 08 08:36:22 worker02 systemd[1]: Failed to start Import ZFS pools by cache file. ** Affects: zfs-linux (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1786011 Title: zfs-import-cache.service fails when using ZFS as root partition To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/zfs-linux/+bug/1786011/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs