* [linux-lvm] pvcreate succeeds but vgcreate cannot read label
@ 2006-10-18 12:49 Malcolm Scott
2006-10-18 14:04 ` Micha Holzmann
2006-10-18 14:34 ` Alasdair G Kergon
0 siblings, 2 replies; 6+ messages in thread
From: Malcolm Scott @ 2006-10-18 12:49 UTC (permalink / raw)
To: linux-lvm
When I run pvcreate on a partition, it seems the PV label is successfully
written to the partition, but vgcreate cannot then read this label in order
to incorporate this new PV into a new VG.
mas90@neptune ~ $ sudo pvcreate /dev/hda6
Physical volume "/dev/hda6" successfully created
mas90@neptune ~ $ sudo vgcreate neptune_vg /dev/hda6
No physical volume label read from /dev/hda6
/dev/hda6 not identified as an existing physical volume
Unable to add physical volume '/dev/hda6' to volume group 'neptune_vg'.
mas90@neptune ~ $ sudo dd if=/dev/hda6 bs=1k count=1 | hexdump -c
1+0 records in
1+0 records out
0000000 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0
*
0000200 L A B E L O N E 001 \0 \0 \0 \0 \0 \0 \0
0000210 # - 335 } \0 \0 \0 L V M 2 0 0 1
0000220 h 2 W 4 r k w f t N B j s h W f
0000230 M r s a E O f q 3 M U J S Z w z
0000240 \0 n ) 342 004 \0 \0 \0 \0 \0 003 \0 \0 \0 \0 \0
0000250 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0
0000260 \0 \0 \0 \0 \0 \0 \0 \0 \0 020 \0 \0 \0 \0 \0 \0
0000270 \0 360 002 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0
0000280 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0
*
0000400
1024 bytes (1.0 kB) copied, 0.009396 seconds, 109 kB/s
What could cause this?
The system is running Ubuntu Edgy, with the following versions:
mas90@neptune ~ $ sudo lvm version
LVM version: 2.02.06 (2006-05-12)
Library version: 1.02.07 (2006-05-11)
Driver version: 4.6.0
mas90@neptune ~ $ uname -a
Linux neptune 2.6.17-10-generic #2 SMP Tue Oct 10 19:45:28 UTC 2006 i686
GNU/Linux
Many thanks.
--
Malcolm Scott
Research Associate, TINA project
University of Cambridge Computer Laboratory
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: [linux-lvm] pvcreate succeeds but vgcreate cannot read label
2006-10-18 12:49 [linux-lvm] pvcreate succeeds but vgcreate cannot read label Malcolm Scott
@ 2006-10-18 14:04 ` Micha Holzmann
2006-10-18 14:07 ` Malcolm Scott
2006-10-18 14:34 ` Alasdair G Kergon
1 sibling, 1 reply; 6+ messages in thread
From: Micha Holzmann @ 2006-10-18 14:04 UTC (permalink / raw)
To: LVM general discussion and development
Hi Malcolm,
Quoting Malcolm Scott:
> When I run pvcreate on a partition, it seems the PV label is successfully
> written to the partition, but vgcreate cannot then read this label in order
> to incorporate this new PV into a new VG.
>
> mas90@neptune ~ $ sudo pvcreate /dev/hda6
> Physical volume "/dev/hda6" successfully created
>
> mas90@neptune ~ $ sudo vgcreate neptune_vg /dev/hda6
> No physical volume label read from /dev/hda6
> /dev/hda6 not identified as an existing physical volume
> Unable to add physical volume '/dev/hda6' to volume group 'neptune_vg'.
>
> What could cause this?
>
> The system is running Ubuntu Edgy, with the following versions:
i assume that you have the standard installation. Having this, you have
evms installed. So will need to use /dev/evms/hdax. Please check this.
Best regards,
Micha Holzmann
--
Wie sagen Informatiker zu Dauerregen? "Caps Lock", Shift die ganze Zeit
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [linux-lvm] pvcreate succeeds but vgcreate cannot read label
2006-10-18 12:49 [linux-lvm] pvcreate succeeds but vgcreate cannot read label Malcolm Scott
2006-10-18 14:04 ` Micha Holzmann
@ 2006-10-18 14:34 ` Alasdair G Kergon
1 sibling, 0 replies; 6+ messages in thread
From: Alasdair G Kergon @ 2006-10-18 14:34 UTC (permalink / raw)
To: LVM general discussion and development
On Wed, Oct 18, 2006 at 01:49:05PM +0100, Malcolm Scott wrote:
> When I run pvcreate on a partition, it seems the PV label is successfully
> written to the partition, but vgcreate cannot then read this label in order
> to incorporate this new PV into a new VG.
> mas90@neptune ~ $ sudo lvm version
> LVM version: 2.02.06 (2006-05-12)
Sounds similar to a bug that got fixed in 2.02.07.
Alasdair
--
agk@redhat.com
^ permalink raw reply [flat|nested] 6+ messages in thread
* [linux-lvm] pvcreate succeeds but vgcreate cannot read label
@ 2006-10-18 12:01 Malcolm Scott
2006-11-01 16:07 ` Alasdair G Kergon
0 siblings, 1 reply; 6+ messages in thread
From: Malcolm Scott @ 2006-10-18 12:01 UTC (permalink / raw)
To: linux-lvm
When I run pvcreate on a partition, it seems the PV label is successfully
written to the partition, but vgcreate cannot then read this label in order
to incorporate this new PV into a new VG.
mas90@neptune ~ $ sudo pvcreate /dev/hda6
Physical volume "/dev/hda6" successfully created
mas90@neptune ~ $ sudo vgcreate neptune_vg /dev/hda6
No physical volume label read from /dev/hda6
/dev/hda6 not identified as an existing physical volume
Unable to add physical volume '/dev/hda6' to volume group 'neptune_vg'.
mas90@neptune ~ $ sudo dd if=/dev/hda6 bs=1k count=1 | hexdump -c
1+0 records in
1+0 records out
0000000 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0
*
0000200 L A B E L O N E 001 \0 \0 \0 \0 \0 \0 \0
0000210 # - 335 } \0 \0 \0 L V M 2 0 0 1
0000220 h 2 W 4 r k w f t N B j s h W f
0000230 M r s a E O f q 3 M U J S Z w z
0000240 \0 n ) 342 004 \0 \0 \0 \0 \0 003 \0 \0 \0 \0 \0
0000250 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0
0000260 \0 \0 \0 \0 \0 \0 \0 \0 \0 020 \0 \0 \0 \0 \0 \0
0000270 \0 360 002 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0
0000280 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0
*
0000400
1024 bytes (1.0 kB) copied, 0.009396 seconds, 109 kB/s
What could cause this?
The system is running Ubuntu Edgy, with the following versions:
mas90@neptune ~ $ sudo lvm version
LVM version: 2.02.06 (2006-05-12)
Library version: 1.02.07 (2006-05-11)
Driver version: 4.6.0
mas90@neptune ~ $ uname -a
Linux neptune 2.6.17-10-generic #2 SMP Tue Oct 10 19:45:28 UTC 2006 i686
GNU/Linux
Please CC me on replies as I am not on this mailing list.
Many thanks.
--
Malcolm Scott
Research Associate, TINA project
University of Cambridge Computer Laboratory
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [linux-lvm] pvcreate succeeds but vgcreate cannot read label
2006-10-18 12:01 Malcolm Scott
@ 2006-11-01 16:07 ` Alasdair G Kergon
0 siblings, 0 replies; 6+ messages in thread
From: Alasdair G Kergon @ 2006-11-01 16:07 UTC (permalink / raw)
To: Malcolm Scott; +Cc: linux-lvm
On Wed, Oct 18, 2006 at 01:01:06PM +0100, Malcolm Scott wrote:
> /dev/hda6 not identified as an existing physical volume
> What could cause this?
> The system is running Ubuntu Edgy, with the following versions:
> mas90@neptune ~ $ sudo lvm version
> LVM version: 2.02.06 (2006-05-12)
Looks like a known bug in upstream 2.02.06 - try upgrading.
Alasdair
--
agk@redhat.com
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2006-11-01 16:07 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-18 12:49 [linux-lvm] pvcreate succeeds but vgcreate cannot read label Malcolm Scott
2006-10-18 14:04 ` Micha Holzmann
2006-10-18 14:07 ` Malcolm Scott
2006-10-18 14:34 ` Alasdair G Kergon
-- strict thread matches above, loose matches on Subject: below --
2006-10-18 12:01 Malcolm Scott
2006-11-01 16:07 ` Alasdair G Kergon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).