Bug 158033 - lvm kickstart install is not growing phyical volume
lvm kickstart install is not growing phyical volume
Product: Fedora
Classification: Fedora
Component: anaconda (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Anaconda Maintenance Team
Mike McLean
Depends On:
  Show dependency treegraph
Reported: 2005-05-17 19:20 EDT by Orion Poplawski
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-07-06 17:54:18 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Orion Poplawski 2005-05-17 19:20:07 EDT
Description of problem:
With the following partition setup in a kickstart file:

clearpart --linux
part /boot --fstype ext3 --size=50
part pv.1 --size=5800 --grow
volgroup rootvg pv.1
logvol / --vgname=rootvg --size=512 --name=root
logvol swap --fstype=swap --vgname=rootvg --recommended --name=swap
logvol /usr --vgname=rootvg --size=4000 --name=usr
logvol /var --vgname=rootvg --size=256 --name=var
logvol /export/data1 --vgname=rootvg --size=1 --grow --name=data1

I'm trying to install on a 10GB disk, but it is not growing pv.1 to fill the
rest of the disk.  Instead I seem to be getting random sizes.  In fact, as I
increase the --size parameter for pv.1, the partition it creates keeps getting
smaller.  Actually, it appears that it is treating "size" as the amount of disk
space to keep free on the disk.

How reproducible:
Comment 1 Jeremy Katz 2005-05-18 21:39:55 EDT
Are there any pre-existing non-linux partitions on the disk?
Comment 2 Orion Poplawski 2005-05-18 23:27:45 EDT
It doesn't seem to matter if there are or not.  I've seen it on both of my
fc4test3 installs, one on a linux only disk (1 ext3 boot, 1 LVM) and one with
existing HFS+ partitions (on a mac).
Comment 3 Jeremy Katz 2005-05-19 08:25:10 EDT
On the linux only disk, can you see if clearpart --all makes any difference?
Comment 4 Orion Poplawski 2005-05-19 11:01:05 EDT
clearpart --all does not appear to make any difference.
Comment 5 Chris Lumens 2005-05-23 12:04:43 EDT
Please try out the updates.img available from 
http://people.redhat.com/clumens/158033-update/ and let me know if it makes any
difference.  This is a test fix for a different problem that has some similar
behavior to what you're seeing.
Comment 6 Orion Poplawski 2005-05-23 12:17:50 EDT
Does not appear to have any effect (this is placed in the Fedora/base/ directory
for NFS installs, right?).

Comment 7 Chris Lumens 2005-06-07 16:07:00 EDT
I'm unable to reproduce this on our later FC4 tests.  Please test again with FC4
and let us know if it's still broken.  I've seen similar symptoms regarding
using the size as the amount of free space to leave, and I believe it should be
fixed now.
Comment 8 Orion Poplawski 2005-06-07 16:12:48 EDT
Um, where do I get a later FC4 test?
Comment 9 Orion Poplawski 2005-07-06 17:54:18 EDT
Appears to be fixed in FC4 final

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