[linux-lvm] initializing a PV, which was part of an old VG
Alexander Lyakas
alex.bolshoy at gmail.com
Sun Oct 9 19:47:16 UTC 2011
Thank you Stuart,
I will add a call to pvremove -ff before pvcreate.
Alex.
On Thu, Oct 6, 2011 at 3:11 PM, Stuart D. Gathman <stuart at bmsi.com> wrote:
> 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.
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm at redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
>
More information about the linux-lvm
mailing list