All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stas Sergeev <stsp@aknet.ru>
To: lvm-devel@redhat.com
Subject: broken vg after vgconvert -M1, trying to recover
Date: Mon, 08 Dec 2008 11:26:01 +0300	[thread overview]
Message-ID: <493CDA19.805@aknet.ru> (raw)
In-Reply-To: <20081205125711.GA26097@agk.fab.redhat.com>

Hello.

Alasdair G Kergon wrote:
> To recover, you should: update to a newer version such as 2.02.42 or 2.02.43,
> find a suitable metadata backup file, edit it to ensure the LV UUIDs are
> compatible with LVM1 (ie small consecutive numbers with leading zeroes)
> then use vgcfgrestore.
OK, I recovered the backup from the
partition dump and upgraded lvm2 to
2.0.43. I changed the LV IDs, and
vgcfgrestore says this:
---
  PV /dev/sdb3 is a different format (seqno lvm1)
  Restore failed.
---

And if I also change the pv0 id,
I get this:
---
  Couldn't find device with uuid '000000-0000-0000-0000-0000-0000-000009'.
Segmentation fault
---

The segfault comes from archiver.c:296 -
pv->dev is NULL here, but the check is
missing.
Attached is my restored metadata backup.
Please let me know how can I recover from
that.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: bb
URL: <http://listman.redhat.com/archives/lvm-devel/attachments/20081208/c0172d49/attachment.ksh>

  parent reply	other threads:[~2008-12-08  8:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-05 11:44 broken vg after vgconvert -M1 Stas Sergeev
2008-12-05 12:57 ` Alasdair G Kergon
2008-12-05 15:16   ` Stas Sergeev
2008-12-08  8:26   ` Stas Sergeev [this message]
2008-12-08 12:55     ` broken vg after vgconvert -M1, trying to recover Stas Sergeev

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=493CDA19.805@aknet.ru \
    --to=stsp@aknet.ru \
    --cc=lvm-devel@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 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.