--- storage/partitioning.py | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/storage/partitioning.py b/storage/partitioning.py index 1e2ee40..a5edd22 100644 --- a/storage/partitioning.py +++ b/storage/partitioning.py @@ -858,7 +858,11 @@ def allocatePartitions(disks, partitions): partition = parted.Partition(disk=disklabel.partedDisk, type=part_type, geometry=new_geom) - constraint = parted.Constraint(maxGeom=max_geom, minGeom=min_geom) + # DASD disklabels do not allow sector exact partitioning (#527104) + if _disk.type != 'dasd': + constraint = parted.Constraint(maxGeom=max_geom, minGeom=min_geom) + else: + constraint = disklabel.partedDevice.getConstraint() disklabel.partedDisk.addPartition(partition=partition, constraint=constraint) log.debug("created partition %s of %dMB and added it to %s" % -- 1.6.5.1 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list