All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andreas Dilger <adilger@turbolabs.com>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] Re: Problem with vgscan "only found 626 of 625 LEs for LV"
Date: Fri, 7 Sep 2001 10:59:29 -0600	[thread overview]
Message-ID: <20010907105929.C32553@turbolinux.com> (raw)
In-Reply-To: <20010907103515.B32257@hp.is>

On Sep 07, 2001  10:35 +0000, Tomas Edwardsson wrote:
> Hmm, anyone able to help with this? All my data is currently offline and
> I really need it back so if anyone could help please!
> 
> - Tommi
> 
> On Thu, Sep 06, 2001 at 12:32:45PM +0000, Tomas Edwardsson wrote:
> > Here is what vgscan shows:
> > 
> > vgscan -- reading all physical volumes (this may take a while...)
> > vgscan -- found inactive volume group "vg00"
> > vgscan -- only found 626 of 625 LEs for LV /dev/vg00/lvol1 (0)
> > vgscan -- ERROR "vg_read_with_pv_and_lv(): allocated LE of LV" can't get data of volume group "vg00" from physical volume(s)
> > vgscan -- ERROR "vg_read_with_pv_and_lv(): allocated LE of LV" creating "/etc/lvmtab" and "/etc/lvmtab.d"

It looks like the PE table does not match what is in the LV table for
that LV (i.e. the PE table has 626 PEs that claim to be part of the LV,
but the LV says it has only 625 LEs allocated).

Two possibilities: you recently added an LE to the LV and you had a crash
(or an LVM bug), or somehow you had an error writing to disk.  You can try
restoring a copy of the metadata with vgcfgrestore to see if it helps.

Failing that, check pvdata -avP <disk> to see what is wrong.

Cheers, Andreas
-- 
Andreas Dilger  \ "If a man ate a pound of pasta and a pound of antipasto,
                 \  would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/               -- Dogbert

  reply	other threads:[~2001-09-07 16:59 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-06 12:32 [linux-lvm] Problem with vgscan "only found 626 of 625 LEs for LV" Tomas Edwardsson
2001-09-07 10:35 ` [linux-lvm] " Tomas Edwardsson
2001-09-07 16:59   ` Andreas Dilger [this message]
     [not found] <20010911112241.A16588@hp.is>
2001-09-11 11:30 ` Tomas Edwardsson
2001-09-11 16:49   ` Andreas Dilger
2001-09-12  9:40     ` Tomas Edwardsson

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=20010907105929.C32553@turbolinux.com \
    --to=adilger@turbolabs.com \
    --cc=linux-lvm@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 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.