linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Andreas Dilger <adilger@turbolabs.com>
To: Lars Kellogg-Stedman <thelars@yahoo.com>
Cc: linux-lvm@sistina.com
Subject: Re: [linux-lvm] Recovering a volume after OS upgrade (lost /etc/lvm*)
Date: Mon Nov 19 02:46:01 2001	[thread overview]
Message-ID: <20011119014754.A1308@lynx.no> (raw)
In-Reply-To: <20011119032207.97984.qmail@web12306.mail.yahoo.com>; from thelars@yahoo.com on Sun, Nov 18, 2001 at 07:22:07PM -0800

On Nov 18, 2001  19:22 -0800, Lars Kellogg-Stedman wrote:
> I just upgraded a system to RedHat 7.2 (+ XFS from SGI) (lvm-1.0.1RC4),
> and I'm trying to mount a LVM-based logical volume created using LVM
> 0.9mumble.  The volume group consisted of a single PV on opt of a
> software RAID5 device.
> 
> pvscan says:
> 
>   pvscan -- reading all physical volumes (this may take a while...)
>   pvscan -- WARNING: physical volume "/dev/sda" belongs to a meta
> device
>   pvscan -- inactive PV "/dev/md0"  is associated to an unknown VG (run
> vgscan)
>   pvscan -- total: 2 [8.48 GB] / in use: 2 [8.48 GB] / in no VG: 0 [0]
> 
> And pvdisplay says:
> 
>   --- Physical volume ---
>   PV Name               /dev/md0
>   VG Name               vg0
>   PV Size               8.48 GB / NOT usable 2.75 MB [LVM: 129.00 KB]
>   PV#                   1
>   PV Status             NOT available
>   Allocatable           yes (but full)
>   Cur LV                1
>   PE Size (KByte)       4096
>   Total PE              2169
>   Free PE               0
>   Allocated PE          2169
>   PV UUID               HHv1Tm-79Hx-uk4m-caqb-QUA5-8WGF-0yUe4Q
> 
> Which looks great.  But I can't for the life of me figure out how to
> turn this back into a valid volume group.  Vgscan doesn't pick up this
> device:
> 
>   vgscan -- reading all physical volumes (this may take a while...)
>   vgscan -- "/etc/lvmtab" and "/etc/lvmtab.d" successfully created
>   vgscan -- WARNING: This program does not do a VGDA backup of your
> volume group

You may need to re-create your MD RAID device /dev/md0.

Cheers, Andreas
--
Andreas Dilger
http://sourceforge.net/projects/ext2resize/
http://www-mddsp.enel.ucalgary.ca/People/adilger/

  parent reply	other threads:[~2001-11-19  2:46 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-18 21:20 [linux-lvm] Recovering a volume after OS upgrade (lost /etc/lvm*) Lars Kellogg-Stedman
2001-11-19  2:04 ` Luca Berra
2001-11-19  9:52   ` Lars Kellogg-Stedman
2001-11-19  2:46 ` Andreas Dilger [this message]
2001-11-19  9:56   ` Lars Kellogg-Stedman
2001-11-19 10:49     ` Andreas Dilger
2001-11-19 11:07       ` Chad C. Walstrom
2001-11-19 11:08       ` Lars Kellogg-Stedman
2001-11-19 17:23       ` Lars Kellogg-Stedman
2001-11-20  5:26       ` Heinz J . Mauelshagen
2001-11-20  8:09       ` Ed Tomlinson
2001-11-20 12:07         ` Andreas Dilger

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=20011119014754.A1308@lynx.no \
    --to=adilger@turbolabs.com \
    --cc=linux-lvm@sistina.com \
    --cc=thelars@yahoo.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).