All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Heinz J . Mauelshagen" <mauelshagen@sistina.com>
To: linux-lvm@sistina.com
Subject: Re: Antw: Re: [linux-lvm] Problem with vgscan
Date: Wed May 22 12:03:01 2002	[thread overview]
Message-ID: <20020522185929.A10519@sistina.com> (raw)
In-Reply-To: <scebc243.095@MS104BN>; from dmitri.levitin@postbank.de on Wed, May 22, 2002 at 04:07:53PM +0200

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

      reply	other threads:[~2002-05-22 12:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-22  9:09 Antw: Re: [linux-lvm] Problem with vgscan Dmitri Levitin
2002-05-22 12:03 ` Heinz J . Mauelshagen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020522185929.A10519@sistina.com \
    --to=mauelshagen@sistina.com \
    --cc=linux-lvm@sistina.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.