From a0bed95fa1acb0d7f0a1dd4086017824517c96f2 Mon Sep 17 00:00:00 2001 From: David Lehman Date: Fri, 26 Oct 2012 16:22:13 -0500 Subject: [PATCH 07/12] Fix required space calculation for lvm. Experimentation shows that the 1MB PE START does not play into the disk space requirements for LVs. Related: rhbz#865199 --- pyanaconda/storage/devicelibs/lvm.py | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/pyanaconda/storage/devicelibs/lvm.py b/pyanaconda/storage/devicelibs/lvm.py index e2d6215..c8b301f 100644 --- a/pyanaconda/storage/devicelibs/lvm.py +++ b/pyanaconda/storage/devicelibs/lvm.py @@ -154,7 +154,6 @@ def get_pv_space(size, disks, pesize=LVM_PE_SIZE, # TODO: handle striped and mirrored # this is adding one extent for the lv's metadata space = clampSize(size, pesize, roundup=True) + \ - (LVM_PE_START * disks) + \ pesize return space -- 1.7.7.6