On Wed, Jul 27, 2005 at 11:33:05AM -0500, Jonathan E Brassow wrote: > 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. Before you do that, try vgcfgrestore. > 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/ > > > _______________________________________________ > 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/ -- AJ Lewis Voice: 612-638-0500 Red Hat E-Mail: alewis@redhat.com One Main Street SE, Suite 209 Minneapolis, MN 55414 Current GPG fingerprint = D9F8 EDCE 4242 855F A03D 9B63 F50C 54A8 578C 8715 Grab the key at: http://people.redhat.com/alewis/gpg.html or one of the many keyservers out there...
Attachment:
pgpH0YInlj7wA.pgp
Description: PGP signature
_______________________________________________ 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/