Bug 141370 - anaconda doesn't specify pesize when writing anaconda-ks.cfg
Summary: anaconda doesn't specify pesize when writing anaconda-ks.cfg
Alias: None
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: anaconda
Version: 3.0
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Jeremy Katz
QA Contact: Mike McLean
Depends On:
TreeView+ depends on / blocked
Reported: 2004-11-30 18:42 UTC by David Lehman
Modified: 2007-11-30 22:07 UTC (History)
3 users (show)

Clone Of:
Last Closed: 2006-04-24 18:00:16 UTC

Attachments (Terms of Use)

Description David Lehman 2004-11-30 18:42:24 UTC
Description of problem:
writeKS in partitions.py does not specify the PE size of a volume group. When
the user has specified a PE size greater than the default they may also specify
larger LVs. However, if the anaconda-ks.cfg is actually used in this case, the
creation of these LVs will fail because the PE size is prohibitively small (it
will have defaulted to 4MB since the pesize was not specified).

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

How reproducible:

Steps to Reproduce:
1. Install a system using LVM with pesize > 4MB and a logical volume of size > 256GB
2. Take the resulting /root/anaconda-ks.cfg and, after uncommenting the
partitioning info, use it to kickstart another (or the same) system
Actual results:
kickstart install fails because lvm specs say to create an LV > 256GB with a VG
whose PE size is 4MB, which is not possible

Expected results:
kickstart works just like the install from whence it was generated

Additional info:

Comment 1 Jeremy Katz 2004-12-01 19:14:06 UTC
Fixed in CVS for RHEL4 and HEAD

Comment 2 Jeremy Katz 2006-04-24 18:00:16 UTC
Mass-closing lots of old bugs which are in MODIFIED (and thus presumed to be
fixed).  If any of these are still a problem, please reopen or file a new bug
against the release which they're occurring in so they can be properly tracked.

Note You need to log in before you can comment on or make changes to this bug.