All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patrick Caulfield <caulfield@sistina.com>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] vgcfgrestore ouput
Date: Mon Oct 21 03:12:01 2002	[thread overview]
Message-ID: <20021021081217.GB838@tykepenguin.com> (raw)
In-Reply-To: <1035187149.2789.5.camel@localhost.localdomain>

On Mon, Oct 21, 2002 at 02:59:09AM -0500, Austin Gonyou wrote:
> > 
> > It'll be fine :-) just
> > 
> > # pvcreate /dev/sdb
> > # pvcreate /dev/sdc
> > 
> > and then issue the vgcfgrestore commands you have above.
> 
> My only worry about this, is that the configuration I have, is from
> smaller disks. I don't know if that will screw my FS or not. :(

Ah, you mean the LVM metadata is not actually from the sdb/sdc as they really
were?

It's a bit dodgy. but if LVM can activate the VG (no guarantee unless you have
EXACTLY recreated the old metadata) then you should be able to mout the
filesystems readonly to see what is recoverable.

If you don't have the original LVM metadata anything you do is going to be
rather risky.

One thing you could do (if you know EXACTLY how your original LVs were created)
is to use the two smaller disk and pvcreate them with --size to fake the size of
them to be the same as the bigger disks. Then create your VGs and LVs as you
KNOW they were(!). Then vgcfgrestore /that/ metadata onto the bigger disks.

If you want interactive help on this join us on irc.openprojects.net #lvm

patrick

      reply	other threads:[~2002-10-21  3:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-20 20:20 [linux-lvm] vgcfgrestore ouput Austin Gonyou
2002-10-21  2:18 ` Patrick Caulfield
2002-10-21  2:59   ` Austin Gonyou
2002-10-21  3:12     ` Patrick Caulfield [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=20021021081217.GB838@tykepenguin.com \
    --to=caulfield@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.