[linux-lvm] initializing a PV, which was part of an old VG

Stuart D. Gathman stuart at bmsi.com
Thu Oct 6 13:11:36 UTC 2011


On Thu, 6 Oct 2011, Alexander Lyakas wrote:

> yes, I only had a single PV, and I did pvcreate on it, and then
> lvm_scan() from my process.
>
> So you suggest to use first pvremove and then pvcreate? Because
> pvcreate I do in any case. So pvcreate alone is not similar to
> pvremove followed by pvcreate?

Yes, you need to pvremove first to start from scratch.

--
 	      Stuart D. Gathman <stuart at bmsi.com>
     Business Management Systems Inc.  Phone: 703 591-0911 Fax: 703 591-6154
"Confutatis maledictis, flammis acribus addictis" - background song for
a Microsoft sponsored "Where do you want to go from here?" commercial.




More information about the linux-lvm mailing list