Linux LVM users
 help / color / mirror / Atom feed
From: Lars Kellogg-Stedman <lars@larsshack.org>
To: lvm-devel@sistina.com, linux-lvm@sistina.com
Subject: [linux-lvm] SUMMARY: Help! All PVs present but vgscan fails to assemble volume group
Date: Tue Nov 27 16:40:01 2001	[thread overview]
Message-ID: <3C0416DF.2080509@larsshack.org> (raw)
In-Reply-To: 20011127142920.L730@lynx.no

Everything is working once again, and I wanted to summarize my 
experience to the list in the hopes that someone else will find it helpful.

There appear to have been two problems at work here:

(1) The list compacting code in pv_read_all_pv_of_vg() is buggy, and in 
common situations would lose track of some PVs.  I submitted a very 
simple patch for this to Heinz earlier today, but I've since put a 
cleaner version up at <http://larsshack.freeservers.com/lvm/>.

(2) It looks as if the 'vgmerge' command may have trodded upon on-disk 
information on /dev/md0, erasing both the LV table and the mappings for 
the first 173 PEs.

Andreas provided the information I needed to manually reconstruct the 
data lost due to (2).  In fact, Andreas has been extraordinarily helpful 
in tracking down both the cause and a solution to this problem, and I'd 
like to thank him here for his time and effort.

I have not yet investigated the vgmerge problem in any detail, so I 
don't know why it corrupted the on-disk data.

-- Lars

           reply	other threads:[~2001-11-27 16:40 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20011127142920.L730@lynx.no>]

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=3C0416DF.2080509@larsshack.org \
    --to=lars@larsshack.org \
    --cc=linux-lvm@sistina.com \
    --cc=lvm-devel@sistina.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