Bug 524355

Summary: PATCH: do not try to activate isw raidsets with dmraid, unless noiswmd is present on the cmdline
Product: [Fedora] Fedora Reporter: Hans de Goede <hdegoede>
Component: initscriptsAssignee: Bill Nottingham <notting>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: mschmidt, notting, rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-09-21 17:11:57 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
PATCH: do not try to activate isw raidsets with dmraid, unless noiswmd is present on the cmdline none

Description Hans de Goede 2009-09-19 11:57:41 UTC
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.

Comment 1 Hans de Goede 2009-09-19 12:17:44 UTC
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.

Comment 3 Michal Schmidt 2009-10-07 14:12:49 UTC
This caused a minor regression: bug 527726