linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] Restore LVM without UIDs
@ 2006-05-25 23:23 Sabin Dang
  2006-05-26  6:43 ` Dieter Stüken
  2006-06-01 11:18 ` [linux-lvm] " Thomas
  0 siblings, 2 replies; 3+ messages in thread
From: Sabin Dang @ 2006-05-25 23:23 UTC (permalink / raw)
  To: linux-lvm

Hi Everyone,

I assisted in restoring a server today that was connected to an  
external raid that used LVM. Unfortunately there was no backup of the  
LVM config files prior to reinstalling the operating system.

Is there any way to retrieve the data stored on the LVM without the  
old config files?

Thanks,
Sabin

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [linux-lvm] Restore LVM without UIDs
  2006-05-25 23:23 [linux-lvm] Restore LVM without UIDs Sabin Dang
@ 2006-05-26  6:43 ` Dieter Stüken
  2006-06-01 11:18 ` [linux-lvm] " Thomas
  1 sibling, 0 replies; 3+ messages in thread
From: Dieter Stüken @ 2006-05-26  6:43 UTC (permalink / raw)
  To: LVM general discussion and development

Sabin Dang wrote:
> Hi Everyone,
> 
> I assisted in restoring a server today that was connected to an  
> external raid that used LVM. Unfortunately there was no backup of the  
> LVM config files prior to reinstalling the operating system.
> 
> Is there any way to retrieve the data stored on the LVM without the  old 
> config files?

At least for LVM2, all meta data is stored on each PV/disk, too. Thus, until
you did not destroy your LVM header/metadata of your disk(s), the former
LVM should be recognized without any external config informations.
Else, you may have a problem. If you have overwritten the first part
of your previous PV, you may try to search the starting point(s) of former
LV(s), and if you are lucky, they have been allocated contiguously.
In this case you may have a good change to recover something.

Dieter. 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [linux-lvm] Re: Restore LVM without UIDs
  2006-05-25 23:23 [linux-lvm] Restore LVM without UIDs Sabin Dang
  2006-05-26  6:43 ` Dieter Stüken
@ 2006-06-01 11:18 ` Thomas
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas @ 2006-06-01 11:18 UTC (permalink / raw)
  To: linux-lvm

Last month I had same problem.
I used hexdump to get back the metadata file and use cfgrestore to cover.
Then mount back the lost LogVol00.

Just my two cents.
"Sabin Dang" <sdang@MIT.EDU> �b�l��
news:06F5C23A-EF8A-4DB1-898C-BCAF9AD9A9E3@mit.edu �����g...
> Hi Everyone,
>
> I assisted in restoring a server today that was connected to an
> external raid that used LVM. Unfortunately there was no backup of the
> LVM config files prior to reinstalling the operating system.
>
> Is there any way to retrieve the data stored on the LVM without the
> old config files?
>
> Thanks,
> Sabin
>
> _______________________________________________
> 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/
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-06-01 11:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-25 23:23 [linux-lvm] Restore LVM without UIDs Sabin Dang
2006-05-26  6:43 ` Dieter Stüken
2006-06-01 11:18 ` [linux-lvm] " Thomas

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).