All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] Instability with 2.6, recovering (meta)data?
@ 2003-11-10 11:13 Toad
  2003-11-10 11:47 ` Toad
  2003-11-10 12:56 ` Alasdair G Kergon
  0 siblings, 2 replies; 9+ messages in thread
From: Toad @ 2003-11-10 11:13 UTC (permalink / raw)
  To: linux-lvm

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

Each time I have deleted an LV on LVM2 on 2.6, it has corrupted my
metadata. Last time I did a vgcfgrestore on 2.4 and it worked, however I
have recently been bitten by some sort of incompatibility bug and my LVM
now only works on 2.6 (it might work on a 2.4+devmapper kernel, I'll
look into that). Here is what happens when I try to get my metadata
back:
root@amphibian:/usr/src/linux# vgdisplay -d -v
    Finding all volume groups
    Finding volume group "vg-big"
  invalid lv in extent map
  Couldn't fill logical volume maps.
  Volume group "vg-big" doesn't exist
root@amphibian:/usr/src/linux# pvscan -d -v
    Wiping cache of LVM-capable devices
    Wiping internal cache
    Walking through all physical volumes
  invalid lv in extent map
  Couldn't fill logical volume maps.
  No matching physical volumes found
root@amphibian:/usr/src/linux# vgcfgrestore -v -d vg-big
  PV /dev/hda is a different format (lvm1)
  Restore failed.

That last one is particularly perverse; I was always told that LVM1 and
LVM2 are compatible. Of course later I discovered this not to be the
case; after some operation or other (creating an LV? resizing one?) on
LVM on 2.6, I could no longer access my LVs under 2.4/LVM1.

Any help?
-- 
Matthew J Toseland - toad@amphibian.dyndns.org
Freenet Project Official Codemonkey - http://freenetproject.org/
ICTHUS - Nothing is impossible. Our Boss says so.

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

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

end of thread, other threads:[~2003-11-13 18:06 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-10 11:13 [linux-lvm] Instability with 2.6, recovering (meta)data? Toad
2003-11-10 11:47 ` Toad
2003-11-10 12:41   ` Toad
2003-11-10 17:10     ` Alasdair G Kergon
2003-11-13 18:06       ` Alasdair G Kergon
2003-11-10 13:09   ` Alasdair G Kergon
2003-11-10 12:56 ` Alasdair G Kergon
2003-11-11 14:18   ` Jose Luis Domingo Lopez
2003-11-11 14:23     ` Re[2]: " Spam

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.