[linux-lvm] restoring my lvm

Luca Berra bluca at comedia.it
Sun Apr 23 04:44:55 UTC 2006


On Sat, Apr 22, 2006 at 06:40:36PM +0100, Jannetta S Steyn wrote:
>Hi Luca
>
>> On Sat, Apr 22, 2006 at 12:06:55AM +0100, Jannetta S Steyn wrote:
>>>My problem was that the new system (also FC4 and also a vanilla install)
>>>already had VolGroup00. I then did a 'vgcreate VolGroup01 /dev/hdb2'. I
>> vgcreate = msdos format
>> you just wiped your disk
>
>It didn't take very long and didn't give any warnings, so I thought it
>just wrote the volume name to somewhere on the disk.

unfortunately it also wipes out informations about logical volumes into
the vg. data is not damaged, only you don't know where it is.
and since the VG backups were on one of the inaccessible logical volume
you cannot use those for recovery.

...

>I have downloaded testdisk and this is what I get:
>
>TestDisk 6.3, Data Recovery Utility, March 2006
>Christophe GRENIER <grenier at cgsecurity.org>
>http://www.cgsecurity.org
>
>Disk /dev/hdb - 3249 MB / 3098 MiB - CHS 6296 16 63
>     Partition               Start        End    Size in sectors
>* Linux                    0   1  1   202  15 63     204561 [/boot]
>D Linux                  203   0  1  5645  15 63    5486544 [/]
>D Linux LVM              203   0  1  6295  15 63    6141744
>D Linux                  229   0  1  5560  15 63    5374656
>D Linux                  265   0  1  5596  15 63    5374656
>

try with each of the linux partitions found and see if you can mount it
and get your data back.

L.

-- 
Luca Berra -- bluca at comedia.it
        Communication Media & Services S.r.l.
 /"\
 \ /     ASCII RIBBON CAMPAIGN
  X        AGAINST HTML MAIL
 / \




More information about the linux-lvm mailing list