linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Andreas Unterkircher <unki@netshadow.at>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] Re: undelete logical volume
Date: Tue, 13 Jun 2006 20:01:09 +0200	[thread overview]
Message-ID: <448EFD65.8090707@netshadow.at> (raw)
In-Reply-To: <e6mt4v$nlp$1@sea.gmane.org>

Thx for the hint. Also I found out that a metadata backup is created on
a every command in /etc/lvm/archives.
The lv has been recovered, but it looks like the first xxx bytes of the
lv have changed. Luks doesn't accept it
as luks partition anymore and so I can't mount the encrypted partition
anymore. Data lost.... Backup is always
a good idea...

Andreas

Thomas schrieb:
> Use RIP (R)ecovery (I)s (P)ossible! (v15.2)  to boot up.
> And use command hexdump /dev/hda1 to collect the old LVM config information.
> They are nearly 1200.
> Use the information to create a metadata file.
> Use cfgrestore to recover.
> Then mount back the lost LogVol00.
>
> Just my two cents.
> "Andreas Unterkircher" <unki@netshadow.at> �b�l��
> news:448EEF41.7000404@netshadow.at �����g...
>   
>> Hi,
>>
>> I made a big mistake and deleted a logical volume with some still needed
>>     
> data.
>   
>> It was the only active lv and no other write access happened on the
>>     
> physical
>   
>> disks till yet. Also I have no backup of lvm's metadata.
>>
>> Is there any way to recover the lost logical volume? (lvm2)
>>
>> Andreas
>>
>>
>> _______________________________________________
>> 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:[~2006-06-13 18:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-13 17:00 [linux-lvm] undelete logical volume Andreas Unterkircher
2006-06-13 17:37 ` [linux-lvm] " Thomas
2006-06-13 18:01   ` Andreas Unterkircher [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=448EFD65.8090707@netshadow.at \
    --to=unki@netshadow.at \
    --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).