All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] pvcreate (appears to) work, but then pvdisplay and vgcreate fail
@ 2001-01-02 14:28 Iain Young
  2001-01-02 15:58 ` lewis
  0 siblings, 1 reply; 3+ messages in thread
From: Iain Young @ 2001-01-02 14:28 UTC (permalink / raw)
  To: linux-lvm

Hi Everyone,

I have rather a strange problem for you, and was hoping someone had
come across it before.

I have LVM 0.91, and am running a stock 2.4.0-prerelease on SPARC 
(although I have had the same symptons on previous 2.4 test kernels)

I managed to compile the user space tools, and the required kernel
components.

Anyway, on with it: I can do a pvcreate, both on a whole disk,
and a partition with no problem, However an attempt to do either
a pvdisplay, or vgcreate on that PV fails, with the following errors:

vgcreate -- ERROR "pv_read(): PV identifier invalid" reading physical volumes

pvdisplay -- ERROR "pv_read(): LVM structure version" no VALID physical volume "/dev/scsi/host0/bus0/target1/lun0/disc"

Now, I am running devfs, so is LVM OK with that ? Or is that where my problem
is ?

A Strange thing is that if I go back into fdisk after doing (a supposidly
successfull) pvcreate, it moans that the label is corrupt blah blah, so
pvcreate must be writing _something_ to the disk.

Has anyone had similar experiences to this ? I couldn't find anything
in the FAQs, apart from the old problem of forgetting to pvcreate before
vgcreate or vgextend :)


Thanks in Advance

Iain

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-01-02 16:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-01-02 14:28 [linux-lvm] pvcreate (appears to) work, but then pvdisplay and vgcreate fail Iain Young
2001-01-02 15:58 ` lewis
2001-01-02 16:10   ` Iain Young

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.