All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] Problem with vgscan "only found 626 of 625 LEs for LV"
@ 2001-09-06 12:32 Tomas Edwardsson
  2001-09-07 10:35 ` [linux-lvm] " Tomas Edwardsson
  0 siblings, 1 reply; 3+ messages in thread
From: Tomas Edwardsson @ 2001-09-06 12:32 UTC (permalink / raw)
  To: linux-lvm

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"

I also tried pvscna, but I don't know if that's relevant:

pvscan -- reading all physical volumes (this may take a while...)
pvscan -- inactive PV "/dev/hdb2"  is associated to an unknown VG (run vgscan)
pvscan -- inactive PV "/dev/hdc2"  is associated to an unknown VG (run vgscan)
pvscan -- inactive PV "/dev/hdd1"  is associated to an unknown VG (run vgscan)
pvscan -- total: 3 [16.00 GB] / in use: 3 [16.00 GB] / in no VG: 0 [0]

- Tomas Edwardsson

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

* [linux-lvm] Re: Problem with vgscan "only found 626 of 625 LEs for LV"
  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 ` Tomas Edwardsson
  2001-09-07 16:59   ` Andreas Dilger
  0 siblings, 1 reply; 3+ messages in thread
From: Tomas Edwardsson @ 2001-09-07 10:35 UTC (permalink / raw)
  To: linux-lvm

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"
> 
> I also tried pvscna, but I don't know if that's relevant:
> 
> pvscan -- reading all physical volumes (this may take a while...)
> pvscan -- inactive PV "/dev/hdb2"  is associated to an unknown VG (run vgscan)
> pvscan -- inactive PV "/dev/hdc2"  is associated to an unknown VG (run vgscan)
> pvscan -- inactive PV "/dev/hdd1"  is associated to an unknown VG (run vgscan)
> pvscan -- total: 3 [16.00 GB] / in use: 3 [16.00 GB] / in no VG: 0 [0]
> 
> - Tomas Edwardsson

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

* Re: [linux-lvm] Re: Problem with vgscan "only found 626 of 625 LEs for LV"
  2001-09-07 10:35 ` [linux-lvm] " Tomas Edwardsson
@ 2001-09-07 16:59   ` Andreas Dilger
  0 siblings, 0 replies; 3+ messages in thread
From: Andreas Dilger @ 2001-09-07 16:59 UTC (permalink / raw)
  To: linux-lvm

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

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

end of thread, other threads:[~2001-09-07 16:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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.