Proxmox + Clevis for automacially unlocking root disk

aPollO

Renowned Member
Mar 6, 2014
150
13
83
Cottbus, Germany
Hi,

i'm trying to archive network bound disk unlocking. I setup tang server in my network outside of the pve host. My pve host disk is encrypted with cryptsetup/LUKS2. I can unlock the disk at boot time with entering passphrase. So my LUKS setup is working as expected.

Now i installed clevis and clevis-initramfs on my pve host. Ad used clevis command to bind the tang server on keyslot 1 of my encrypted disk. I rebuilded my initramfs.

Rebootet. My problem is that i still stuck at the passphrase question on the bootscreen. No DHCP client looking for an IP address. No autodecryption. I have to enter my passphrase.

The network card driver is i40e. And with lsinitramfs i found that i40e.ko is a part of the initrd.image

I'm still on PVE 7.4-17 on this host. The Ethernet controller model is Intel X710. The server has two NICs.

Any idea how to debug this?

Edit: Okay i'm using VLAN and LACP with the two NICs. Maybe this is the cause of the issue. I will try without both later.
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!