Bug#597181: lvm2: let users override pvcreate checks

2010-09-20 Thread Alasdair G Kergon
On Fri, Sep 17, 2010 at 12:29:35PM +0200, Marc Lehmann wrote: I think pvcreate should have some kind of force option that lets one write or restore a pv header no matter what - the tool already has support for restore operations, and this should not be thwarted in emergency situations. I'm

Bug#597181: lvm2: let users override pvcreate checks

2010-09-20 Thread Marc Lehmann
On Mon, Sep 20, 2010 at 06:36:34PM +0100, Alasdair G Kergon a...@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

Bug#597181: lvm2: let users override pvcreate checks

2010-09-17 Thread Marc Lehmann
Package: lvm2 Version: 2.02.39-7 Severity: wishlist Some script accidentally overwrote the start of some disk with zeroes, which wiped the partition table and pv header, but not the actual data. While I could restore the partition table with fdisk, I couldn't restore the pv with pvcreate