Bug 217913

Summary: LVM appears to be off by 1 extent, meaning reusing an existing VG is impossible
Product: Red Hat Enterprise Linux 5 Reporter: Zack Cerza <zcerza>
Component: anacondaAssignee: Peter Jones <pjones>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 5.0   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: RC Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-02-08 01:08:28 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 229090    
Attachments:
Description Flags
screenshot none

Description Zack Cerza 2006-11-30 19:04:56 UTC
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 19:04:56 UTC
Created attachment 142505 [details]
screenshot

Comment 2 Marcel Hild 2006-12-01 17:32:47 UTC
Same for me.
I got arround the issue by resizing swap, which was also in LVM

Comment 4 Rob Kenna 2006-12-09 05:28:10 UTC
Pretty ugly.  pn-ack

Comment 5 Peter Jones 2006-12-12 22:45:51 UTC
Is this still happening?  If so, can you show me how to reproduce it?

Comment 6 Peter Jones 2006-12-13 00:07:29 UTC
Aha, you've got to start with a much older set of LVs.

Comment 7 Peter Jones 2006-12-13 00:53:30 UTC
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 Program Management 2007-02-08 01:08:28 UTC
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.