Red Hat Bugzilla – Bug 437443
cannot install into existing logical volume when volume group is full
Last modified: 2009-07-09 15:51:21 EDT
Description of problem:
You cannot install rawhide into an existing logical volume when the volume group
is 100% full. You need at least 1 free PE within a volume group.
I have several LVM logical volumes setup prior to installation and all the space
in the volume group is assigned to logical volumes (one for Fedora, one for
/home which will be shared between Rawhide and Fedora, and one which I wish to
install Rawhide into). The volume group is 100% full. Anaconda shows that the
volume group has 100.1% used space, and free space is -0.1% (-32 MB). The volume
group's extent size is 32 MB.
I cannot edit the existing logical volume (using the edit button in the
screenshot attached) therefore I cannot specify its mountpoint.
Version-Release number of selected component (if applicable):
Rawhide as of 2008/03/13
Steps to Reproduce:
1. Create 2 partitions, one of 100 MB for /boot, and a physical volume for the
remaining space (the default)
2. Create a volume group
3. Create 3 logical volumes, one for /, one for swap, and one to install
rawhide. Ensure that the volume group is 100% full.
See first screenshot. iirc there is another dialog that's shown when you try to
edit the logical volumes, but i forgot to capture it.
You should be able to edit the detail of a volume group that's full. See second
screenshot (this is after I reduced the size of the rawhide LV by one).
There is an "off by one" bug in Anaconda. You can workaround the problem by
dropping to the console then using lvm to reduce the size of a logical volume by
I can attach an lvmdump if required.
Created attachment 298023 [details]
screenshot showing the problem
Created attachment 298024 [details]
Actually, the figures in the expected results screenshot are wrong! The
"expected results" screenshot was taken after I dropped to the console and ran
"lvreduce -l -1 vg0/rawhide". If I drop to the console now and run "vgs --units
m" I get this:
VG #PV #LV #SN Attr VSize VFree
vg0 1 4 0 wz--n- 46720.00M 32.00M
The correct size is what vgs shows (46720), not what Anaconda shows (46688). The
difference is one extent (32).
Changing version to '9' as part of upcoming Fedora 9 GA.
More information and reason for this action is here:
*** Bug 444305 has been marked as a duplicate of this bug. ***
*** Bug 386961 has been marked as a duplicate of this bug. ***
*** Bug 428756 has been marked as a duplicate of this bug. ***
Still an issue with f10alpha.
Hello I also have this issue with F10 release.
Fortunatly the workaround to free one PE worked for me and I was able to install Fedora on my existing LVM.
We have made extensive changes to the partitioning code for F11 beta, such that it is very difficult to tell whether your bug is still relevant or not. Please test with either the latest rawhide you have access to or F11 and let us know whether you are still seeing this problem. Thanks for the bug report.
This message is a reminder that Fedora 9 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 9. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora
'version' of '9'.
Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version prior to Fedora 9's end of life.
Bug Reporter: Thank you for reporting this issue and we are sorry that
we may not be able to fix it before Fedora 9 is end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora please change the 'version' of this
bug to the applicable version. If you are unable to change the version,
please add a comment here and someone will do it for you.
Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.
The process we are following is described here:
I personally did not reproduced the bug with F11 Preview.
I had the occasion to re-work my partitioning since I bough a new harddisk and wanted to migrate from F10 i386 to F11 x86_64. I set up my lvm manually from F10, with no free PE remaining in my lvm volumes.
I installed F11 Preview using the DVD x86_64 without any issue regarding LVM and Anaconda.
I hope it helped.
Closing as per comment 13. If the original reporter (or anybody else) is still encountering this, please feel free to reopen.