linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] vgscan / vgimport problems
@ 2001-10-30 12:37 Nay, Shawn
  2001-11-05  5:58 ` Heinz J . Mauelshagen
  0 siblings, 1 reply; 2+ messages in thread
From: Nay, Shawn @ 2001-10-30 12:37 UTC (permalink / raw)
  To: 'linux-lvm@sistina.com'

I am an LVM newbie but did manage to get it up and running on a non-system
disk.
I rebuild my system with the same version of Linux (Redhat 7.2), the same
kernel (2.4.9-7, which I recompiled for LVM), and the same version of LVM
(0.9.1_beta7).  By the way...I am using an old release of LVM due to my
inability to patch this kernel with 1.0.1-rc4.  The problem is that I am
unable to import my old vg.  This disk has remained untouched since my
previous install.

pvscan output:
pvscan -- reading all physical volumes (this may take a while...)
pvscan -- inactive PV "/dev/hdd"  is associated to an unknown VG (run
vgscan)
pvscan -- total: 1 [31.08 MB] / in use: 1 [31.08 MB] / in no VG: 0 [0]

vgscan output:
vgscan -- reading all physical volumes (this may take a while...)
vgscan -- found inactive volume group "sundogvg"
vgscan -- only found 0 of 5120 LEs for LV /dev/sundogvg/datalv (0)
vgscan -- ERROR "vg_read_with_pv_and_lv(): allocated LE of LV" can't get
data of volume group "sundogvg" from physical volume(s)
vgscan -- ERROR "vg_read_with_pv_and_lv(): allocated LE of LV" creating
"/etc/lvmtab" and "/etc/lvmtab.d"

vgimport output:
vgimport -- ERROR: physical volume "/dev/hdd" doesn't belong to an exported
volume group

Any help would be greatly appreciated.

Shawn




This transmittal may contain confidential information intended solely for
the addressee. If you are not the intended recipient, you are hereby
notified that you have received this transmittal in error; any review,
dissemination, distribution or copying of this transmittal is strictly
prohibited. If you have received this communication in error, please notify
us immediately by reply or by telephone (collect at 907-564-1000) and ask to
speak with the message sender. In addition, please immediately delete this
message and all attachments. Thank you.

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

* Re: [linux-lvm] vgscan / vgimport problems
  2001-10-30 12:37 [linux-lvm] vgscan / vgimport problems Nay, Shawn
@ 2001-11-05  5:58 ` Heinz J . Mauelshagen
  0 siblings, 0 replies; 2+ messages in thread
From: Heinz J . Mauelshagen @ 2001-11-05  5:58 UTC (permalink / raw)
  To: linux-lvm

Shawn,

you need to get the actual LVM version running in order to solve your
problem.
If there's no constraints to stay with the Redhat patched kernel, you should
follow the patch instructions in the LVMs distro contained files INSTALL
and PATHCE/README (guess that you probably know those already from the
things you say below ;-), build+install the kernel and the LVM lib and tools.

vgscan should find your VG then (crossing fingers ;-)

Regards,
Heinz    -- The LVM Guy --


On Tue, Oct 30, 2001 at 09:38:43AM -0900, Nay, Shawn wrote:
> I am an LVM newbie but did manage to get it up and running on a non-system
> disk.
> I rebuild my system with the same version of Linux (Redhat 7.2), the same
> kernel (2.4.9-7, which I recompiled for LVM), and the same version of LVM
> (0.9.1_beta7).  By the way...I am using an old release of LVM due to my
> inability to patch this kernel with 1.0.1-rc4.  The problem is that I am
> unable to import my old vg.  This disk has remained untouched since my
> previous install.
> 
> pvscan output:
> pvscan -- reading all physical volumes (this may take a while...)
> pvscan -- inactive PV "/dev/hdd"  is associated to an unknown VG (run
> vgscan)
> pvscan -- total: 1 [31.08 MB] / in use: 1 [31.08 MB] / in no VG: 0 [0]
> 
> vgscan output:
> vgscan -- reading all physical volumes (this may take a while...)
> vgscan -- found inactive volume group "sundogvg"
> vgscan -- only found 0 of 5120 LEs for LV /dev/sundogvg/datalv (0)
> vgscan -- ERROR "vg_read_with_pv_and_lv(): allocated LE of LV" can't get
> data of volume group "sundogvg" from physical volume(s)
> vgscan -- ERROR "vg_read_with_pv_and_lv(): allocated LE of LV" creating
> "/etc/lvmtab" and "/etc/lvmtab.d"
> 
> vgimport output:
> vgimport -- ERROR: physical volume "/dev/hdd" doesn't belong to an exported
> volume group
> 
> Any help would be greatly appreciated.
> 
> Shawn
> 
> 
> 
> 
> This transmittal may contain confidential information intended solely for
> the addressee. If you are not the intended recipient, you are hereby
> notified that you have received this transmittal in error; any review,
> dissemination, distribution or copying of this transmittal is strictly
> prohibited. If you have received this communication in error, please notify
> us immediately by reply or by telephone (collect at 907-564-1000) and ask to
> speak with the message sender. In addition, please immediately delete this
> message and all attachments. Thank you.
> 
> _______________________________________________
> 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] 2+ messages in thread

end of thread, other threads:[~2001-11-05  5:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-10-30 12:37 [linux-lvm] vgscan / vgimport problems Nay, Shawn
2001-11-05  5:58 ` Heinz J . Mauelshagen

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