diff --git a/storage/partitioning.py b/storage/partitioning.py
index dff8804..a23efb3 100644
--- a/storage/partitioning.py
+++ b/storage/partitioning.py
@@ -1510,7 +1510,11 @@ def growLVM(storage):
""" Grow LVs according to the sizes of the PVs. """
for vg in storage.vgs:
total_free = vg.freeSpace
- if not total_free:
+ if total_free < 0:
+ # by now we have allocated the PVs so if there isn't enough
+ # space in the VG we have a real problem
+ raise PartitioningError("not enough space for LVM requests")
+ elif not total_free:
log.debug("vg %s has no free space" % vg.name)
continue
--
1.6.0.6
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list