Cryptinplace: use persistent device naming #110

Closed
opened 2021-03-18 17:11:38 +00:00 by rafael · 5 comments
rafael commented 2021-03-18 17:11:38 +00:00 (Migrated from gitlab.privaz.io)

rented a 2SSD server, each boot the device name changes... seems to break cryptinplace

rented a 2SSD server, each boot the device name changes... seems to break cryptinplace
rafael commented 2021-03-19 07:31:36 +00:00 (Migrated from gitlab.privaz.io)

changed title from {-Hetzner: changing disk devices-} to {+Cryptinplace: use persistent device naming+}

changed title from **{-Hetzner: changing disk devices-}** to **{+Cryptinplace: use persistent device naming+}**
rafael commented 2021-03-19 09:18:49 +00:00 (Migrated from gitlab.privaz.io)

mentioned in commit 10b5d808b4

mentioned in commit 10b5d808b4f71de7cabd24dbbe2846d11afbc1a3
rafael commented 2021-03-19 10:47:04 +00:00 (Migrated from gitlab.privaz.io)

there are additional issues:

  • no presistent device names are found in the ramdisk
  • no crypto drivers are found in the ramdisk

Maybe MAAS is using a custom ramdisk or something but in our MAAS environment is OK and hetzner is not

there are additional issues: - no presistent device names are found in the ramdisk - no crypto drivers are found in the ramdisk Maybe MAAS is using a custom ramdisk or something but in our MAAS environment is OK and hetzner is not
rafael commented 2021-03-19 13:26:51 +00:00 (Migrated from gitlab.privaz.io)

I did not get to understand why the crypto modules are missing in the initramfs
Or why ARE there in our MAAS installed servers

cryptroot hook will try to guess which modules are required, however it can be forced to include all/most editing this file:

/etc/cryptsetup-initramfs/conf-hook

and setting CRYPTSETUP=y

I did not get to understand why the crypto modules are missing in the initramfs Or why ARE there in our MAAS installed servers cryptroot hook will try to guess which modules are required, however it can be forced to include all/most editing this file: ``` /etc/cryptsetup-initramfs/conf-hook ``` and setting ```CRYPTSETUP=y```
rafael commented 2021-03-19 14:00:23 +00:00 (Migrated from gitlab.privaz.io)

mentioned in commit e7c942cdcb

mentioned in commit e7c942cdcb315197ca91fe5b0713f1e999f9ddbe
rafael (Migrated from gitlab.privaz.io) closed this issue 2021-03-22 10:43:50 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
privazio/ansible-collection-vdc#110
No description provided.