Bug 73884

Summary: Anaconda-ks.cfg doesnt completely represent partitioning setup for RAID
Product: [Retired] Red Hat Linux Reporter: John Airey <johnairey>
Component: anacondaAssignee: Chris Lumens <clumens>
Status: CLOSED RAWHIDE QA Contact: Mike McLean <mikem>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.3Keywords: FutureFeature
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-06-08 20:24:16 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:
Bug Depends On:    
Bug Blocks: 150222    

Description John Airey 2002-09-12 21:35:00 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0; T312461)

Description of problem:
The anaconda installer does not create the correct size software RAID partitions

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


How reproducible:
Always

Steps to Reproduce:
1. Install Red Hat Linux 7.3 with software raid partitions
2. Create ks.cfg file from anaconda-ks.cfg file and boot disk
3. Boot system
	

Actual Results:  An error appears that the system cannot install onto disks 
with size "None". The installation fails.

Expected Results:  There should have been no error and the correct RAID 
partitions created and the installation completed.

Additional info:

The problem is caused by the installer writing an incorrect anaconda-ks.cfg. 
Here's an example:

clearpart --linux
#part raid.2 --noformat --onpart hda2
#part raid.5 --noformat --onpart hdc2
#part swap --onpart hda3
#part swap --onpart hdc3
#raid / --fstype ext3 --level=RAID1 raid.2 raid.5

The solution is for software RAID partitions to be represented by start and end 
cylinders, since specifying size may lead to software RAID partitions being 
placed differently on the disk.  For the above example:

#clearpart --linux
#part raid.2 --noformat --start=2 --end=1001 --ondisk=hda
#part raid.5 --noformat --start=2 --end=1001 --ondisk=hdc
#part swap --start=1002 --end=1023 --ondisk=hda
#part swap --start=1002 --end=1023 --ondisk=hdc
#raid / --fstype ext3 --level=RAID1 raid.2 raid.5

This is also a problem with Red Hat 7.2

Comment 1 Michael Fulbright 2002-09-13 18:38:33 UTC
*** Bug 73883 has been marked as a duplicate of this bug. ***

Comment 2 Chris Lumens 2005-06-08 20:24:16 UTC
I believe this is fixed in FC4.  Please reopen if you are still seeing this problem.