Skip to contentSkip to conversation

rescue a lvm

linux-lvm Octavio 2 participants 5 messages Jun 23, 2010 – Jul 2, 2010

lore
Share & tools
lore

Octavio

author
#0 lore raw

Hi

I need your advice in the process to restore the data of a LV from a mess

I remove a PV from a GV on a umounted system and then I lost the whole group, now I just have the first HD and I want to read the data it has

Thanks

Octavio

author
#1 lore raw

Hello

I havent receive any answer yet but here is something else

I have the pv without change the the VG is lost
I have the backup of meta data in the PV so can I wondering to know if is safe to vgcfgrestore the file? or I could lost the data?

Thanks

Octavio

--- El mié, 6/23/10, Octavio <[email protected]> escribió:

De: Octavio <[email protected]>
Asunto: [linux-lvm] rescue a lvm
A: "LVM general discussion and development" <[email protected]>
Fecha: miércoles, 23 de junio de 2010, 12:10 pm

Hi

I need your advice in the process to restore the data of a LV from a mess

I remove a PV from a GV on a umounted system and then I lost the whole group, now I just have the first HD and I want to read the data it has

Thanks

Octavio


-----Adjunto en línea a continuación-----

_______________________________________________
linux-lvm mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

#2 lore raw

Hello Octavio,

Quoted 4 lines

I remove a PV from a GV on a umounted system and then I lost the whole group, now I just have the first HD and I want to read the data it has

I have the pv without change the the VG is lost
I have the backup of meta data in the PV so can I wondering to know if is safe to vgcfgrestore the file? or I could lost the data?

I'm not an expert of this area and not sure if you can rescue it or not, but the following document might be helpful to you.

Chapter 6. LVM Troubleshooting
http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5.5/html/Logical_Volume_Manager_Administration/troubleshooting.html

6.4. Recovering Physical Volume Metadata
http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5.5/html/Logical_Volume_Manager_Administration/mdatarecover.html

Thanks,
Taka

Signature · 2 lines
Takahiro Yasui
Hitachi Data Systems
author
#3 lore raw

Hello Taka
Thanks for reply and for the links, fortunately I already have recovery my info, Wha t I do was edit the backup of the metadata manually to remove the missing disk (it doesn't have any info) then I restore the backup and done, the disk starts OK and all the data was there

Octavio

--- El lun, 6/28/10, Takahiro Yasui <[email protected]> escribió:

De: Takahiro Yasui <[email protected]>
Asunto: Re: [linux-lvm] rescue a lvm
A: "LVM general discussion and development" <[email protected]>
Fecha: lunes, 28 de junio de 2010, 10:19 am

Hello Octavio,

Quoted 4 lines

I remove a PV from a GV on a umounted system and then I lost the whole group, now I just have the first HD and I want to read the data it has

I have the pv without change the the VG is lost
I have the backup of meta data in the PV so can I wondering to know if is safe to vgcfgrestore the file? or I could lost the data?

I'm not an expert of this area and not sure if you can rescue it or not, but the following document might be helpful to you.

Chapter 6. LVM Troubleshooting
http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5.5/html/Logical_Volume_Manager_Administration/troubleshooting.html

6.4. Recovering Physical Volume Metadata
http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5.5/html/Logical_Volume_Manager_Administration/mdatarecover.html

Thanks,
Taka

Signature · 8 lines
Takahiro Yasui
Hitachi Data Systems

_______________________________________________
linux-lvm mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
#4 lore raw

Octavio,

Quoted 1 line

Thanks for reply and for the links, fortunately I already have recovery my info, Wha t I do was edit the backup of the metadata manually to remove the missing disk (it doesn't have any info) then I restore the backup and done, the disk starts OK and all the data was there

That's the good news, and thank you for the explanation about the way how you recovered it.

Thanks,
Taka