[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [linux-lvm] How to recover data corrupted by vgcreate
- From: Jonathan E Brassow <jbrassow redhat com>
- To: LVM general discussion and development <linux-lvm redhat com>
- Subject: Re: [linux-lvm] How to recover data corrupted by vgcreate
- Date: Wed, 27 Jul 2005 11:33:05 -0500
I'm not familiar exactly with how the metadata gets laid on disk, but I would think you could just 'vgcreate vg_name /dev/hdd2' (you did this already) then 'lvcreate -n <lvname> -l <max size> vg_name'... This of course assumes that the previous lv resided wholly on /dev/hdd2. Then try mounting the new lv and see what happens.
brassow
On Jul 26, 2005, at 11:57 AM, 張廷州 wrote:
Hi,
I have a Linux PC with Fedora C3 installed.
The disk was partitioned automatically when Linux was installed.
So, LVM2 partition was created.
The CPU is damaged today and I move the disk to another Linux PC and try to read data out.
The disk is connected to device /dev/hdd. /dev/hdd2 is the LVM2 partition.
But, I do a stupid thing. I invoke vgcreate command on /dev/hdd2.
vgcreate vg_name /dev/hdd2
The partition seems to be lost.
How can I recover the data in /dev/hdd2?
It's very important data to me.
Thanks for any help.
Davis
_______________________________________________
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/
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]