[linux-lvm] problem when creating a volumegroup on an external drive

Patrick Caulfield pcaulfie at redhat.com
Fri May 12 12:16:32 UTC 2006

Joep Blom wrote:
> Hi,
> I'm new to the list and new to the use of LVM. I have read the manuals
> (which mainly are for LVM1) and am using LVM2.
> I have one question. I just created a new volumegroup on an USB external
> disk.
> As the manual says I did : pvcreate /dev/sda but that did't work but
> pvcreate /dev/sda1 worked.
> I then did a vgcreate VG01, expecting to get one volume group for the
> whole disk (250 GB). However, it created 2 volumegroups, one named
> VolGroup00  of 46.6 GB and one VG01 (as expected) of 232.8 GB. The
> problem is I have on another 2 disks already a VolGroup00 so I cannot do
> an lvcreate VolGroup00 as this will try to access the earlier created one.
> Can anybody explain why an unrequested volumegroup is created and how
> can I solve this.
> I cannot do a vgdelete VolGroup00 as this will destroy my current -
> working - system.
> Hope somebody knows the answers.

It's fantastically unlikely that a single 'vgcreate VG0' command would create
two VGs.

What is much more likely is that VolGroup00 already existed and you just
didn't notice it. That's the default name for a volume group created by a
Fedora install BTW


More information about the linux-lvm mailing list