In the case of clearpart we could be running pvremove on a pv that is still associated with a vg, so lvm makes us do this for our own protection. --- pyanaconda/storage/devicelibs/lvm.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/pyanaconda/storage/devicelibs/lvm.py b/pyanaconda/storage/devicelibs/lvm.py index feb1216..e0d60cd 100644 --- a/pyanaconda/storage/devicelibs/lvm.py +++ b/pyanaconda/storage/devicelibs/lvm.py @@ -163,7 +163,7 @@ def pvresize(device, size): raise LVMError("pvresize failed for %s: %s" % (device, msg)) def pvremove(device): - args = ["pvremove"] + \ + args = ["pvremove", "--force", "--force"] + \ config_args + \ [device] -- 1.7.6.5 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list