dracut/modules.d/90mdraid
Vivek Goyal cc4037d120 dracut: Override rd.md settings if rd.md.uuid is provided
Currently anaconda provides rd.md=0 on kernel's command line as a boot
time optimization if root is not on md device. But this leads to kdump
failure. We copy the command line from first kernel and if dump target
is on md device, it fails as we never try to assemble md devices as
rd.md=0.

We have already set rd.md.uuid though in /etc/cmdlind.d/ dir providing
dracut the info about what md devices to assemble. So this patch overrides
rd.md settings if rd.md.uuid is provided.

This is a stop gap measure to get kdump working on software raid
devices. Harald seems to have bigger cleanup plans for rd.md. Once
that happens, this patch will not be needed and things should
automatically be fixed.

Signed-off-by: Vivek Goyal <vgoyal@redhat.com>
2012-09-06 10:45:24 +02:00
..
65-md-incremental-imsm.rules mdraid: catch nested md raids 2012-08-22 13:01:53 +02:00
md-noddf.sh 90(md|dm)raid: recognize ddf container 2011-09-22 15:37:26 +02:00
md-noimsm.sh 90(md|dm)raid: recognize ddf container 2011-09-22 15:37:26 +02:00
md-shutdown.sh mdraid/md-shutdown.sh: check for presence of mdadm 2012-06-08 12:42:12 +02:00
mdmon-pre-udev.sh Move all files to /run/initramfs 2011-04-12 12:08:50 +02:00
mdraid-cleanup.sh mdraid: always create need_shutdown, if we have assembled a raid 2012-08-14 17:44:46 +02:00
mdraid-needshutdown.sh mdraid: always create need_shutdown, if we have assembled a raid 2012-08-14 17:44:46 +02:00
mdraid-waitclean.sh 90mdraid: add "--offroot" support 2012-02-13 21:16:31 +01:00
mdraid_start.sh 90mdraid: add "--offroot" support 2012-02-13 21:16:31 +01:00
module-setup.sh mdraid: always create need_shutdown, if we have assembled a raid 2012-08-14 17:44:46 +02:00
parse-md.sh dracut: Override rd.md settings if rd.md.uuid is provided 2012-09-06 10:45:24 +02:00