* [linux-lvm] Problem: "only found 768 of 769 LEs for LV /dev/vg00/lvol1"
@ 2001-09-12 9:43 Julian Glashoff
2001-09-12 12:10 ` Joe Thornber
0 siblings, 1 reply; 2+ messages in thread
From: Julian Glashoff @ 2001-09-12 9:43 UTC (permalink / raw)
To: linux-lvm; +Cc: helldog
Hello,
I have a problem with my volume group:
I was using kernel 2.4.7 with LVM 1.0.1-rc1.
I tried to extend a logical volume (/dev/vg00/lvol2) by 4Gig and got the
error message "No such device or address in kernel".
Then I tried to extend /dev/vg00/lvol1 by 1 extent just to test if I was
able to change volumes at all whereupon the system completely crashed.
On the next reboot I got the following message from vgscan:
-------------------------------------------------------------------
# vgscan
vgscan -- reading all physical volumes (this may take a while...)
vgscan -- found inactive volume group "vg00"
vgscan -- only found 768 of 769 LEs for LV /dev/vg00/lvol1 (1)
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"
-------------------------------------------------------------------
And now I am unable to access the volume group.
Then I tried to restore the backups with the following result:
-------------------------------------------------------------------
# vgcfgrestore -n vg00 -l
vgcfgrestore -- ERROR: different structure size stored in
"/etc/lvmconf/vg00.conf" than expected in file vg_cfgrestore.c [line 120]
vgcfgrestore -- ERROR "vg_cfgrestore(): read" restoring volume group "vg00"
-------------------------------------------------------------------
The documentation says this would be caused by an incorrect LVM version.
I was using 1.0.1-rc1 and have tried to restore the backups with every
version from 0.9.1-beta1 up to 1.0.1-rc2 and all versions give me the same
error.
Is there anything I can do to restore my volume group?
The output of "pvdata -a" can be found here:
http://hactar.dnsalias.net/lvm/pvdata.hda5
http://hactar.dnsalias.net/lvm/pvdata.hda7
http://hactar.dnsalias.net/lvm/pvdata.hdc2
--
Julian Glashoff
<helldog@gmx.net>
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [linux-lvm] Problem: "only found 768 of 769 LEs for LV /dev/vg00/lvol1"
2001-09-12 9:43 [linux-lvm] Problem: "only found 768 of 769 LEs for LV /dev/vg00/lvol1" Julian Glashoff
@ 2001-09-12 12:10 ` Joe Thornber
0 siblings, 0 replies; 2+ messages in thread
From: Joe Thornber @ 2001-09-12 12:10 UTC (permalink / raw)
To: linux-lvm
Could you tell me which release of LVM you used to create the volume
group in the first place please ?
- Joe
On Wed, Sep 12, 2001 at 11:43:10AM +0200, Julian Glashoff wrote:
> Hello,
>
> I have a problem with my volume group:
> I was using kernel 2.4.7 with LVM 1.0.1-rc1.
> I tried to extend a logical volume (/dev/vg00/lvol2) by 4Gig and got the
> error message "No such device or address in kernel".
> Then I tried to extend /dev/vg00/lvol1 by 1 extent just to test if I was
> able to change volumes at all whereupon the system completely crashed.
> On the next reboot I got the following message from vgscan:
> -------------------------------------------------------------------
> # vgscan
> vgscan -- reading all physical volumes (this may take a while...)
> vgscan -- found inactive volume group "vg00"
> vgscan -- only found 768 of 769 LEs for LV /dev/vg00/lvol1 (1)
> 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"
> -------------------------------------------------------------------
> And now I am unable to access the volume group.
> Then I tried to restore the backups with the following result:
> -------------------------------------------------------------------
> # vgcfgrestore -n vg00 -l
> vgcfgrestore -- ERROR: different structure size stored in
> "/etc/lvmconf/vg00.conf" than expected in file vg_cfgrestore.c [line 120]
> vgcfgrestore -- ERROR "vg_cfgrestore(): read" restoring volume group "vg00"
> -------------------------------------------------------------------
> The documentation says this would be caused by an incorrect LVM version.
> I was using 1.0.1-rc1 and have tried to restore the backups with every
> version from 0.9.1-beta1 up to 1.0.1-rc2 and all versions give me the same
> error.
>
> Is there anything I can do to restore my volume group?
>
> The output of "pvdata -a" can be found here:
>
> http://hactar.dnsalias.net/lvm/pvdata.hda5
> http://hactar.dnsalias.net/lvm/pvdata.hda7
> http://hactar.dnsalias.net/lvm/pvdata.hdc2
>
> --
> Julian Glashoff
> <helldog@gmx.net>
>
>
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-09-12 12:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-09-12 9:43 [linux-lvm] Problem: "only found 768 of 769 LEs for LV /dev/vg00/lvol1" Julian Glashoff
2001-09-12 12:10 ` Joe Thornber
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.