All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] Help! Problems finding VG after reboot.
@ 2001-02-06 18:35 gobo
  2001-02-06 18:58 ` Rik van Riel
  0 siblings, 1 reply; 15+ messages in thread
From: gobo @ 2001-02-06 18:35 UTC (permalink / raw)
  To: linux-lvm

Hi all.

I'm running beta3 on a 2.4.0 kernel. I recently had to reboot my computer 
due to an error with the network device. When the computer came back up I 
couldn't get to the LVM partition any more.

Running vgscan I got the following message:

# vgscan
vgscan -- reading all physical volumes (this may take a while...)
vgscan -- found inactive volume group "widow"
vgscan -- ERROR "vg_read_with_pv_and_lv(): allocated LE of LV" can't get 
data of volume group "widow" from physical volume(s)
vgscan -- ERROR "vg_read_with_pv_and_lv(): allocated LE of LV" creating 
"/etc/lvmtab" and "/etc/lvmtab.d"

Running PVscan yielded:

# pvscan
pvscan -- reading all physical volumes (this may take a while...)
pvscan -- inactive PV "/dev/hda3"  is associated to an unknown VG (run 
vgscan)
pvscan -- inactive PV "/dev/hdb1"  is associated to an unknown VG (run 
vgscan)
pvscan -- inactive PV "/dev/hdc1"  is associated to an unknown VG (run 
vgscan)
pvscan -- inactive PV "/dev/hdd1"  is associated to an unknown VG (run 
vgscan)
pvscan -- inactive PV "/dev/hde1"  is associated to an unknown VG (run 
vgscan)
pvscan -- inactive PV "/dev/hdf1"  is associated to an unknown VG (run 
vgscan)
pvscan -- total: 6 [100.96 GB] / in use: 6 [100.96 GB] / in no VG: 0 [0]

After reading through the mailing list I got the impression that the 
thing to do to solve my problems would be to run vgcfgrestore on each 
partition. So I ran the following command on all 6 partitions:
# vgcfgrestore -n widow /dev/hdf1
vgcfgrestore -- VGDA for "widow" successfully restored to physical volume 
"/dev/hdf1"

Now when I run vgscan I get:
# vgscan
vgscan -- reading all physical volumes (this may take a while...)
vgscan -- no volume groups found

and pvscan yields the exact same result as above.

If anyone have an idea on how I can get my filesystem back I'd very much 
appreciate it.

Frank Ronny Larsen
-- 
"I'll carry your books, I'll carry a tune, I'll carry on, carry over,
carry forward, Cary Grant, cash & carry, Carry Me Back To Old
Virginia, I'll even Hara Kari if you show me how, but I will *not*
carry a gun."                                      -- Hawkeye, M*A*S*H

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

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

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-02-06 18:35 [linux-lvm] Help! Problems finding VG after reboot gobo
2001-02-06 18:58 ` Rik van Riel
2001-02-06 19:22   ` AJ Lewis
2001-02-06 19:31     ` AJ Lewis
2001-02-06 20:09     ` Rik van Riel
2001-02-06 20:39       ` AJ Lewis
2001-02-06 21:04         ` Rik van Riel
2001-02-06 23:30         ` gobo
2001-02-07 17:25         ` gobo
2001-02-07 17:34           ` gobo
2001-02-07 18:10           ` Andreas Dilger
2001-02-06 21:13     ` Michael E Brown
2001-02-06 18:31       ` Richard Smith
2001-02-08  0:47         ` Gregory McLean
2001-02-08  1:16           ` Andreas Dilger

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.