Comment 0 for bug 1962409

Revision history for this message
geole0 (geole0) wrote :

Hello
I just installed the zfs 22.04 encrypted version on an external drive.
When I launch the installed software, there is a loss of time of 90 seconds looking for the partition containing the swap.
Would it be possible to replace the device name with a UUID name in the /etc/crypttab?
Indeed at the time of installation the disk is SDC but it becomes SDA during startup...

cat /etc/crypttab
cryptoswap /dev/sdc2 /dev/urandom swap,initramfs

blkid | grep LUKS
/dev/sda2: UUID="6897cf48-5e28-4163-9de5-056b1385063c" TYPE="crypto_LUKS" PARTUUID="a8a79383-adb6-eb4c-95b6-fd40affd90d0"
/dev/zd0: UUID="e516377f-ee45-46e2-a3b0-03869113269a" TYPE="crypto_LUKS"