* [linux-lvm] lvm 1.0.1-rc4 and vgcreate error
@ 2002-01-15 18:14 carlos xavier
2002-01-16 9:24 ` Heinz J . Mauelshagen
0 siblings, 1 reply; 4+ messages in thread
From: carlos xavier @ 2002-01-15 18:14 UTC (permalink / raw)
To: linux-lvm
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
With the version lvm_1.0.1 I was able to create it and mount, but when I
rebooted the computer I couldn't mount it again, the volume wasn't detected
and the data tha I put on it was lost.
I did a trace of the command and I can see that it opens the files
/etc/lvmtab,
/etc/lvmtab.d
/dev/lvm
/etc/lvmtab
/proc/partitions and
/proc/devices
in that order, and after that it gives me the error.
Am I missing something?
Could Somebody tell me how can I get over this trouble?
Regards.
Xavier
<pre>
################################
Connection Web Mail
http://www.connection.com.br
Visite http://www.achando.com.br
################################
</pre>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [linux-lvm] lvm 1.0.1-rc4 and vgcreate error
2002-01-15 18:14 carlos xavier
@ 2002-01-16 9:24 ` Heinz J . Mauelshagen
0 siblings, 0 replies; 4+ messages in thread
From: Heinz J . Mauelshagen @ 2002-01-16 9:24 UTC (permalink / raw)
To: linux-lvm
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
>
>
> With the version lvm_1.0.1 I was able to create it and mount, but when I
> rebooted the computer I couldn't mount it again, the volume wasn't detected
>
> and the data tha I put on it was lost.
>
> I did a trace of the command and I can see that it opens the files
> /etc/lvmtab,
> /etc/lvmtab.d
> /dev/lvm
> /etc/lvmtab
> /proc/partitions and
> /proc/devices
> in that order, and after that it gives me the error.
>
> Am I missing something?
> Could Somebody tell me how can I get over this trouble?
>
> Regards.
>
> Xavier
> <pre>
> ################################
> Connection Web Mail
> http://www.connection.com.br
> Visite http://www.achando.com.br
> ################################
> </pre>
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
--
Regards,
Heinz -- The LVM Guy --
*** 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@Sistina.com +49 2626 141200
FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [linux-lvm] lvm 1.0.1-rc4 and vgcreate error
@ 2002-01-16 11:57 carlos xavier
2002-01-17 5:44 ` Heinz J . Mauelshagen
0 siblings, 1 reply; 4+ messages in thread
From: carlos xavier @ 2002-01-16 11:57 UTC (permalink / raw)
To: linux-lvm
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>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [linux-lvm] lvm 1.0.1-rc4 and vgcreate error
2002-01-16 11:57 [linux-lvm] lvm 1.0.1-rc4 and vgcreate error carlos xavier
@ 2002-01-17 5:44 ` Heinz J . Mauelshagen
0 siblings, 0 replies; 4+ messages in thread
From: Heinz J . Mauelshagen @ 2002-01-17 5:44 UTC (permalink / raw)
To: linux-lvm
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@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@Sistina.com +49 2626 141200
FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-01-17 5:44 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-01-16 11:57 [linux-lvm] lvm 1.0.1-rc4 and vgcreate error carlos xavier
2002-01-17 5:44 ` Heinz J . Mauelshagen
-- strict thread matches above, loose matches on Subject: below --
2002-01-15 18:14 carlos xavier
2002-01-16 9:24 ` Heinz J . Mauelshagen
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.