Red Hat Bugzilla – Bug 428756
Anaconda mis-computes LVM VG capacity (off by one PE)
Last modified: 2008-06-17 17:22:10 EDT
Description of problem:
If I install Fedora onto a system with pre-existing LVs, it computes the total
required size of the VG incorrectly. Anaconda thinks that the VG requires one
more PE than than the sum of all of the LVs.
I've seen this both on re-imaged disks from FC6 systems, and also on blank disk
images under qemu, set up ahead of time with the F8 rescue CD.
This is a long-standing bug that has appeared in different Fedora and RHEL
releases. Please forgive me for re-opening this bug again; I'm not sure what
the proper procedure is for collecting together these bugs from different releases:
BUG147544 (rawhide as of Feb 2005)
BUG229090 (rawhide as of Feb 2007)
There may be other instances of the bug that I did not notice.
Version-Release number of selected component (if applicable):
Not sure about the anaconda version; it's the anaconda that's baked into the F8
Steps to Reproduce:
1. Partition a disk with an LVM volume group.
2. Add LVs to fill up the VG
3. Install Fedora, and point it at the LVs on that disk
Anaconda complains that the VG/LV setup is invalid (LVs too large for the VG).
The spillover amount that it reports is coincidentally the size of one PE.
Anaconda should not complain about the VGs that are set up by a
distro-compatible rescue image.
The workaround (pointed out in one of the other bugs) is pretty easy, provided
that one of the LVs is a swap partition. Just resize the swap partition to be a
bit smaller, and anaconda will accept the disk layout.
*** Bug 365491 has been marked as a duplicate of this bug. ***
*** Bug 147544 has been marked as a duplicate of this bug. ***
*** Bug 229090 has been marked as a duplicate of this bug. ***
*** Bug 444384 has been marked as a duplicate of this bug. ***
*** Bug 217222 has been marked as a duplicate of this bug. ***
One of the duplicates of this bug is in F9-Alpha, but have you encountered it in
the final release of Fedora 9?
(In reply to comment #6)
> One of the duplicates of this bug is in F9-Alpha, but have you encountered it in
> the final release of Fedora 9?
I did not encounter this in my case : Fedora 9 x86_64 - Install DVD, over
previous F8 install with /, swap, and /home in LVs, and /home preserved.
This issue still affects F9 final. If I start the installer with a
pre-partitioned disk with zero free PVs, then Anaconda reports an error "not
enough space" as soon as I select the first LV.
*** This bug has been marked as a duplicate of 437443 ***