cryptsetup zfs does not mount all pools

carsten2

Renowned Member
Mar 25, 2017
283
37
93
56
I use cryptsetup for full disk encryption.

The disk has just one partition which is fully encrypted with some subpartitions in the encrypted part. The pools use these encrypted subpartitions.
When the server is reboot (after entering password on the keyboard at boot time), the server does not alwayse detect and mount all ZFS pools.
After a command "partprobe" it does, however.

There seems to be a problem in the booting waiting for all cryptsetup partitions to be there or refreshing the partition list (z.b. with partprobe) before zfs starts detecting and mounting.