Bug 217913 - LVM appears to be off by 1 extent, meaning reusing an existing VG is impossible
LVM appears to be off by 1 extent, meaning reusing an existing VG is impossible
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: anaconda (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Peter Jones
Depends On:
Blocks: 229090
  Show dependency treegraph
Reported: 2006-11-30 14:04 EST by Zack Cerza
Modified: 2007-11-30 17:07 EST (History)
0 users

See Also:
Fixed In Version: RC
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-02-07 20:08:28 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
screenshot (103.09 KB, image/jpeg)
2006-11-30 14:04 EST, Zack Cerza
no flags Details

  None (edit)
Description Zack Cerza 2006-11-30 14:04:56 EST
Description of problem:
I want to install RHEL5 B2 over FC6 on my laptop, preserving /home but wiping /.
Both partitions are under LVM. When I tried setting this up manually, anaconda
complained about not having enough space in the VG; in fact, it said the VG had
-32MB free space, which is the size of one extent. See the attached screenshot.

I don't know of any other way to install without wiping /home, other than trying
to tell anaconda not to format /, which may or may not work around this problem.
Comment 1 Zack Cerza 2006-11-30 14:04:56 EST
Created attachment 142505 [details]
Comment 2 Marcel Hild 2006-12-01 12:32:47 EST
Same for me.
I got arround the issue by resizing swap, which was also in LVM
Comment 4 Rob Kenna 2006-12-09 00:28:10 EST
Pretty ugly.  pn-ack
Comment 5 Peter Jones 2006-12-12 17:45:51 EST
Is this still happening?  If so, can you show me how to reproduce it?
Comment 6 Peter Jones 2006-12-12 19:07:29 EST
Aha, you've got to start with a much older set of LVs.
Comment 7 Peter Jones 2006-12-12 19:53:30 EST
Should (hopefully) be fixed in the next anaconda build.  Upgrades from RHEL4 and
new installs need to both be tested, and "lvm pvs" needs to be run after each to
make sure there's no unrequested free space left on any physical volumes.
Comment 8 RHEL Product and Program Management 2007-02-07 20:08:28 EST
A package has been built which should help the problem described in 
this bug report. This report is therefore being closed with a resolution 
of CURRENTRELEASE. You may reopen this bug report if the solution does 
not work for you.

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