From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx1.redhat.com (ext-mx11.extmail.prod.ext.phx2.redhat.com [10.5.110.16]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id p3RM3Vm2000791 for ; Wed, 27 Apr 2011 18:03:32 -0400 Received: from mail-yw0-f46.google.com (mail-yw0-f46.google.com [209.85.213.46]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p3RM3SvJ020425 for ; Wed, 27 Apr 2011 18:03:28 -0400 Received: by ywj3 with SMTP id 3so1057838ywj.33 for ; Wed, 27 Apr 2011 15:03:28 -0700 (PDT) MIME-Version: 1.0 Sender: cjstreeter@gmail.com In-Reply-To: <20110427095728.6317526d@bettercgi.com> References: <20110427095728.6317526d@bettercgi.com> From: Chris Streeter Date: Wed, 27 Apr 2011 15:02:58 -0700 Message-ID: Content-Type: multipart/alternative; boundary=001485f90c6447497304a1ed9c5e Subject: Re: [linux-lvm] Recovering Accidentally Destroyed LVM2 Information Reply-To: LVM general discussion and development List-Id: LVM general discussion and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , List-Id: To: LVM general discussion and development --001485f90c6447497304a1ed9c5e Content-Type: text/plain; charset=ISO-8859-1 Wow, thanks so much guys. I restored the config and then was able to run fsck.ext3 on the device. It took a while to run and had to fix a bunch of stuff, but it looks like my data is back. Very, very grateful. Cheers! - Chris On Wed, Apr 27, 2011 at 07:57, Ray Morris wrote: > vgcfgrestore -f /etc/lvm/archive/FILENAME VGNAME > > But see "man vgcfgrestore" > -- > Ray Morris > support@bettercgi.com > > Strongbox - The next generation in site security: > http://www.bettercgi.com/strongbox/ > > Throttlebox - Intelligent Bandwidth Control > http://www.bettercgi.com/throttlebox/ > > Strongbox / Throttlebox affiliate program: > http://www.bettercgi.com/affiliates/user/register.php > > > > > On Tue, 26 Apr 2011 20:58:25 -0700 > Chris Streeter wrote: > > > > What you *should* have done is restore the metadata to the point > > > before your errant command. You can still do that (if it is still > > > in the archive), but the several K of zeros written to the start of > > > the LV you created will require recovery. > > > > So I still have all the files in the archive of the form > > raid_vg_0000*.vg > > > > If have those files, how would I go about restoring the metadata to > > the device? If I were to loose several K of data, I'm totally fine > > with that. > > > > Thanks! > > > > _______________________________________________ > > 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/ > --001485f90c6447497304a1ed9c5e Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Wow, thanks so much guys. I restored the config and then was able to run fs= ck.ext3 on the device. It took a while to run and had to fix a bunch of stu= ff, but it looks like my data is back. Very, very grateful.

Cheers!

- Chris

On Wed, Apr 27, 2011 at 07:57, Ray Morris <support@bettercgi.com> wro= te:
vgcfgrestore -f /etc/lvm/archive/FILENAME V= GNAME

But see "man vgcfgrestore"
--
Ray Morris
support@bettercgi.com

Strongbox - The next generation in site security:
http://ww= w.bettercgi.com/strongbox/

Throttlebox - Intelligent Bandwidth Control
http://= www.bettercgi.com/throttlebox/

Strongbox / Throttlebox affiliate program:
http://www.bettercgi.com/affiliates/user/register.php




On Tue, 26 Apr 2011 20:58:25 -0700
Chris Streeter <chris@chrisst= reeter.com> wrote:

> > What you *should* have done is restore the metadata to the point<= br> > > before your errant command. =A0You can still do that (if it is st= ill
> > in the archive), but the several K of zeros written to the start = of
> > the LV you created will require recovery.
>
> So I still have all the files in the archive of the form
> raid_vg_0000*.vg
>
> If have those files, how would I go about restoring the metadata to > the device? If I were to loose several K of data, I'm totally fine=
> with that.
>
> Thanks!
>
> ________________________= _______________________
> 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/

--001485f90c6447497304a1ed9c5e--