linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Dave Wysochanski <dwysocha@redhat.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] Restoring LVM configuration
Date: Mon, 26 Feb 2007 09:43:13 -0500	[thread overview]
Message-ID: <1172500994.4170.6.camel@linux-cxyg.rtp.netapp.com> (raw)
In-Reply-To: <200702201824.l1KIO73V001649@www-webmail1.magma.ca>

On Tue, 2007-02-20 at 13:24 -0500, Reid wrote:
> Hi,
> 
> Through a number of steps in an attempt to upgrade my server I ended up losing the
> lvm.conf configuration file and my backup of it.
> 
> Part of the problem occured when I moved the disks from one controller to another on my
> server.  For some reason the partition information was lost.  This was recovered without
> too many troubles leaving me with a boot (ext2) and lvm2 partitions on one drive and a
> lvm2 partition on the other.
> 
> I noticed on the LVM how-to that you might be able to recreate the configuration using
> pvcreate after looking at /etc/lvm/archive/VolumeGroupName_XXXXX.vg but I am unable to in
> this case because the root file system was part of the LVM itself.  (If I could mount it
> to find out the configuration then I wouldn't be having such a problem!)
> 
> Ideally I would like to be able to create a configuration using Knoppix so that I could
> mount the drives and write it onto them.  
> 
> The next best thing for me would be to find some way to get the files off of the drives
> and onto a spare drive (basically recreate my backup) without losing file names/directory
> structure.
> 

Are you still in need of help?

If so, do you know the details of your original setup that created the
LVM2 configuration (kernel version, lvm version, etc)?

I am working on a LVM command/enhancement that will read the LVM
information off the drives and allow recreation of the lvm
configuration.

Let me see if I can get something together for you to try recovery in
your situation.

      reply	other threads:[~2007-02-26 14:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-20 18:24 [linux-lvm] Restoring LVM configuration Reid
2007-02-26 14:43 ` Dave Wysochanski [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=1172500994.4170.6.camel@linux-cxyg.rtp.netapp.com \
    --to=dwysocha@redhat.com \
    --cc=linux-lvm@redhat.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).