View Issue Details

IDProjectCategoryView StatusLast Update
0017830CentOS-7dracutpublic2020-11-05 02:06
Reporterjq325aet Assigned To 
PriorityimmediateSeverityblockReproducibilityalways
Status newResolutionopen 
Product Version7.8-2003 
Summary0017830: System does not recognize LUKS devices in dracut boot process
DescriptionSystem has two identical SSDs configured as RAID0 and encrypted. After the latest update, system cannot boot and the dracut reports:
- /dev/xxxx/root does not exist
- /dev/xxxx/swap does not exist
- crypto LUKS UUID xxx not found
where xxxx stands for the machine designation or the actual UUID

blkid finds:
- /dev/sdb TYPE="isw_raid_member"
- /dev/sda TYPE="isw_raid_member"
- /dev/md126 PTTYPE="PMBR"
where sda and sdb are the identically sized RAID0 members. There are two additional harddisks recognized but not relevant to the boot process.

Further, the grub2 commandline lists the two LUKS disks as rd.md.uuid=xxx (for each disk) and then rd.luks.uuid=xxx for the LUKS partition which is not recognized in the dracut boot process.

If I remove both of the rd.md.uuid statements and replace with a single rd.md=0 the machine boots, I enter the password and everything seems to work EXCEPT only one of the two disks have been unlocked and clearly they are not in RAID0 mode anymore.

Two questions:
- Can I work around this and boot in RAID0 mode and decrypt both harddisks until a fix has been released?
- Can we get a fix for this very serious bug quickly?

Thank you.
TagsNo tags attached.
abrt_hash
URL

Activities

ManuelWolfshant

ManuelWolfshant

2020-11-03 23:08

manager   ~0037846

It might have helped if you mentioned what kernel version are you using and if a previous version works. If older kernel(s) work(s), you should compare the list of drivers included in the initial ramdisk because I have a strong feeling that a needed kernel module is missing in the new one.
jq325aet

jq325aet

2020-11-03 23:17

reporter   ~0037847

This is version 3.10.0-1127.19.1 and none of the other four kernels in grub boots either...
ManuelWolfshant

ManuelWolfshant

2020-11-03 23:26

manager   ~0037848

if no kernel boots any more, I am pretty sure that your initial ramdisks were rebuild without including a kernel module required by LUKS.
you should rebuild them , forcing dracut to include the missing driver. And in the process you might as well upgrade to centos 7.9, kernel 3.10.0-1160.2.2.el7.x86_64 is already available in the CR repository.
jq325aet

jq325aet

2020-11-03 23:46

reporter   ~0037849

I am not that good - yet... Could you tell me how to rebuild the ramdisks etc.?
jq325aet

jq325aet

2020-11-05 02:06

reporter   ~0037850

Also, which kernel module is required by LUKS? Last, I would have thought the problem lies with recognizing the BIOS RAID0 setup since if I bypass the RAID setup in grub menu the computer boots and prompts me for the LUKS password followed by correctly decrypting the disk etc.

Issue History

Date Modified Username Field Change
2020-11-03 22:05 jq325aet New Issue
2020-11-03 23:08 ManuelWolfshant Note Added: 0037846
2020-11-03 23:17 jq325aet Note Added: 0037847
2020-11-03 23:26 ManuelWolfshant Note Added: 0037848
2020-11-03 23:46 jq325aet Note Added: 0037849
2020-11-05 02:06 jq325aet Note Added: 0037850