[linux-lvm] lvm 1.0.1-rc4 and vgcreate error

Heinz J . Mauelshagen mauelshagen at sistina.com
Thu Jan 17 05:44:02 UTC 2002


Carlos,

still strange, because the error you see is displayed if a magic identifier
which gets written to the device once you run pvcreate can't be recognized
afterwards.

In order to spot some more light on this, please send the following command
output to me in personal email (please use actual LVM 1.0.1 available at
www.sistina.com):

fdisk -l /dev/hda
pvcreate /dev/hda1[01]
pvscan
vgcreate -d lvmdisk /dev/hda1[01]


Regards,
Heinz    -- The LVM Guy --

On Wed, Jan 16, 2002 at 03:50:52PM -0200, carlos xavier wrote:
> Heins,
> 
> I'm sorry, I made a mistake when I was posting the message, what I did
> was pvcreate /dev/sda1 and /dev/sdb1.
> Actually, I even pvcreated /dev/hda10 and /dev/hda11 and tryed do run
> vgcreate lvmdisk2 /dev/hda10 /dev/hda11 but the result was the same.
> 
> Regards,
> 
> Carlos
> 
> 
>      > Carlos,
> 
>      > you say you pvcreated /dev/sda[12] successfully, but run
>      > "vgcreate lvmdisk /dev/sda1 /dev/sdb1" which makes vgcreate complain
> like
>      > you reported below unless /dev/sdb1 is a valid PV too.
> 
>      > On Tue, Jan 15, 2002 at 10:08:37PM -0200, carlos xavier wrote:
>      >> Hi there,
>      >> 
>      >> I'm trying to get LVM working on Linux but is being very frustrating
> to me.
>      >> 
>      >> I'm running kernel version 2.4.14 and the disks where I'm tryng to do
> LVM are
>      >> 
>      >> QUANTUM Model: ATLAS10K2-TY367 (scsi)
>      >> I've already tried these versions of LVM: lvm_0.6, lvm_1.0.1 and
>      >> lvm_1.0.1-rc4. All of them give some trouble, but the main problem is
> that I
>      >> 
>      >> can't create the volume group.
>      >> I followed the howto and partitioned the disks and changed the type
> to 8e, I
>      >> 
>      >> was able to run pvcreate on the two disks /dev/sda1 and /dev/sda2, but
> when
>      >> I
>      >> tried to create the volume group I'm getting the following error
>      >> 
>      >> # vgcreate lvmdisk /dev/sda1 /dev/sdb1
>      >> vgcreate -- ERROR "pv_read(): PV identifier invalid" reading physical
> 
>      >>volumes
> <pre>
> ################################
> Connection Web Mail
> http://www.connection.com.br
> Visite http://www.achando.com.br
> ################################
> </pre>
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm at sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html

*** Software bugs are stupid.
    Nevertheless it needs not so stupid people to solve them ***

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Heinz Mauelshagen                                 Sistina Software Inc.
Senior Consultant/Developer                       Am Sonnenhang 11
                                                  56242 Marienrachdorf
                                                  Germany
Mauelshagen at Sistina.com                           +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-




More information about the linux-lvm mailing list