Skip to contentSkip to conversation

lvm 1.0.1-rc4 and vgcreate error

linux-lvm carlos xavier 2 participants 2 messages Jan 16, 2002 – Jan 17, 2002

lore
Share & tools
lore
#0 lore raw

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>

#1 lore raw

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 --

Quoted 54 lines · carlos xavier

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>

Quoted 5 lines

_______________________________________________
linux-lvm mailing list
[email protected]
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
[email protected] +49 2626 141200

                                                       FAX 924446

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