Replies: 6 comments 9 replies
-
Thanks for the feedback! |
Beta Was this translation helpful? Give feedback.
-
Sure! Oh, and also two more things: your cmdline instruction uses /dev/ style addressing instead UUID, and discard for LUKS2 is enabled using |
Beta Was this translation helpful? Give feedback.
-
Oh, and one more thing: I would suggest to first encrypt only one of the devices in RAID, not all of them, then setup cmdline and optionally clevis (e.g. with TPM) for that device and reboot the system to see if everything works. If there's any issue, everything is easily reversible at this point still. |
Beta Was this translation helpful? Give feedback.
-
Lastly, I would rather suggest prepending to |
Beta Was this translation helpful? Give feedback.
-
Aaand one more suggestion: anyone attempting this should do a complete ZFS scrub to make sure any errors are fixed first before one of the copies is taken offline. Unfortunately, I didn't and as I was resilvering the disk, some permanent errors showed up. I was able to restore those files from backups, but it's still something that could be avoided with full scrubbing. |
Beta Was this translation helpful? Give feedback.
-
Two more things I noticed:
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Crypttab is used for non-root partitions only. For root partition, Proxmox uses dracut and kernel/cmdline, as you also instruct to adjust.Actually, neither of that is true, and Clevis in particular needs crypttab.Additionally, you can find the UUID of LUKS partitions easily with
blkid | grep crypto_LUKS
, insteadlsblk -o NAME,PATH,UUID,WWN,MOUNTPOINTS,FSTYPE,LABEL,MODEL,SERIAL | grep -v "/dev/zd"
etc.You also somewhat misleadingly ask to "Get the UUID's of the encrypted partitions". This could suggest to find the UUID of the nested ZFS partitions, which would be wrong.
That having said, I appreciate the guide a lot! Thanks!
Beta Was this translation helpful? Give feedback.
All reactions