Comment on Trouble automounting a LUKS parition that is on a mdadm raid6

<- View Parent
db_geek@norden.social ⁨1⁩ ⁨day⁩ ago

@Hercules My exampled assumed, that you only have a password set on keyslot 0.

LUKS keyslots are starting at 0, so it seems, that you deleted the initial set password.
I hope, you know the other keyslots.

As far I can see, you can specify, which keyslot has to be selected for unlocking the volume key.
More information you can find in the man page.
```
man cryptsetup-luksaddkey

cryptsetup luksAddKey /dev/md0 --new-key-slot 0 --key-slot 1
```

original
Sort:hotnewtop