Red Hat Bugzilla – Bug 386961
During upgrade from F7 to F8, anaconda shows negative 'Free space' in lvm volume
Last modified: 2008-06-03 14:45:39 EDT
> Description of problem:
I am trying to upgrade my laptop from F7 to F8 (F7 itself was upgraded to from a
FC6 fresh install). At the partitioning stage, when I select the existing lvm vg
and choose to edit it (so that I may select the mount points and make sure the
partitions would not be formatted) I see the following information displayed:
Used Space: 75296.00 MB
Free Space: -32.00 MB
Total Space: 75264.00 MB
Further when I try to specify the mount point for any of the logical volumes,
and choose to leave the volume unformatted, I get an error to the effect that
the selected space for the LV is greater that the available free space.
> Version-Release number of selected component (if applicable):
> How reproducible:
Consistently, on my laptop.
Steps to Reproduce:
1. Start the installation.
2. Get to the partitioning stage and choose to 'Create custom layout' (for an
3. Select the existing (F7 based) Volume group and choose 'Edit'.
4. Notice that 'Used Space' is greater than 'Total Space' and 'Free Space' is
'Used Space' is greater than 'Total Space' and 'Free Space' is negative, so
cannot continue with a non-destructive upgrade.
Anaconda should recognize current partitioning scheme correctly and allow the
user to simply specific the mount points, select to leave the partitions
unformatted and continue with the installation.
I am attaching the following files:
lvmdump-dhcp6-178.pnq.redhat.com-20071116130009.tgz ....... The output generated
by the 'lvmdump' command on F7.
lvminfo.tar.gz ........ A tarball containing the output of 'lvm pvdisplay', 'lvm
vgdisplay' and 'lvm lvdisplay' from the install time command line environment.
screenshots.tar.gz ...... Screen shots (actually, camera shots) of the
installation sequence (The 'alt+print screen' does not seem to capture the
screenshots at this stage)
Created attachment 261301 [details]
The output generated by the 'lvmdump' command on F7.
Created attachment 261321 [details]
output of 'lvm pvdisplay', 'lvm vgdisplay' and 'lvm lvdisplay' from the install environment.
Created attachment 261331 [details]
Some additional info that may/may not be relevant:
a. This is a PXE booted, httpd based install over LAN
b. I remember having resized my LVs at least once (maybe more) after moving from
FC6 to F7.
c. I have non standard LV labels and two non standard filesystem mount points
('/NotBackedUp' and '/space')
I had the same problem with anaconda not properly calculating space on LVM when
installing Fedora8 from DVD (using GUI installer, new install)
with preexisting lvm logical volumes.
I had 3 volumes groups, and anaconda did show -96.00MB.
I have screenshots available, I can attach them if they are needed
PS1. The screenshots.tgz file attached is doubly compressed, run
zcat screenshots.tgz | tar xfz -
to extract files.
PS2. I would believe that this bug is not present in CentOS 5.1 installer.
The bug was definitely present in FC6
*** This bug has been marked as a duplicate of 437443 ***