Skip to contentSkip to conversation

Problem with vgscan

linux-lvm Dmitri Levitin 2 participants 2 messages May 22, 2002

lore
Share & tools
lore
#0 lore raw

I've sent you the data to [email protected].

Quoted 1 line
Quoted 1 line
Quoted 1 line

[email protected] 22.05.2002 14.50 Uhr >>>

Well, this is an ancient LVM version:

- what does pvscan say?

- what does "vgscan -d" say?

Send both outputs plus the file "Dmitri.vgda" created with
"dd if=/dev/sdd1 bs=1k count=4k of=Dmitri.vgda" in a bziped tar archive to me for further investigation ([email protected]).

Quoted 26 lines · Dmitri Levitin

Hi,

I have installed the LVM-0.9-1 on my Linux Suse7.0 Kernel 2.2.18 and I have marked /dev/sdd1 with Linux LVM label. When I run vgscan for the first time it tells the follows:

$ vgscan -v
vgscan -- removing "/etc/lvmtab" and "/etc/lvmtab.d"
vgscan -- reading all physical volumes (this may take a while...)
vgscan -- scanning for all active volume group(s) first
vgscan -- found inactive volume group "data"
vgscan -- reading data of volume group "data" from physical volume(s)
vgscan -- ERROR "vg_read_with_pv_and_lv(): allocated LE of LV" can't get data of volume group "data" from physical volume(s)
vgscan -- ERROR "vg_read_with_pv_and_lv(): allocated LE of LV" creating "/etc/lvmtab" and "/etc/lvmtab.d"

What's the problem? Could anybody help my?

Thanks a lot

Dmitri

_______________________________________________
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 · 21 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
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

_______________________________________________
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
#1 lore raw

Dmitri,

had a quick look at the data you send to me directly.

The problem is, that you seem to have lost 3 out of 4 physical volumes which made up your volume group before.
The remaining logical volume named "neu" had extents allocated on the lost physical volumes and that's why the error below is displayed because they are not found any longer.

What happened to the 3 physical volumes?

Did you eventually create them on 3 partitions and changed the partition types to something else rather than LVM afterwards which causes LVM to ignore them?

If that assumption is true and you didn't overwrite those partitions, you might just change the partition type back to LVM and retry "vgscan;vgchange -ay".

In case those are on disks with open partitions, you need to reboot after changing the partition types back to LVM.

Regards,
Heinz -- The LVM Guy --

Quoted 33 lines · Dmitri Levitin

I've sent you the data to [email protected].

Quoted 1 line
Quoted 1 line
Quoted 1 line

[email protected] 22.05.2002 14.50 Uhr >>>

Well, this is an ancient LVM version:

- what does pvscan say?

- what does "vgscan -d" say?

Send both outputs plus the file "Dmitri.vgda" created with
"dd if=/dev/sdd1 bs=1k count=4k of=Dmitri.vgda" in a bziped tar archive to me for further investigation ([email protected]).

Quoted 18 lines · Dmitri Levitin

Hi,

I have installed the LVM-0.9-1 on my Linux Suse7.0 Kernel 2.2.18 and I have marked /dev/sdd1 with Linux LVM label. When I run vgscan for the first time it tells the follows:

$ vgscan -v
vgscan -- removing "/etc/lvmtab" and "/etc/lvmtab.d"
vgscan -- reading all physical volumes (this may take a while...)
vgscan -- scanning for all active volume group(s) first
vgscan -- found inactive volume group "data"
vgscan -- reading data of volume group "data" from physical volume(s)
vgscan -- ERROR "vg_read_with_pv_and_lv(): allocated LE of LV" can't get data of volume group "data" from physical volume(s)
vgscan -- ERROR "vg_read_with_pv_and_lv(): allocated LE of LV" creating "/etc/lvmtab" and "/etc/lvmtab.d"

What's the problem? Could anybody help my?

Thanks a lot

Quoted 39 lines
Quoted 8 lines

Dmitri

_______________________________________________
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 · 28 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
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

_______________________________________________
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


_______________________________________________
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

*** 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

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