pekkari n00b
Joined: 18 Nov 2019 Posts: 1
|
Posted: Mon Nov 18, 2019 12:37 pm Post subject: New valid luks header not recognized in initrd |
|
|
Hi,
I have a server where I have sw raid(md0) with luks booting correctly, I added a couple of
disks to do a new raid(md127) with luks, and use it to boot the system, for what I run the
following set of commands:
Code: |
# mdadm --create --verbose /dev/md127 --level=0 --raid-devices=2 /dev/sda /dev/sdb
# cryptsetup luksFormat
# cryptsetup luksDump /dev/md127
LUKS header information for /dev/md127
Version: 1
Cipher name: aes
Cipher mode: xts-plain64
Hash spec: sha256
Payload offset: 4096
MK bits: 512
MK digest: <digest>
MK salt: <salt>
MK iterations: 178329
UUID: <UUID>
Key Slot 0: ENABLED
Iterations: 2837824
Salt: <salt>
Key material offset: 8
AF stripes: 4000
Key Slot 1: DISABLED
Key Slot 2: DISABLED
Key Slot 3: DISABLED
Key Slot 4: DISABLED
Key Slot 5: DISABLED
Key Slot 6: DISABLED
Key Slot 7: DISABLED
|
Afterwards I point grub.cfg to reach md127 instead of md0 expecting
I'll get prompted the password of my luks, instead, I receive a message like:
The LUKS device /dev/md127 does not contain a LUKS header.
And trying the same luksDump inside the initrd shell I get:
Code: |
# cryptsetup luksDump /dev/md127
Device /dev/md127 is not a valid LUKS device.
|
Anybody have seen this by chance? Any ideas why this could happen?
Thanks! |
|