Everything posted by acid2000
-
Help backing up LUKS header and adding keyfile (Unraid 7)
I want to use a passphrase and a key. The link here has reasons why https://weirdion.github.io/posts/automating-unraid-array-decryption/
-
Help backing up LUKS header and adding keyfile (Unraid 7)
So i should add my new key to all encrypted devices?
-
Help backing up LUKS header and adding keyfile (Unraid 7)
Great catch, the second drive in my array wasn't encrypted. Luckily it was empty, formatted it and now I can confirm the following devices have LUKS headers: * cache drive - /dev/nvme0n1p1 * cache drive - /dev/nvme1n1p1 * array drive - /dev/md1p1 * array drive - /dev/md2p1 Is it now as simple as adding a new key to each of those drives?
-
Help backing up LUKS header and adding keyfile (Unraid 7)
Great, I've been able to find a LUKS header on /dev/md1p1 which I've backed up. I do have some other questions before I start adding keys though as I don't want to screw this up. I have another device, /dev/md2p1 which is mounted at /mnt/disk2. This looks like it may be the second drive in my array. This doesn't have a LUKS header and I was kinda expecting it to. It my head I'm expecting to find at least two LUKS headers, one for my array and the other on my cache. Is this not the case? Is there only one LUKS drive for all my disks?
-
Help backing up LUKS header and adding keyfile (Unraid 7)
I'm currently running Unraid 7 with 3 array drives and 2 cache drives. I have enabled LUKS + password and I'm pretty happy with it. I now want to: * Backup the LUKS encryption headers with the `cryptsetup luksHeaderBackup` command * Add a keyfile so that I can decrypt the array with password or file * Ultimately follow this guide on auto decrypting the array https://weirdion.github.io/posts/automating-unraid-array-decryption/ I'm struggling on the first step, trying to find the logical LUKS devices. I've run `cryptsetup luksDump` on a few drives in /dev as well as /dev/disk/ and can't seem to find any valid LUKS device. Can anyone help me out?