linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Ed Tomlinson <tomlins@cam.org>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] vgscan ERROR
Date: Thu, 22 Mar 2001 21:37:14 -0500	[thread overview]
Message-ID: <01032221371400.00732@oscar> (raw)
In-Reply-To: <01032216564700.06908@oscar>

Hi,

This was solved by manually enabling the vg from a backup

I used vgcfgrestore -ll -n lv -f ./lv.conf to verify the backup

and restoring the vg with (as in an archived email from Heinz)

cp lv.conf /etc/lvmtab.d/lv
echo -ne 'lv\0' > /etc/lvmtab
vgchange -ay

It seems that with beta-2 adding a pv causes problems...  Upgrading both
the kernel and tools to beta6 corrected the bug (with the VFS patch for
reiserfs snapshots).

Thanks
Ed Tomlinson

On Thursday 22 March 2001 16:56, you wrote:
> Hi,
>
> I had a vg called lv setup with two full disk in it (hde1 40G, hdeg 4G)
> In this there are four logical volumes:
>
> swap - striped on hde and hdg
> home_a - main disk
> home_b - mirroed with raid 1
> root - my reiserfs root file system.
>
> Once I finish moving root to lvm and was able to get reiserfs snapshots
> work I decided to add my old root partn to lvm.  So I did the following:
>
> cfdisk /dev/hda and changed the type of hda3 to 8e and wrote the block.
> pvcreate /dev/hda3
> vgextend /dev/hda3 lv
>
> now running vgscan gives me:
>
> oscar# vgscan
> vgscan -- reading all physical volumes (this may take a while...)
> vgscan -- found active volume group "lv"
> vgscan -- ERROR "vg_read_with_pv_and_lv(): allocated LE of LV" can't get
> data of volume group "lv" from physical volume(s) vgscan -- ERROR
> "vg_read_with_pv_and_lv(): allocated LE of LV" creating "/etc/lvmtab" and
> "/etc/lvmtab.d"
>
> I am using ac21 with the 090 debs off the sistima ftp site...
>
> How do I fix this????
>
> TIA
> Ed Tomlinson
>
> PS. all is not completly lost, my backup is still running... and I finially
> realized that just because ide-tape refuses to read my tapes using st and
> ide-scsi works... _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm

  reply	other threads:[~2001-03-23  2:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-22 21:56 [linux-lvm] vgscan ERROR Ed Tomlinson
2001-03-23  2:37 ` Ed Tomlinson [this message]
2001-03-23 17:36   ` David Vidal Rodriguez
  -- strict thread matches above, loose matches on Subject: below --
2001-04-19 20:52 [linux-lvm] vgscan error Johan Ur Riise

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=01032221371400.00732@oscar \
    --to=tomlins@cam.org \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).