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

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



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 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 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 redhat com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
>


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