All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] Ut-Oh! - I need MAJOR help.
@ 2000-09-19  5:17 Justin Hamilton
  2000-09-19 11:31 ` Heinz J. Mauelshagen
  0 siblings, 1 reply; 3+ messages in thread
From: Justin Hamilton @ 2000-09-19  5:17 UTC (permalink / raw)
  To: Linux LVM mailing list

Just had my machine lock up after CPU Fan failure.  Anyway, after repairs, a
reboot (and subsequent vgscan's) gives the following response:

[root@Voyager /root]# vgscan -v
vgscan -- removing "/etc/lvmtab" and "/etc/lvmtab.d"
vgscan -- reading all physical volumes (this may take a while...)
vgscan -- scanning for all active volume group(s) first
vgscan -- found active volume group "vg02"
vgscan -- reading data of volume group "vg02" from physical volume(s)
vgscan -- inserting "vg02" into lvmtab
vgscan -- backing up volume group "vg02"
vgscan -- checking volume group name "vg02"
vgscan -- checking volume group consistency of "vg02"
vgscan -- checking existence of "/etc/lvmtab.d"
vgscan -- making directory "/etc/lvmtab.d"
vgscan -- storing volume group data of "vg02" in "/etc/lvmtab.d/vg02.tmp"
vgscan -- storing physical volume data of "vg02" in "/etc/lvmtab.d/vg02.tmp"
vgscan -- storing logical volume data of volume group "vg02" in
"/etc/lvmtab.d/vg02.tmp"
vgscan -- renaming "/etc/lvmtab.d/vg02.tmp" to "/etc/lvmtab.d/vg02"
vgscan -- removing special files and directory for volume group "vg02"
vgscan -- creating directory and group character special file for "vg02"
vgscan -- creating block device special files for vg02
vgscan -- found inactive volume group "vg01"
vgscan -- reading data of volume group "vg01" from physical volume(s)
vgscan -- ERROR "vg_read_with_pv_and_lv(): allocated LE of LV" can't get
data of volume group "vg01" from physical volume(s)
vgscan -- ERROR "vg_read_with_pv_and_lv(): allocated LE of LV" creating
"/etc/lvmtab" and "/etc/lvmtab.d"


How screwed am I?

I've got reiserfs on the LV's, so recovering the data from the LV's should
not be too big an issue.  What I need to know is how to rebuild the VG.

TIA

Justin Hamilton.

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

* RE: [linux-lvm] Ut-Oh! - I need MAJOR help.
  2000-09-19 11:31 ` Heinz J. Mauelshagen
@ 2000-09-19 10:30   ` Justin Hamilton
  0 siblings, 0 replies; 3+ messages in thread
From: Justin Hamilton @ 2000-09-19 10:30 UTC (permalink / raw)
  To: Mauelshagen; +Cc: linux-lvm

Thanks for the info, gave it a go, but am still getting:

vgscan -- found inactive volume group "vg01"
vgscan -- reading data of volume group "vg01" from physical volume(s)
vgscan -- ERROR "vg_read_with_pv_and_lv(): allocated LE of LV" can't get
data of volume group "vg01" from physical volume(s)
vgscan -- ERROR "vg_read_with_pv_and_lv(): allocated LE of LV" creating
"/etc/lvmtab" and "/etc/lvmtab.d"

Is there any hope?

Thanks

Justin

-----Original Message-----
From: Heinz J. Mauelshagen [mailto:Heinz.Mauelshagen@t-online.de]
Sent: Tuesday, September 19, 2000 7:31 AM
To: Justin Hamilton
Cc: linux-lvm@msede.com
Subject: Re: [linux-lvm] Ut-Oh! - I need MAJOR help.

Hi Justin,

are all PVs of your vg01 online and accessable after your repairs?

If so, your VGDAs got screwed somehow (maybe heat problems screwed date)
and you need to use vgcfgrestore(8) to restore the recent consistent VGDA
backup
from /etc/lvmconf/ to your PVs like:

   vgcfgrestore -n vg01 -f /etc/lvmconf/vg01.conf /dev/PhysicalVolumeDevice

Repeat this step for all your PVs and try vgscan/vgchange again.

If none of your PEs got screwed too, you should be fine after this.
Nevertheless I am afraid that you will most likely face filesystem damage as
well, if you run your machine with seriuos CPU heat trouble for a longer
period
of time.

On Tue, Sep 19, 2000 at 01:17:18AM -0400, Justin Hamilton wrote:
> Just had my machine lock up after CPU Fan failure.  Anyway, after repairs,
a
> reboot (and subsequent vgscan's) gives the following response:
>
> [root@Voyager /root]# vgscan -v
> vgscan -- removing "/etc/lvmtab" and "/etc/lvmtab.d"
> vgscan -- reading all physical volumes (this may take a while...)
> vgscan -- scanning for all active volume group(s) first
> vgscan -- found active volume group "vg02"
> vgscan -- reading data of volume group "vg02" from physical volume(s)
> vgscan -- inserting "vg02" into lvmtab
> vgscan -- backing up volume group "vg02"
> vgscan -- checking volume group name "vg02"
> vgscan -- checking volume group consistency of "vg02"
> vgscan -- checking existence of "/etc/lvmtab.d"
> vgscan -- making directory "/etc/lvmtab.d"
> vgscan -- storing volume group data of "vg02" in "/etc/lvmtab.d/vg02.tmp"
> vgscan -- storing physical volume data of "vg02" in
"/etc/lvmtab.d/vg02.tmp"
> vgscan -- storing logical volume data of volume group "vg02" in
> "/etc/lvmtab.d/vg02.tmp"
> vgscan -- renaming "/etc/lvmtab.d/vg02.tmp" to "/etc/lvmtab.d/vg02"
> vgscan -- removing special files and directory for volume group "vg02"
> vgscan -- creating directory and group character special file for "vg02"
> vgscan -- creating block device special files for vg02
> vgscan -- found inactive volume group "vg01"
> vgscan -- reading data of volume group "vg01" from physical volume(s)
> vgscan -- ERROR "vg_read_with_pv_and_lv(): allocated LE of LV" can't get
> data of volume group "vg01" from physical volume(s)
> vgscan -- ERROR "vg_read_with_pv_and_lv(): allocated LE of LV" creating
> "/etc/lvmtab" and "/etc/lvmtab.d"

... CUT ...

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

* Re: [linux-lvm] Ut-Oh! - I need MAJOR help.
  2000-09-19  5:17 [linux-lvm] Ut-Oh! - I need MAJOR help Justin Hamilton
@ 2000-09-19 11:31 ` Heinz J. Mauelshagen
  2000-09-19 10:30   ` Justin Hamilton
  0 siblings, 1 reply; 3+ messages in thread
From: Heinz J. Mauelshagen @ 2000-09-19 11:31 UTC (permalink / raw)
  To: Justin Hamilton; +Cc: linux-lvm


Hi Justin,

are all PVs of your vg01 online and accessable after your repairs?

If so, your VGDAs got screwed somehow (maybe heat problems screwed date)
and you need to use vgcfgrestore(8) to restore the recent consistent VGDA backup
from /etc/lvmconf/ to your PVs like:

   vgcfgrestore -n vg01 -f /etc/lvmconf/vg01.conf /dev/PhysicalVolumeDevice

Repeat this step for all your PVs and try vgscan/vgchange again.

If none of your PEs got screwed too, you should be fine after this.
Nevertheless I am afraid that you will most likely face filesystem damage as
well, if you run your machine with seriuos CPU heat trouble for a longer period
of time.

On Tue, Sep 19, 2000 at 01:17:18AM -0400, Justin Hamilton wrote:
> Just had my machine lock up after CPU Fan failure.  Anyway, after repairs, a
> reboot (and subsequent vgscan's) gives the following response:
> 
> [root@Voyager /root]# vgscan -v
> vgscan -- removing "/etc/lvmtab" and "/etc/lvmtab.d"
> vgscan -- reading all physical volumes (this may take a while...)
> vgscan -- scanning for all active volume group(s) first
> vgscan -- found active volume group "vg02"
> vgscan -- reading data of volume group "vg02" from physical volume(s)
> vgscan -- inserting "vg02" into lvmtab
> vgscan -- backing up volume group "vg02"
> vgscan -- checking volume group name "vg02"
> vgscan -- checking volume group consistency of "vg02"
> vgscan -- checking existence of "/etc/lvmtab.d"
> vgscan -- making directory "/etc/lvmtab.d"
> vgscan -- storing volume group data of "vg02" in "/etc/lvmtab.d/vg02.tmp"
> vgscan -- storing physical volume data of "vg02" in "/etc/lvmtab.d/vg02.tmp"
> vgscan -- storing logical volume data of volume group "vg02" in
> "/etc/lvmtab.d/vg02.tmp"
> vgscan -- renaming "/etc/lvmtab.d/vg02.tmp" to "/etc/lvmtab.d/vg02"
> vgscan -- removing special files and directory for volume group "vg02"
> vgscan -- creating directory and group character special file for "vg02"
> vgscan -- creating block device special files for vg02
> vgscan -- found inactive volume group "vg01"
> vgscan -- reading data of volume group "vg01" from physical volume(s)
> vgscan -- ERROR "vg_read_with_pv_and_lv(): allocated LE of LV" can't get
> data of volume group "vg01" from physical volume(s)
> vgscan -- ERROR "vg_read_with_pv_and_lv(): allocated LE of LV" creating
> "/etc/lvmtab" and "/etc/lvmtab.d"
> 
> 
> How screwed am I?
> 
> I've got reiserfs on the LV's, so recovering the data from the LV's should
> not be too big an issue.  What I need to know is how to rebuild the VG.
> 
> TIA
> 
> Justin Hamilton.

-- 

Regards,
Heinz      -- The LVM guy --

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

Heinz Mauelshagen                                 Sistina Software Inc.
Senior Consultant/Developer                       Bartningstr. 12
                                                  64289 Darmstadt
                                                  Germany
Mauelshagen@Sistina.com                           +49 6151 7103 86
                                                       FAX 7103 96
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

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

end of thread, other threads:[~2000-09-19 11:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-09-19  5:17 [linux-lvm] Ut-Oh! - I need MAJOR help Justin Hamilton
2000-09-19 11:31 ` Heinz J. Mauelshagen
2000-09-19 10:30   ` Justin Hamilton

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.