Bug#597181: lvm2: let users override pvcreate checks

Marc Lehmann schmorp at schmorp.de
Mon Sep 20 18:19:58 UTC 2010

On Mon, Sep 20, 2010 at 06:36:34PM +0100, Alasdair G Kergon <agk at redhat.com> wrote:
> I'm not keen on that as it can make bad situations even worse.
> (Some people will still use the force option before they realising they
> just wrote to the wrong disk.)
> However, we do have a feature planned that will allow pvcreate to back
> up any data it overwrites so it can be restored if it later was found it
> was run against the wrong disk.  Once pvcreate can be undone, the
> consequences of a mistake are less serious and we can consider relaxing
> some of these restrictions.

In my case, however, being able to override it (with ugly and error-prone
tricks :) actually avoided a minor disaster.

Note also that the force option already allows you to run against the
wrong disk in many cases. Even without the force option, too.

Of course, this is truly not urgent in any way, as I know how to work

                The choice of a       Deliantra, the free code+content MORPG
      -----==-     _GNU_              http://www.deliantra.net
      ----==-- _       generation
      ---==---(_)__  __ ____  __      Marc Lehmann
      --==---/ / _ \/ // /\ \/ /      schmorp at schmorp.de
      -=====/_/_//_/\_,_/ /_/\_\

More information about the pkg-lvm-maintainers mailing list