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

[linux-lvm] wiping an old LVM



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




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