linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Richard Kampmann <Richard.Kampmann@freenet.de>
To: linux-lvm@redhat.com
Subject: [linux-lvm] LVM problem - how to recover?
Date: Tue, 28 Nov 2006 21:15:09 +0100	[thread overview]
Message-ID: <200611282115.15335.Richard.Kampmann@freenet.de> (raw)

[-- Attachment #1: Type: text/plain, Size: 1576 bytes --]

Hi everybody ...

I recently had a lvm crash from which I now have to recover. So now I need 
your help ...

The system is a SUSE 10.1 system with actual patches.
# uname -rio
2.6.16.21-0.25-default i386 GNU/Linux
# lvm version
  LVM version:     2.02.02 (2006-02-07)
  Library version: 1.02.03 (2006-02-08)
  Driver version:  4.5.0
#

There was the unenlightened crash and before there was a volume goup spanning 
two physical partitions (sda2, sdb2), each on one physical disk (sda, sdb).
The system froze (maybe in coincidence with some snapshot-handling) and I had 
to press the reset button. When rebooting lvm told me he could not open the 
volume group because one pv was missing. The partition looked OK when 
checking the partition table. I tried several things - and to do a 
vgcfgrestore but it did not help.

The volume group (system_vg) contained the root partition, so I installed a 
new system on a third disc and tried to recover the old volume group.
Unfortunately when doing the pvcreate for the two physical volumes I did NOT 
choose the "--zero n" switch.

Fact is: I now have the volume group containing two physical discs and two 
physical volumes with the correct PV UUIDs. But the first sectors are zeroed, 
aren't they?

Any way to recover the LVs of the old volume group? A vgcfgrestore (YES, there 
was a vgcfgbackup before!) does not work ... bad luck.

Ah - and all logical volumes contain Reiser Filesystems V 3.6 - they MUST 
still be there ...

So - what could be my next steps?

Bye

Richard Kampmann

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

             reply	other threads:[~2006-11-28 20:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-28 20:15 Richard Kampmann [this message]
2006-12-03 13:26 ` [linux-lvm] LVM problem - how to recover? Richard Kampmann
2006-12-08 17:23   ` Richard Mollel
2006-12-03 21:15 ` Zac Slade
2006-12-05 13:38   ` [linux-lvm] LVM problem - how to recover? (solved) Richard Kampmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200611282115.15335.Richard.Kampmann@freenet.de \
    --to=richard.kampmann@freenet.de \
    --cc=linux-lvm@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).