Bug 101790

Summary: kickstart create /dev/mdmd0 in /etc/raidtab
Product: Red Hat Enterprise Linux 2.1 Reporter: Uwe Beck <ubeck>
Component: anacondaAssignee: Michael Fulbright <msf>
Status: CLOSED RAWHIDE QA Contact: Mike McLean <mikem>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.1CC: smann, tao
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-08-06 22:00:31 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 Uwe Beck 2003-08-06 21:40:02 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.08 [en] (X11; I; AIX 4.3)

Description of problem:
Use the --device option for creating a raid5 with kickstart.

ks.cfg:

part raid.01 --size 1 --grow --ondisk sdb --asprimary
part raid.02 --size 1 --grow --ondisk sdc --asprimary
part raid.03 --size 1 --grow --ondisk sdd --asprimary
part raid.04 --size 1 --grow --ondisk sde --asprimary

raid /usr2  --fstype ext3 --level=RAID5 --spares=1 --device md0 raid.01 raid.02
raid.03 raid.04

This kickstart instructions works correct at the same computer under Red Hat
7.2.

Also you can find a example for using --device in the kickstart documentation at
the raid chapter.

RHEL ES 2.1´s anaconda create in file /etc/raidtab the /dev/mdmd0 device. Boot
after kickstart stop at mount because the /dev/mdmd0 does not exist.

Without the --device md0 option

raid /usr2  --fstype ext3 --level=RAID5 --spares=1 raid.01 raid.02 raid.03
raid.04

the /etc/raidtab is o.k. and the boot after kickstart works.



Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. Create a raid5 with kickstart using the --device option
2. Reboot afte kickstart finished
3.
    

Additional info:

Comment 1 Jeremy Katz 2003-08-06 22:00:31 UTC
Use --device 0 with 2.1 for md0 (or 1 for md1, etc).  The next release is a bit
more forgiving in the syntaxes it allows.

Comment 2 Uwe Beck 2003-08-07 14:58:46 UTC
The workaround --device 0 is o.k.. Now the /dev/md0 is in file /etc/raidtab.

raid /usr2  --fstype ext3 --level=RAID0 --device 0 raid.01 raid.02 raid.03 r
aid.04

The fix comes with the next quaterly update because I user Q2 at this time?