All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] SUMMARY: Help! All PVs present but vgscan fails to assemble volume group
       [not found]               ` <20011127142920.L730@lynx.no>
@ 2001-11-27 16:40                 ` Lars Kellogg-Stedman
  0 siblings, 0 replies; only message in thread
From: Lars Kellogg-Stedman @ 2001-11-27 16:40 UTC (permalink / raw)
  To: lvm-devel, linux-lvm

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-11-27 16:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20011127010049.B15105@piglet.house>
     [not found] ` <20011126235210.Y730@lynx.no>
     [not found]   ` <20011127112929.A8340@sistina.com>
     [not found]     ` <20011127090310.A16544@piglet.house>
     [not found]       ` <20011127110925.B730@lynx.no>
     [not found]         ` <20011127141509.C17062@piglet.house>
     [not found]           ` <20011127132716.H730@lynx.no>
     [not found]             ` <20011127160350.D17062@piglet.house>
     [not found]               ` <20011127142920.L730@lynx.no>
2001-11-27 16:40                 ` [linux-lvm] SUMMARY: Help! All PVs present but vgscan fails to assemble volume group Lars Kellogg-Stedman

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.