[linux-lvm] only found 0 of 5120 LEs for LV

Andreas Dilger adilger at turbolabs.com
Fri Nov 30 15:04:02 UTC 2001


On Nov 30, 2001  09:20 -0900, Nay, Shawn wrote:
> Still no go.
> I am now running 2.4.16 (linux) with 1.0.1 lvm.  pvscan finds my disks,
> vgscan finds the inactive volume group, but I still get the error:
> 
> vgscan output:
> > vgscan -- reading all physical volumes (this may take a while...)
> > vgscan -- found inactive volume group "sundogvg"
> > vgscan -- only found 0 of 5120 LEs for LV /dev/sundogvg/datalv (0)
> > vgscan -- ERROR "vg_read_with_pv_and_lv(): allocated LE of LV" can't get
> > data of volume group "sundogvg" from physical volume(s)
> > vgscan -- ERROR "vg_read_with_pv_and_lv(): allocated LE of LV" creating
> > "/etc/lvmtab" and "/etc/lvmtab.d
> 
> My previous email and the response to it are below.  Any help is still
> appreciated.

Send the output of "pvdata -E /dev/whatever" for all the PVs, and we can
see if your LV even exists anymore.  If it is overwritten, I'm wondering
if this is the same bug as hit Lars.  Maybe related to the recent change
to zero out unused parts of the VGDA.

Cheers, Andreas
--
Andreas Dilger
http://sourceforge.net/projects/ext2resize/
http://www-mddsp.enel.ucalgary.ca/People/adilger/





More information about the linux-lvm mailing list