From edb55d37928be5197c4391f98829e9c939990e15 Mon Sep 17 00:00:00 2001 From: David Lehman Date: Tue, 12 May 2015 17:49:19 -0500 Subject: [PATCH 49/54] Remove old hack meant to remove stale metadata. There are several such mechanisms being employed elsewhere in blivet and even in the lvm tools themselves. This should not be needed anymore. --- blivet/formats/lvmpv.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/blivet/formats/lvmpv.py b/blivet/formats/lvmpv.py index 73c9c8d..3cff8ea 100644 --- a/blivet/formats/lvmpv.py +++ b/blivet/formats/lvmpv.py @@ -105,9 +105,6 @@ class LVMPhysicalVolume(DeviceFormat): # Consider use of -Z|--zero # -f|--force or -y|--yes may be required - # lvm has issues with persistence of metadata, so here comes the - # hammer... - DeviceFormat._destroy(self, **kwargs) blockdev.lvm.pvscan(self.device) super(LVMPhysicalVolume, self)._create(**kwargs) try: -- 2.1.0