diff options
author | Joel Granados Moreno <jgranado@redhat.com> | 2009-02-23 15:03:58 +0100 |
---|---|---|
committer | Joel Granados Moreno <jgranado@redhat.com> | 2009-02-23 19:03:00 +0100 |
commit | 7f5afa4aed5c6e65a1da0f49f7f12649ce2e6432 (patch) | |
tree | e8a5b709889c3a8d3080163e3d32ae5f5404d38e | |
parent | 53ae09deb23d9110d322d4bf28c98376f4dc20cc (diff) | |
download | anaconda-7f5afa4aed5c6e65a1da0f49f7f12649ce2e6432.tar.gz anaconda-7f5afa4aed5c6e65a1da0f49f7f12649ce2e6432.tar.xz anaconda-7f5afa4aed5c6e65a1da0f49f7f12649ce2e6432.zip |
LVM VG size is not same as the device where PV is. (#480793)
We need to account for PV metadata in the LV grow functions. This patch
avoids the missing one PE error message.
-rw-r--r-- | autopart.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/autopart.py b/autopart.py index 2c6f5e8b2..2938d9b9b 100644 --- a/autopart.py +++ b/autopart.py @@ -534,7 +534,7 @@ def growLogicalVolumes(diskset, requests): log("considering %s, start size = %s",req.logicalVolumeName, req.getStartSize()) # get remaining free space - vgfree = lvm.getVGFreeSpace(vgreq, requests, diskset) + vgfree = lvm.getVGFreeSpace(vgreq, requests, diskset) - (2*vgreq.pesize) # print "vgfree = ", vgfree if DEBUG_LVM_GROW: |