Bug 110371

Summary: bad raidtab entry: /dev/mdmd0
Product: Red Hat Enterprise Linux 2.1 Reporter: Mike McLean <mikem>
Component: anacondaAssignee: Jeremy Katz <katzj>
Status: CLOSED WONTFIX QA Contact: Mike McLean <mikem>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.1   
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: 2003-11-18 22:34:11 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:

Description Mike McLean 2003-11-18 21:50:20 UTC
* Pensacola-re1118.QU3.1
* kickstart install w/ raid

The installed system failed to boot complaining about a lack of raid
device in /dev.  Poking around at the repair filesystem prompt, I
discovered that /etc/raidtab referenced /dev/mdmd0 instead of /dev/md0

Here is the partitioning section of the kickstart:

clearpart --all
part / --size 2048 --grow
part /boot --size 200
part swap --recommended
part raid.01 --size 2048 --grow
part raid.02 --size 2048 --grow
raid /usr --level 0 --device md0 raid.01 raid.02

Comment 1 Jeremy Katz 2003-11-18 22:07:27 UTC
2.1 doesn't support --device md0 -- you must do --device 0 to get
explicit devices.

Comment 2 Mike McLean 2003-11-18 22:26:50 UTC
according to:
https://www.redhat.com/docs/manuals/linux/RHL-7.2-Manual/custom-guide/s1-kickstart2-options.html
(This is the link you get when you select the 2.1 AS Customization
Guide from https://www.redhat.com/docs/manuals/enterprise/)

'--device md0' should work

Even the 7.1 (and 7.3) customization guide(s) list this as correct syntax.

The installer does seem to handle it fine for the most part, only the
entry in raidtab is broken.

Comment 4 Jeremy Katz 2003-11-18 22:34:11 UTC
7.2 didn't support --device at all (the fact that the docs say that it
does to the contrary).  I added the --device n hack for IS in the
initial spin of 2.1 but then improved on it for 7.3.