It doesn't fit in how we are creating devices in kickstart. We don't grow them before adding LV. Moreover we can't know size of grown VG until all ks requests are processed. Without substantial change of processing of ks partitioning, I am not able to come up with anything better - see comments in BZ for my rationale. Any ideas are very welcome. --- storage/devices.py | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/storage/devices.py b/storage/devices.py index 845a46b..2b6a057 100644 --- a/storage/devices.py +++ b/storage/devices.py @@ -1702,6 +1702,11 @@ class LVMVolumeGroupDevice(DMDevice): raise ValueError("lv is already part of this vg") # verify we have the space, then add it + # do not verify for growing vg (because of ks) + if not lv.exists and \ + not [pv for pv in self.pvs if pv.req_grow] and \ + lv.size > self.freeSpace: + if not lv.exists and lv.size > self.freeSpace: raise DeviceError("new lv is too large to fit in free space") -- 1.5.4.3 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list