Created attachment 361754 [details]
PATCH: do not try to activate isw raidsets with dmraid, unless noiswmd is present on the cmdline
Do not try to activate isw raidsets with dmraid, unless noiswmd is present on the cmdline.
This patch also replaces:
/sbin/dmraid -ay -i -p -t | <complicated grep + awk>
With a simple:
/sbin/dmraid -s -c -i
Which besides being simpler also has the advantage of not listing subsets
of layer raids (such as raid10) so that we do not try to activate individual
subsets (which fails, and shows ugly error messages).
Note we need todo the same (use /sbin/dmraid -s -c -i) for RHEL-5, I'll file
a separate bug for this.
p.s. I've filed 2 more initscript bugs with patches: bug 524357, bug 524359, you
might want to take a look at those too, before doing a new release.
This caused a minor regression: bug 527726