Re: Antw: Re: [linux-lvm] Problem with vgscan

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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


On Wed, May 22, 2002 at 04:07:53PM +0200, Dmitri Levitin wrote:
> I've sent you the data to mge@sistina.com.
> 
> >>> mauelshagen@sistina.com 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 (mge@sistina.com).
> 
> On Wed, May 22, 2002 at 02:30:02PM +0200, Dmitri Levitin wrote:
> > 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
> > 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 
> 
> -- 
> 
> 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
> Mauelshagen@Sistina.com                           +49 2626 141200
>                                                        FAX 924446
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> 
> _______________________________________________
> 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
> 
> 
> _______________________________________________
> 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

*** 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
Mauelshagen@Sistina.com                           +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

_______________________________________________
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

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux