All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jason P Holland <jholland@cs.selu.edu>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] Lost Disk, any way to recover data?
Date: Fri, 2 Apr 2004 12:19:28 -0600 (CST)	[thread overview]
Message-ID: <20040402121915.O43829@cs.selu.edu> (raw)
In-Reply-To: <001501c418de$9303c280$0400a8c0@vector>


Thanks a lot!  I'll give this a try and see what happens!

Jason

On Fri, 2 Apr 2004, Perplexer wrote:

> Hi. I think I had a similar problem myself a few days ago.
> Unfortunately there seemed to be noone willing to help me
> out so I tried various stuff myself. I'll try to help you with
> what worked for me.
>
> I couldn't mount my LV with one drive missing from the VG
> and I think there are two ways to solve this. One is to put in
> an idential drive to the one you lost, use pvcreate on it and
> restore the VGDA to it using vgcfgrestore. I myself didn't
> have a spare drive but I had a small unused partition on some
> other drive which I used instead. I used pvcreate on that
> partition and then used vgcfgrestore with the -i option which
> ignored the size mismatch between my partition and the previous
> drive that was in.
>
> I used:
>
> vgcfgrestore - vg1 -i -o /dev/hdc1 -v /dev/hdd1
>
> where hdc(1) was the old drive that died and hdd1
> was the 'fake' partition. After that I ran vgscan and
> activated the VG. That allowed me to mount the LV and
> backup the data off it. I later had to recreate the VG and
> LV but at least I saved the remaining data.
>
> I won't say that's the only or the best way to do it but
> that's all I've been able to figure out myself which worked
> and I guess it's the best suggestion you'll get around here.
>
> Good luck.
>
> ---------
> Perplexer
>
> ----- Original Message -----
> From: "Jason P Holland" <jholland@cs.selu.edu>
> To: <linux-lvm@redhat.com>
> Sent: Friday, April 02, 2004 7:43 PM
> Subject: [linux-lvm] Lost Disk, any way to recover data?
>
>
> >
> > Hello all,
> >
> > I just lost a disk in my lvm set, and was wondering if there is a way to
> > recover the data from the first disk.  I don't believe anything had been
> > written to an LE's on the second disk. Is there a way to mount the first
> > one and see if my data is still there?  Or is this a lost cause and I
> > should forget about it?  Thanks
> >
> > Jason
> > _______________________________________________
> > linux-lvm mailing list
> > linux-lvm@redhat.com
> > https://www.redhat.com/mailman/listinfo/linux-lvm
> > read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
> >
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
>

      reply	other threads:[~2004-04-02 18:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-02 17:43 [linux-lvm] Lost Disk, any way to recover data? Jason P Holland
2004-04-02 18:16 ` Perplexer
2004-04-02 18:19   ` Jason P Holland [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=20040402121915.O43829@cs.selu.edu \
    --to=jholland@cs.selu.edu \
    --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 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.