Hello list. Have not seen this one in the patches sent. If it is there, I am sorry for resending. Regads -- Joel Andres Granados Brno, Czech Republic, Red Hat.
>From 2d50128592c590adf8cb0488621eb5e1ed27a338 Mon Sep 17 00:00:00 2001 From: Joel Granados Moreno <jgranado@xxxxxxxxxx> Date: Mon, 2 Mar 2009 18:16:21 +0100 Subject: [PATCH] pvcreate needs to have -ff To create ensure the creation of a physical device one needs to pass -ff to the lvm command. --- storage/devicelibs/lvm.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/storage/devicelibs/lvm.py b/storage/devicelibs/lvm.py index afb7256..ed1118c 100644 --- a/storage/devicelibs/lvm.py +++ b/storage/devicelibs/lvm.py @@ -110,7 +110,7 @@ def clampSize(size, pesize, roundup=None): def pvcreate(device): rc = iutil.execWithRedirect("lvm", - ["pvcreate", device], + ["pvcreate", "-ff", device], stdout = "/dev/tty5", stderr = "/dev/tty5", searchPath=1) -- 1.6.0.6
_______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list