[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [linux-lvm] LVM and mounting



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 uk sistina com



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]