Skip to contentSkip to conversation

im getting: ERROR "vg_read_with_pv_and_lv()

linux-lvm Robin Wenninger 2 participants 2 messages Jul 15, 2001 – Jul 16, 2001

lore
Share & tools
lore
#0 lore raw

hi all,
i have a problem with my lvm. i have changed my root distribution, after doing this, my lvm doesen't work anymore. i left the lvm-partitions untouched, and after installing the kernel-patch and the lvm-tools for me new distribution, i tried a vgscan to create a new lvmtab and a lvmtab.d. but i get a errormessage:

vgscan -- ERROR "vg_read_with_pv_and_lv(): allocated LE of LV" can't get data of volume group "vg01" from physical volume(s)
vgscan -- ERROR "vg_read_with_pv_and_lv(): allocated LE of LV" creating "/etc/lvmtab" and "/etc/lvmtab.d"

vgscan -- reading all physical volumes (this may take a while...) vgscan -- found inactive volume group "vg01"

i dont know what do to

please help me

cu all

p.s. i created my lvm with the v0.8 from the lvm tools, now i try to vgscan with the v0.9, can this be the problem?

#1 lore raw

Robin,

what was you old distro/kernel version?
What's your new distro/kernel version?

Quoted 15 lines · Robin Wenninger

hi all,
i have a problem with my lvm. i have changed my root distribution, after doing this, my lvm doesen't work anymore. i left the lvm-partitions untouched, and after installing the kernel-patch and the lvm-tools for me new distribution, i tried a vgscan to create a new lvmtab and a lvmtab.d. but i get a errormessage:

vgscan -- ERROR "vg_read_with_pv_and_lv(): allocated LE of LV" can't get data of volume group "vg01" from physical volume(s)
vgscan -- ERROR "vg_read_with_pv_and_lv(): allocated LE of LV" creating "/etc/lvmtab" and "/etc/lvmtab.d"

vgscan -- reading all physical volumes (this may take a while...) vgscan -- found inactive volume group "vg01"

Quoted 8 lines

i dont know what do to

please help me

cu all

p.s. i created my lvm with the v0.8 from the lvm tools, now i try to vgscan with the v0.9, can this be the problem?

It shouldn't but it likely is :-(

Could you send the "dd if=/dev/X ibs=1k count=500 of=PV_N" outputs of all your PVs of vg01 attached compressed to me directly, please?

Quoted 5 lines

_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html

Signature · 15 lines
Regards,
Heinz    -- The LVM Guy --

*** Software bugs are stupid.
    Nevertheless it needs not so stupid people to solve them ***

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Heinz Mauelshagen                                 Sistina Software Inc.
Senior Consultant/Developer                       Am Sonnenhang 11
                                                  56242 Marienrachdorf
                                                  Germany
[email protected]                           +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-