From: Tomas Edwardsson <tommi@tommi.org>
To: linux-lvm@sistina.com
Subject: [linux-lvm] Re: Problem with vgscan "only found 626 of 625 LEs for LV"
Date: Tue, 11 Sep 2001 11:30:54 +0000 [thread overview]
Message-ID: <20010911113054.B16588@hp.is> (raw)
In-Reply-To: <20010911112241.A16588@hp.is>; from tommi@tommi.org on Tue, Sep 11, 2001 at 11:22:41AM +0000
I had already tried the vgcfgrestore, it didn't seem to help but I discovered
that the UUID for one of my PVs was missing so I ran the uuid-fixer and now
they all have UUIDs again (don't know if that is relevant).
I have run the pvdata on all my PVs although I think the right one is the
following file run with pvdata -avP /dev/hdd1:
http://vefur.hp.is/lvm/pvdata-hdd1.txt
I also documented a few more commands:
pvdata -avP /dev/hdb2, http://vefur.hp.is/lvm/pvdata-hdb2.txt
pvdata -avP /dev/hdc2, http://vefur.hp.is/lvm/pvdata-hdc2.txt
pvscan, http://vefur.hp.is/lvm/pvscan.txt
vgscan, http://vefur.hp.is/lvm/vgscan.txt
On Tue, Sep 11, 2001 at 11:22:41AM +0000, Tomas Edwardsson wrote:
> 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
next parent reply other threads:[~2001-09-11 11:30 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20010911112241.A16588@hp.is>
2001-09-11 11:30 ` Tomas Edwardsson [this message]
2001-09-11 16:49 ` [linux-lvm] Re: Problem with vgscan "only found 626 of 625 LEs for LV" Andreas Dilger
2001-09-12 9:40 ` Tomas Edwardsson
2001-09-06 12:32 [linux-lvm] " Tomas Edwardsson
2001-09-07 10:35 ` [linux-lvm] " Tomas Edwardsson
2001-09-07 16:59 ` Andreas Dilger
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=20010911113054.B16588@hp.is \
--to=tommi@tommi.org \
--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.