I ran into the same issue, in that cryptsetup's initramfs-tools hook (/usr/share/initramfs-tools/hooks/cryptroot) doesn't currently handle ZFS pools. I've modified the hook to add this functionality. It should be able to handle complicated pool configurations (e.g., multiple vdevs, ZIL, spares, etc.), but I've been able to give it only limited testing within single-vdev pools. I am putting my patches into the public domain.
** Patch added: "Adds support for encrypted ZFS pools to the cryptroot initramfs-tools hook" https://bugs.launchpad.net/ubuntu/+source/cryptsetup/+bug/1238275/+attachment/4398196/+files/cryptroot-add-zpool-support.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1238275 Title: cryptsetup should support block devices without filesystems To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cryptsetup/+bug/1238275/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
