--- storage/devices.py | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/storage/devices.py b/storage/devices.py index 7afb08e..7f1cc0f 100644 --- a/storage/devices.py +++ b/storage/devices.py @@ -1271,9 +1271,10 @@ class PartitionDevice(StorageDevice): self.disk.format.removePartition(part) raise - # Ensure old metadata which lived in freespace so did not get - # explictly destroyed by a destroyformat action gets wiped - DeviceFormat(device=self.path, exists=True).destroy() + if not self.isExtended: + # Ensure old metadata which lived in freespace so did not get + # explictly destroyed by a destroyformat action gets wiped + DeviceFormat(device=self.path, exists=True).destroy() except Exception: raise else: -- 1.6.2.5 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list