Re: vgcreate fails with 'already exists in filesystem' error

Zdenek Kabelac <[email protected]> Tue, 12 Dec 2023 15:54:37 +0100
Newsgroups dev.linux.lists.linux-lvm
Message-ID <[email protected]>
Dne 11. 12. 23 v 14:40 divya mohan napsal(a):
> I have an installation test environment, where occasionally an issue
> is observed causing volume group creation to fail.
> 
> At the beginning of test, the disk contains four partitions.
> 
> ---
> 
> What could be causing this issue? How to correctly cleanup the volume group?

Hi

As the generic advice -  check  'vgcreate -vvvv' command output.

This debug output should be pretty verbose and readable and giving you  more 
hints about what's going wrong.

Eventually post such trace if you are not able to decode this.

Regards

Zdenek