Bug 605710 - Make mdadm udev rules honor noiswmd cmdline option
Make mdadm udev rules honor noiswmd cmdline option
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: mdadm (Show other bugs)
All Linux
low Severity medium
: rc
: ---
Assigned To: Doug Ledford
Red Hat Kernel QE team
Depends On:
  Show dependency treegraph
Reported: 2010-06-18 11:29 EDT by Hans de Goede
Modified: 2011-05-19 10:23 EDT (History)
4 users (show)

See Also:
Fixed In Version: mdadm-3.1.3-0.git20100722.2
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2011-05-19 10:23:37 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Hans de Goede 2010-06-18 11:29:18 EDT

The new incremental mdraid assembly rules contain:
ENV{rd_NO_MDIMSM}=="?*", GOTO="md_imsm_inc_end"

But this only works when run from the udev running from dracut, rd_NO_MDIMSM does not get set when the new udev gets started in the real root.

I've filed bug 589775 against udev for this which is now in ON_QA. However rather then setting rd_NO_MDIMSM from start_udev which was my proposed solution a more generic solution has been added to udev, one can now write:


Which will see if there is a noiswmd or a noiswmd=foo in /proc/cmdline and
then set ENV{noiswmd} to "1" or to foo.

Then make the test:
ENV{noiswmd}=="?*", GOTO="md_imsm_inc_end"

And were done. Note that rd_NO_MDIMSM was the dracut specific name for noiswmd which only works for dracut, the generic RHEL / Fedora option (mostly for testing purposes) is noiswmd, this gets recognized by anaconda, dracut and initscripts (and soon also by the mdadm udev rules I hope).


Comment 1 RHEL Product and Program Management 2010-06-18 11:43:30 EDT
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release.  Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release.  This request is not yet committed for
Comment 2 RHEL Product and Program Management 2010-07-15 10:51:50 EDT
This issue has been proposed when we are only considering blocker
issues in the current Red Hat Enterprise Linux release. It has
been denied for the current Red Hat Enterprise Linux release.

** If you would still like this issue considered for the current
release, ask your support representative to file as a blocker on
your behalf. Otherwise ask that it be considered for the next
Red Hat Enterprise Linux release. **
Comment 3 Hans de Goede 2010-07-15 11:05:04 EDT
If this is not making 6.0 I would like to see this fixed for 6.1 setting 6.1 flag to ?.
Comment 16 errata-xmlrpc 2011-05-19 10:23:37 EDT
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.


Note You need to log in before you can comment on or make changes to this bug.