wiping an old LVM

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

 



Hi,
I have browsed the archives and not found a conclusive answer to this: 
How much of an PV partition do I need to wipe with dd so that pvscan
does not find it?

I have found that even if I wipe a partition table with dd and then
repartition with the same sized partitions, the old PV and VG are still
found.  I tried zeroing the start of the LVM partition, but found this
only worked consistently if I wiped nearly the entire partition.  Where
exactly is the metadata that needs to be zeroed?

I'd like to to wipe it regardless of any information about previous LVM
configuration.  This is for install scripts of cluster nodes which are
re-imaged periodically.  I'm using LVM 1.0.3.

Thanks,
Nathan


_______________________________________________
linux-lvm mailing list
linux-lvm@sistina.com
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux