initramfs opens LUKS encrypted dev without a problem,
but then fails with ZFS:
ZFS pool system already imported.
LUKS detected. Reimporting system
cannot import 'system': no such pool available
Working on device /dev/sdb1...
Using key device /dev/sda2.
Removable device /dev/sda2 mounted.
luks-key.gpg on device /dev/sda2 found
Enter passphrase:
LUKS device /dev/sdb1 opened
Initializing root device...
cannot open 'system/root': dataset does not exist
Logging into shell & mounting zpool & exit leads to a normal boot.
initramfs opens LUKS encrypted dev without a problem, but then fails with ZFS:
Logging into shell & mounting zpool & exit leads to a normal boot.
I've copied the error texts from here: https://forums.gentoo.org/viewtopic-p-7705230.html?sid=78ce44381b0a9e9e55094538773260c5 I got the same with different dev and pool names.
Changing the scrip order in default/linuxrc from: start_volumes zfs_start_volumes setup_keymap is_livecd || start_luks
to setup_keymap is_livecd || start_luks start_volumes zfs_start_volumes
solved this issue. Is there a reasion not to have luks before start_volumes?