linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Jeff Ewing <jeffiewing@gmail.com>
To: linux-lvm@redhat.com
Subject: [linux-lvm] PV segments corrupted in vg1 : LVM corrupted
Date: Wed, 22 Jun 2005 21:37:13 +1000	[thread overview]
Message-ID: <3cd4d99305062204374db9549@mail.gmail.com> (raw)

After removing some logical volumes (backup,etc) and extending home
logical volume, data in the whole volume group (vg1) has become
corrupted: Root logical volume is mounted at boot time, but am unable
to mount any other logical volumes in that volume group (var,home etc)
after reboot.

pvscan displays :  PV segment VG free_count mismatch: 0 != 4294966485
  Internal error: PV segments corrupted in vg1.
  No matching physical volumes found

vgdisplay, vgchange,vgscan display similiar message.

Using 2 IDE drives, with 2 meta disks on each (mirrored across the drives).
1 meta disk contains boot
1 meta disk contains  LVM - 1 volume group, logical volumes for
root,swap,var,usr,home

vgcfgrestore fails.

/etc/lvm/backup/vg1 contains (english) description of last known state of the 
logical volumes.  
/etc/lvmconf/vg1.conf  is a binary file (may be out of date)
/etc/lvmtab.d/vg1 appears to be the same binary file above (may be out of date)

System is Debian Unstable, running lvm2,udev,device mapper, kernel
2.6.8 compiled from Debian source. System appeared stable for 1 week
after lvm changes, but failed on reboot.

1. What command can be used to recreate the vg1.conf binary file from
the english description backup? (vg1.conf modification date is older
than changes)

2. What is the VG free count and how can it be reset to 0?

3. What other tools available to fix broken lvm.

Thank you

             reply	other threads:[~2005-06-22 11:37 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-22 11:37 Jeff Ewing [this message]
2005-06-22 14:15 ` [linux-lvm] PV segments corrupted in vg1 : LVM corrupted AJ Lewis
2005-06-23  1:02   ` [linux-lvm] " Jeff Ewing
2005-06-23  6:01     ` Jeff Ewing
2005-06-23  8:11     ` Alasdair G Kergon
2005-06-24  2:02       ` Jeff Ewing

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=3cd4d99305062204374db9549@mail.gmail.com \
    --to=jeffiewing@gmail.com \
    --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).