Bug 1286464
Summary: | Can not boot from mdraid with LVM on top of it | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Adam Pribyl <covex> |
Component: | dracut | Assignee: | dracut-maint-list |
Status: | CLOSED CANTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 22 | CC: | dracut-maint-list, harald, jonathan, zbyszek |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-12-01 12:58:10 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Adam Pribyl
2015-11-29 19:09:06 UTC
dracut does not hardcode the md config in the initrd anymore. So you have to specify the rd.md.uuid's on the kernel cmdline or add "rd.auto=1". 1. mdadm.conf is there, just it is not used for anything probably. In past it was used in 30-parse-md.sh to detect there is a raid that needs initialization. 2. what is the correct way to automatically get the rd.md of rd.auto options to kernel command line? I thought this should be done during kernel install (initramfs creation), otherwise it renders system unbootable with new kernel. Of course I can put rd.auto in /etc/default/grub manually, but it seems weird to me, that default kernel installation method is not detecting raid. If this is OK, that it needs manual intervention, then close please. (In reply to Adam Pribyl from comment #2) > 1. mdadm.conf is there, just it is not used for anything probably. In past > it was used in 30-parse-md.sh to detect there is a raid that needs > initialization. > > 2. what is the correct way to automatically get the rd.md of rd.auto options > to kernel command line? I thought this should be done during kernel install > (initramfs creation), otherwise it renders system unbootable with new kernel. # dracut --print-cmdline for a hint, then edit your grub config by hand Sorry, anaconda puts this in there by default on new installations. The upgrade path missed this. > > Of course I can put rd.auto in /etc/default/grub manually, but it seems > weird to me, that default kernel installation method is not detecting raid. > > If this is OK, that it needs manual intervention, then close please. Yes, it needs manual intervention. Sorry for the inconvenience. |