[linux-lvm] LVM and mounting

Alasdair G Kergon agk at uk.sistina.com
Wed Nov 20 07:29:28 UTC 2002


On Tue, Nov 19, 2002 at 12:55:17PM -0800, Kenny Gorman wrote:
> I would just like to remove the entire volume and group and start over 
You'll need to wipe the LVM label at the start of each PV.

LVM2 has a tool which will do this for you called pvremove: 
  e.g. if the PV to wipe is /dev/sdb4:  pvremove -ff /dev/sdb4
  (works for both old and new metadata formats)

Or you can just use "dd" - example for the old (LVM1) metadata format:
  dd if=/dev/zero of=/dev/sdb4 count=1

Alasdair
-- 
agk at uk.sistina.com




More information about the linux-lvm mailing list